/* ============================================
   FONTS
   ============================================ */
@font-face {
    font-family: 'Libre Baskerville';
    src: url('Libre_Baskerville copy/LibreBaskerville-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Libre Baskerville';
    src: url('Libre_Baskerville copy/LibreBaskerville-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Libre Baskerville';
    src: url('Libre_Baskerville copy/LibreBaskerville-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
}

/* ============================================
   CSS VARIABLES (Kumara's Color Scheme)
   ============================================ */
:root {
    --gold-color: #BEB09E;
    --primary-color: #4A4A4A;
    /* Sophisticated Gray */
    --cream-bg: #F9F8F4;
    --dark-color: #000;
    --white: #fff;

    --font-heading: 'Libre Baskerville', serif;
    --font-body: 'Libre Baskerville', serif;

    --section-padding: 96px;
}

@media (max-width: 768px) {
    :root {
        --section-padding: 64px;
    }

    .container {
        padding: 0 20px !important;
    }
}

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

html,
body {
    overflow-x: hidden;
    width: 100%;
}

html {
    scroll-behavior: smooth;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 1.2s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

body {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.6;
    color: var(--dark-color);
    background: var(--white);
}

/* Text Animation on Load */
h1,
h2,
h3,
h4,
h5,
h6,
p,
.bento-text,
.faq-question,
.faq-answer {
    opacity: 0;
    animation: fadeInUp 1.2s cubic-bezier(0.165, 0.84, 0.44, 1) both;
}



h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 400;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

h1 {
    font-size: 50px;
}

h2 {
    font-size: 40px;
}

h3 {
    font-size: 32px;
}

h4 {
    font-size: 28px;
}

h5 {
    font-size: 22px;
}

h6 {
    font-size: 20px;
}

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

    h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 24px;
    }
}

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    padding: 35px 0;
    transition: background 0.8s ease, box-shadow 0.8s ease, padding 0.5s ease, transform 0.5s ease;
}

.header.header-hidden {
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
    /* Don't slide away */
}

.header.header-hidden .nav {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Force visibility when menu is active */
.header.menu-active {
    transform: translateY(0) !important;
    background: var(--dark-color) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.header.menu-active .nav {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

.mobile-menu-toggle {
    pointer-events: auto !important;
    /* Always clickable */
}

/* Reveal on hover */
.header.header-hidden:hover {
    background: var(--white) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

.header.header-hidden:hover .nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.header.header-hidden:hover .logo-light {
    opacity: 0;
}

.header.header-hidden:hover .logo-dark {
    opacity: 1;
}

.header.scrolled {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 35px 0;
}

.header .container {
    max-width: 100%;
    padding: 0 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 50px;
    gap: 30px;
    /* Space between logo, nav, and toggle */
}

.logo {
    display: flex;
    align-items: center;
    position: relative;
    height: 40px;
    z-index: 10001;
    /* Ensure above nav overlay */
}

.logo-img {
    max-width: 120px;
    height: auto;
    transition: opacity 0.3s ease;
}

.logo-dark {
    position: absolute;
    top: 50%;
    left: -60px;
    /* Updated to -60px as requested */
    transform: translateY(-43%) scale(2.18);
    /* Nudged down (from -44%) and increased size (from 2.12) */
    opacity: 0;
    transform-origin: left center;
}

.header.scrolled .logo-light {
    opacity: 0;
}

.header.scrolled .logo-dark {
    opacity: 1;
}

/* Force light logo when mobile menu is active */
.header.menu-active .logo-light {
    opacity: 1 !important;
}

.header.menu-active .logo-dark {
    opacity: 0 !important;
}

.nav {
    display: flex;
    gap: 25px;
    /* Slightly tighter gap */
    align-items: center;
    margin-left: auto;
    /* Push to right */
}

.nav a {
    color: var(--white);
    text-decoration: none;
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 15px 10px;
    transition: color 0.3s ease;
    position: relative;
}

.header.scrolled .nav a {
    color: var(--dark-color);
}

.header.menu-active .nav a {
    color: var(--white) !important;
}

.nav a:after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--white);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    z-index: 1100;
}

.header.menu-active .nav a:after {
    bottom: -12px !important;
    background: var(--white) !important;
}

.header.scrolled .nav a:after {
    background: var(--dark-color);
}

.nav a:hover:after,
.nav a.active:after,
.nav-item-dropdown:hover>a:after {
    transform: scaleX(1);
}

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

.dropdown-menu {
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--white);
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 15px 0;
    z-index: 1000;
    pointer-events: none;
    /* Prevent blocking other links when hidden */
}

/* Bridge to prevent hover loss */
.dropdown-menu:after {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 20px;
    background: transparent;
}

.header.menu-active .dropdown-menu {
    background: rgba(0, 0, 0, 0.9);
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
    /* Enable interaction when visible */
}

.dropdown-menu a {
    display: block !important;
    padding: 12px 25px !important;
    color: var(--dark-color) !important;
    text-transform: uppercase;
    font-size: 12.5px !important;
    letter-spacing: 1.5px;
    text-align: center !important;
    transition: all 0.3s ease !important;
    margin: 0 !important;
}

.header.menu-active .dropdown-menu a {
    color: var(--white) !important;
}

.dropdown-menu a:hover {
    background: var(--cream-bg);
    color: var(--dark-color) !important;
}

.header.menu-active .dropdown-menu a:hover {
    background: var(--white);
    color: var(--dark-color) !important;
}

.dropdown-menu a:after {
    display: none !important;
}

/* Mobile Dropdown */
@media (max-width: 1024px) {
    .nav-item-dropdown {
        text-align: right;
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: transparent !important;
        box-shadow: none;
        padding: 10px 0 0 0;
        margin: 0;
        display: block;
        /* Show all options in mobile menu for simplicity */
        border: none;
    }

    .nav.active .dropdown-menu a {
        text-align: center !important;
        padding: 8px 0 !important;
        font-size: 12.5px !important;
        opacity: 0.8 !important;
        transform: none !important;
        animation: none !important;
    }

    .nav.active .dropdown-menu a:hover {
        padding-left: 0 !important;
        opacity: 1 !important;
        background: transparent !important;
        color: var(--white) !important;
    }

    .nav a:after {
        bottom: -12px !important;
        display: block !important;
    }


}



/* Communities Dropdown Mobile Fix */


/* Global Active Nav Styles (Overlay) */
@keyframes menuReveal {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Global Active Nav Styles (Overlay) */
.nav.active {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #000;
    display: flex !important;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    padding-right: 60px;
    gap: 35px;
    z-index: 10000 !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    margin: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* ... (skipping unchanged parts) ... */

.bio-text {
    font-size: 10px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0.5px;
    line-height: 1.6;
    color: var(--dark-color);
    opacity: 0.8;
    display: block;
    max-width: 550px;
    /* Wider margins */
    margin: 0 auto;
}

/* ... (skipping unchanged parts) ... */

.bio-text {
    font-size: 11px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 1px;
    /* Wider spacing */
    line-height: 1.8;
    /* More breathing room */
    color: var(--dark-color);
    opacity: 0.8;
    display: block;
    max-width: 700px;
    /* Balanced width */
    margin: 0 auto;
}

/* Target only top-level links and the dropdown toggle for the entrance animation */
.nav.active>a,
.nav.active>.nav-item-dropdown>a {
    font-size: 12.5px !important;
    letter-spacing: 2px;
    color: var(--white) !important;
    text-align: right;
    opacity: 0;
    transform: translate(0, 0);
    padding: 0;
    animation: menuReveal 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* Ensure dropdown links are NOT affected by the entrance animation */
.nav.active .dropdown-menu a {
    animation: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}





/* Individual offsets to simulate starting from horizontal header positions */
/* Item 1 */
.nav.active>a:nth-child(1) {
    --start-x: -400px;
    --start-y: -200px;
    animation-delay: 0s;
}

/* Item 2 */
.nav.active>a:nth-child(2) {
    --start-x: -300px;
    --start-y: -250px;
    animation-delay: 0.05s;
}

/* Item 3 (The Dropdown Container) */
.nav.active>.nav-item-dropdown:nth-child(3)>a {
    --start-x: -200px;
    --start-y: -300px;
    animation-delay: 0.1s;
}

/* Item 4 */
.nav.active>a:nth-child(4) {
    --start-x: -100px;
    --start-y: -350px;
    animation-delay: 0.15s;
}

/* Item 5 */
.nav.active>a:nth-child(5) {
    --start-x: -50px;
    --start-y: -400px;
    animation-delay: 0.2s;
}

@media (max-width: 1024px) {
    .nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #000;
        display: none !important;
        /* Hide by default on mobile */
        flex-direction: column;
        align-items: flex-end;
        justify-content: center;
        padding-right: 60px;
        gap: 35px;
        z-index: 10000 !important;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.5s ease, visibility 0.5s ease;
        margin: 0;
        pointer-events: none;
    }

    .nav.active {
        display: flex !important;
        /* Show when active */
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav a {
        opacity: 0;
    }





}



/* ============================================
   HERO VIDEO SECTION
   ============================================ */
.hero-video {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}



.hero-video-content {
    position: relative;
    z-index: 3;
    color: var(--white);
    max-width: 420px;
    padding: 50px;
    padding-bottom: 50px;
    margin: 0 0 0 149px;
}

.hero-video-content h1 {
    margin-bottom: 25px;
    line-height: 1.2;
}

.hero-video-content p {
    margin-bottom: 25px;
    font-size: 18px;
    line-height: 1.6;
}

.desktop-video {
    display: block !important;
}

.mobile-video {
    display: none !important;
}

@media (max-width: 768px) {
    .desktop-video {
        display: none !important;
    }

    .mobile-video {
        display: block !important;
    }
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

@media (max-width: 900px) {
    .hero-video-content {
        margin: 0;
        max-width: 100%;
        padding: 30px 25px;
        margin-top: 375px;
        /* Restored to original value */
    }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 12px 20px;
    font-family: var(--font-heading);
    font-size: 14px;
    letter-spacing: 0;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    border: 1px solid;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 400;
}

.btn-hero {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-hero:hover {
    background: var(--white);
    color: var(--dark-color);
}

.btn-outline {
    background: transparent;
    color: var(--dark-color);
    border-color: var(--dark-color);
}

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

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

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

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: var(--section-padding) 0;
}

.section-cream {
    background: var(--cream-bg);
}

.section-dark {
    background: var(--dark-color);
    color: var(--white);
}

.section-gold {
    background: var(--gold-color);
    color: var(--white);
}

.container {
    max-width: 1348px;
    margin: 0 auto;
    padding: 0 50px;
}

.container-full {
    max-width: 92%;
    /* Slightly reduced to give room for hover expansion */
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 25px;
    }
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

/* ============================================
   SPLIT SECTION (Image + Text)
   ============================================ */
.split-section {
    display: flex;
    align-items: stretch;
    min-height: 600px;
}

.split-section.reverse {
    flex-direction: row-reverse;
}

.split-image {
    flex: 60%;
    position: relative;
    overflow: hidden;
}

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

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

.split-content {
    flex: 40%;
    background: var(--cream-bg);
    padding: 69px;
    display: flex;
    align-items: center;
}

.split-content-inner {
    max-width: 100%;
}

.split-content h2 {
    margin-bottom: 16px;
}

.split-content p {
    margin-bottom: 24px;
    line-height: 1.8;
}

@media (max-width: 992px) {
    .split-section {
        flex-direction: column;
    }

    .split-section.reverse {
        flex-direction: column;
    }

    .split-image,
    .split-content {
        flex: 100%;
    }

    .split-content {
        padding: 40px 25px;
    }
}

/* ============================================
   TEXT BLOCK (Centered Content)
   ============================================ */
.text-block-center {
    max-width: 100%;
    /* Allow full width for contained elements */
    margin: 0 auto;
    text-align: center;
}

.text-block-center h2 {
    margin-bottom: 1.5rem;
}

.text-block-center p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: 4px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: 700;
}

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

/* ============================================
   FOOTER
   ============================================ */
/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 30px 0 30px;
    font-size: 14px;
}

.footer-top {
    margin-bottom: 10px;
}

.footer-logo {
    max-width: 1348px;
    margin: 0 auto;
    padding: 0 50px 0 53px;
}

.footer-logo img {
    height: 180px;
    width: auto;
    margin-bottom: 0px;
    margin-left: -90px;
}

.footer-certifications {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-top: 30px;
    margin-left: -15px;
}

.footer-certifications img {
    height: 85px;
    width: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-certifications img:last-child {
    height: 50px;
    margin-top: -2px;
}

.footer-certifications img:hover {
    opacity: 1;
}

.footer-main {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 30px;
}

.footer-title {
    font-size: 16px;
    margin-bottom: 25px;
    color: var(--white);
    letter-spacing: 2px;
}

.footer-contact p {
    margin-bottom: 10px;
    opacity: 0.8;
}

.footer-contact a {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-contact a:hover {
    opacity: 0.8;
}

.footer-nav {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 12px;
}

.footer-nav a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.footer-nav a:hover {
    opacity: 1;
    color: var(--white);
    padding-left: 5px;
}

.footer-socials {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.footer-socials a:hover {
    background: var(--white);
    border-color: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.footer-socials img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.footer-socials a:hover img {
    filter: brightness(0);
}

.footer-disclaimer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    margin-bottom: 25px;
    opacity: 0.9;
    line-height: 1.8;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.footer-disclaimer img {
    height: 90px;
    width: auto;
    opacity: 0.9;
    margin-top: -14px;
}

.footer-disclaimer a,
.footer-disclaimer a[href^="tel"] {
    color: var(--white) !important;
    text-decoration: none !important;
}

.footer-disclaimer p {
    margin-bottom: 15px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0.5;
    font-size: 12px;
    letter-spacing: 1px;
}

.footer-copyright a {
    color: inherit;
    text-decoration: none;
}

.footer-copyright a:hover {
    text-decoration: underline;
}

@media (max-width: 992px) {
    .footer-main {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

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

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 2rem;
}

/* ============================================
   SERVICES PARALLAX SECTION
   ============================================ */
.services-parallax {
    position: relative;
    background-image: url('Luci Real Estate Website Photos copy/modern-loft-interior.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 600px;
    width: 100%;
    overflow: hidden;
}

.services-container {
    display: flex;
    height: 100%;
    width: 100%;
}

.service-box {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--white);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.service-box:last-child {
    border-right: none;
}

.service-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Dimmed more */
    transition: all 0.3s ease;
    z-index: -1;
}

.service-box:hover::before {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.4);
}

.service-content {
    text-align: center;
    padding: 20px;
}

.service-content h3 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 20px;
    /* Smaller to prevent stacking */
    white-space: nowrap;
    /* Force one line */
    margin: 0;
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.service-box:hover .service-content h3 {
    transform: translateY(-20px);
}

@media (max-width: 768px) {
    .services-parallax {
        height: auto;
        background-attachment: scroll !important;
        background-position: center !important;
        background-size: cover !important;
        /* Parallax disabled for mobile to ensure image quality */
    }

    .services-container {
        flex-direction: column;
    }

    .service-box {
        height: 300px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
}


/* ============================================
   SPLIT LOGO SECTION
   ============================================ */
.split-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-bottom: 20px;
}

.split-logo-left {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.split-logo-right {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.split-logo-right h2 {
    font-size: 42px;
    margin: 0;
    text-align: left;
    line-height: 1.3;
}

.split-logo-divider {
    width: 1px;
    height: 60px;
    background-color: var(--dark-color);
    opacity: 0.3;
}

.gray-fox-logo {
    max-width: 200px;
    height: auto;
}

.consecutive-years {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.7;
}

.bio-text {
    font-size: 10px;
    /* Base size */
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0.5px;
    line-height: 1.6;
    color: var(--dark-color);
    opacity: 0.8;
    display: block;
    max-width: 1000px;
    /* Wider to fit in 2 lines */
    margin: 0 auto;
    transform: scale(0.7);
    /* Even smaller */
    transform-origin: center top;
}

.bio-container {
    max-width: 1200px;
}

.intro-section {
    padding-bottom: 80px;
    /* More space below */
}

@media (max-width: 768px) {

    /* Hero Video Resize - Reverted to fill screen for new mobile video */
    .hero-video {
        height: 100vh;
        min-height: 600px;
        display: flex;
    }

    .hero-video-bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .split-logo-container {
        flex-direction: row;
        /* Keep in a row on mobile */
        gap: 15px;
        /* Tighter gap for mobile */
        justify-content: center;
        align-items: center;
    }

    .split-logo-divider {
        width: 1px;
        /* Vertical line */
        height: 40px;
        /* Shorter for mobile */
    }

    .gray-fox-logo {
        max-width: 120px;
        /* Smaller logo for mobile row */
    }

    .split-logo-right h2 {
        font-size: 20px;
        /* Smaller text for mobile row */
        white-space: normal;
    }
}

/* ============================================
   BIO BOX SECTION
   ============================================ */
.bio-box {
    width: calc(100% - 100px);
    /* Approx 1 inch margin on each side (50px) */
    margin: -140px auto 0;
    /* Negative top margin to move it up closer */
    background-color: var(--cream-bg);
    display: flex;
    align-items: stretch;
    min-height: 600px;
}

.bio-box-image {
    flex: 1.5;
    /* Make image wider (approx 60%) */
    position: relative;
    overflow: hidden;
    cursor: pointer;
    /* Indicate interactivity */
    /* Add padding to create a frame effect */
    padding: 40px;
}

.bio-box-image img {
    /* Adjust size to fit within padding */
    width: calc(100% - 80px);
    height: calc(100% - 80px);
    object-fit: cover;
    transition: opacity 0.8s ease, transform 0.8s ease;
    /* Longer transition */
    position: absolute;
    top: 40px;
    left: 40px;
    /* Removed border, kept shadow for depth */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.bio-img-main {
    opacity: 1;
    z-index: 2;
}

.bio-img-hover {
    opacity: 0;
    z-index: 1;
}

/* Change hover selector to .bio-box-image:hover instead of .bio-box:hover */
.bio-box-image:hover .bio-img-main {
    opacity: 0;
}

.bio-box-image:hover .bio-img-hover {
    opacity: 1;
    transform: scale(1.03);
}

.bio-box-content {
    flex: 1;
    /* Make content narrower (approx 40%) */
    padding: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bio-box-content h2 {
    margin-bottom: 30px;
}

.bio-box-content p {
    font-size: 14px;
    line-height: 1.8;
}

@media (max-width: 900px) {
    .bio-box {
        flex-direction: column;
        width: calc(100% - 40px);
    }

    .bio-box-image {
        min-height: 400px;
    }

    .bio-box-content {
        padding: 40px;
    }
}

/* ============================================
   REVIEWS WIDGET
   ============================================ */
.reviews-widget-container {
    max-width: 96%;
    /* Narrower to prevent edge cutoff */
    margin: -70px auto 0;
    position: relative;
    padding: 0 30px 50px;
    /* More horizontal padding for arrows */
    overflow: visible;
    /* Allow arrows to show */
}

/* White overlay to cover branding */
.reviews-widget-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 150px;
    /* Pull in from left to clear logo */
    right: 150px;
    /* Pull in from right for symmetry */
    height: 60px;
    /* Height of the branding bar approx */
    background: var(--white);
    z-index: 999;
    /* Lowered slightly to stay behind header */
    pointer-events: none;
    /* Allow clicks to pass through if needed, though branding is usually clickable */
}

/* Attempt to hide Elfsight branding (Note: Third-party widgets often force this, but we can try) */
.elfsight-app-ca74796d-1535-4ab0-8ce6-6619946087a2>a[href*="elfsight.com"],
.elfsight-app-ca74796d-1535-4ab0-8ce6-6619946087a2 a[href*="elfsight.com"],
div[class*="eapps-widget-toolbar"],
a[href*="elfsight.com"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    height: 0 !important;
    width: 0 !important;
    position: absolute !important;
    z-index: -9999 !important;
}

/* ============================================
   FEATURED TESTIMONIAL
   ============================================ */
.featured-testimonial {
    max-width: 1100px;
    /* Extended width to aim for 5 lines */
    margin: 20px auto 0;
    /* Moved closer to widget */
    text-align: center;
}

.testimonial-quote {
    font-size: 16px;
    /* Made smaller */
    font-style: normal;
    /* Removed italic */
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--dark-color);
    text-transform: uppercase;
    /* Added uppercase */
    letter-spacing: 2px;
}

.testimonial-author {
    font-size: 14px;
    /* Made larger */
    font-weight: 400;
    opacity: 0.5;
    /* Lighter color */
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dark-color);
}

/* ============================================
   PROVEN RESULTS SECTION
   ============================================ */
.proven-results {
    padding: 100px 0;
    background-color: var(--white);
}

.split-layout {
    display: flex;
    gap: 80px;
    align-items: center;
}

.split-left {
    flex: 1.2;
    padding-left: 160px;
    /* Shift stats a lot more to the right */
}

.split-right {
    flex: 1;
}

.section-header-center {
    text-align: center;
    margin-bottom: 80px;
}

.section-header-center h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    /* Smaller font size */
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    /* Tighter letter spacing */
    font-weight: normal;
}

.bold-title {
    font-weight: normal !important;
    /* Remove bold */
}

.section-subtitle {
    font-family: var(--font-heading);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: block;
}

.header-line-subtle {
    width: 95vw;
    /* Increased to 95% of viewport width */
    max-width: none;
    height: 1px;
    background: var(--dark-color);
    opacity: 0.2;

    /* Center relative to viewport */
    margin-top: 30px;
    margin-bottom: 40px;
    margin-left: calc(50% - 47.5vw);
    /* Adjusted for 95vw */
    margin-right: calc(50% - 47.5vw);

    position: relative;
    left: auto;
    transform: none;
}

.stats-list {
    display: flex;
    flex-direction: column;
    gap: 50px;
    /* Increased space between items */
}

.stat-item {
    display: flex;
    flex-direction: column;
    /* Stacked */
    align-items: flex-start;
    /* Left-aligned */
    gap: 5px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 52px;
    /* Slightly smaller numbers */
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    /* Slightly smaller label */
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
    line-height: 1.4;
}

.results-images-container {
    position: relative;
    height: 500px;
    width: 100%;
}

.results-img-box {
    position: absolute;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

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

.img-box-1 {
    width: 100%;
    height: 480px;
    top: 50%;
    right: -40px;
    /* Moved left from -120px */
    transform: translateY(-50%);
    z-index: 1;
    /* Larger one on bottom */
}

.img-box-1 img {
    filter: brightness(0.85);
    /* Dimmed slightly */
}

.img-box-2 {
    width: 65%;
    height: 280px;
    /* Decreased height slightly */
    top: 50%;
    left: -80px;
    /* Reverted position */
    transform: translateY(-50%);
    z-index: 2;
}

/* Removed Hover Effects */

/* ============================================
   RECENT SALES CAROUSEL (Kamara Style)
   ============================================ */
.recent-sales-section {
    padding-top: 60px;
    /* Condensed */
    padding-bottom: 60px;
    /* Condensed */
    overflow: hidden;
}

.recent-sales-header {
    margin-bottom: 30px;
}

.header-line-subtle {
    width: 800px;
    max-width: 90%;
    height: 1px;
    background: var(--dark-color);
    margin: 15px auto 0;
    opacity: 0.2;
}

.carousel-container {
    width: 100%;
    height: 500px;
    /* Slightly condensed */
    position: relative;
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform;
}

.carousel-track.no-transition {
    transition: none !important;
}

.carousel-item {
    flex: 0 0 65%;
    height: 100%;
    position: relative;
    margin: 0 15px;
    opacity: 1;
    transform: scale(0.95);
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 2px;
    overflow: hidden;
}

.carousel-track.no-transition .carousel-item {
    transition: none !important;
}

.carousel-item.active {
    transform: scale(1);
}

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

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

.carousel-content {
    position: absolute;
    bottom: 50px;
    left: 50px;
    z-index: 3;
    color: var(--white);
    text-align: left;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease 0.2s, transform 0.5s ease 0.2s;
}

.carousel-track.no-transition .carousel-item .carousel-content {
    transition: none !important;
}

.carousel-item.active .carousel-content {
    opacity: 1;
    transform: translateY(0);
}

.carousel-content h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    margin-bottom: 2px;
    /* Condensed */
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--white);
}

.carousel-content .sale-location {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 8px;
    /* Condensed */
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--white);
}

.sale-specs {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    /* Gap before price */
    font-size: 12px;
    letter-spacing: 1.5px;
    opacity: 0.9;
    color: var(--white);
}

.sale-specs span {
    position: relative;
}

.sale-specs span:not(:last-child)::after {
    content: '|';
    position: absolute;
    right: -10px;
    opacity: 0.4;
}

.carousel-content .sale-price {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1px;
}

/* Controls */
.carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 4;
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    pointer-events: none;
}

.carousel-prev,
.carousel-next {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: var(--white);
    color: var(--dark-color);
}

@media (max-width: 768px) {
    .carousel-container {
        height: 400px;
    }

    .carousel-item {
        flex: 0 0 85%;
    }

    .carousel-content {
        bottom: 20px;
        left: 20px;
    }
}

@media (max-width: 992px) {
    .split-layout {
        flex-direction: column;
        gap: 60px;
    }

    .split-left {
        padding-left: 0;
    }

    .results-images-container {
        height: 450px;
    }

    .section-header-center h2 {
        font-size: 32px;
        font-weight: 700 !important;
    }

    .stats-list {
        align-items: center;
    }

    .stat-item {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }

    .stat-number {
        min-width: auto;
    }
}

@media (max-width: 576px) {
    .stat-number {
        font-size: 32px;
    }
}

/* ============================================
   EXPLORE COMMUNITIES SECTION
   ============================================ */
.explore-communities-section {
    padding-top: 80px;
    padding-bottom: 0;
    /* Grid touches footer or next section */
}

.community-description {
    font-size: 12px !important;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0;
    margin-bottom: 0;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.recent-blogs-section .community-description {
    max-width: 1100px;
}

.communities-grid {
    display: flex;
    width: 100%;
    height: 600px;
}

.community-box {
    flex: 1;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: var(--white);
    display: flex;
    align-items: flex-end;
    /* Text at bottom */
    justify-content: center;
}

.community-box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1;
}

.community-box:nth-child(1) img {
    object-position: 60% center;
}

.community-box:nth-child(2) img {
    object-position: 30% center;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.community-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 25%);
    transition: all 0.6s ease;
    z-index: 2;
}

.community-content {
    position: relative;
    z-index: 3;
    padding: 20px;
    /* Reduced padding to give text more room */
    text-align: center;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.community-content h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    /* Adjusted to ensure "Downtown Nashville" fits on one line */
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    margin: 0;
    white-space: normal;
}

/* Hover Effects */
.community-box:hover img {
    transform: scale(1.05);
}

.community-box:hover .community-overlay {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 30%);
}

.community-box:hover .community-content {
    transform: translateY(-20px);
}

/* Responsive */
@media (max-width: 768px) {
    .communities-grid {
        flex-direction: column;
        height: auto;
    }

    .community-box {
        height: 400px;
    }
}

/* ============================================
   RECENT BLOGS SECTION
   ============================================ */
.recent-blogs-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.blogs-header {
    margin-bottom: 50px;
}

.section-subtitle-large {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    color: var(--dark-color);
    opacity: 0.6;
    margin-top: 15px;
    margin-bottom: 20px;
    /* Increased spacing */
}

.blog-description {
    font-size: 14px;
    opacity: 0.7;
    letter-spacing: 0.5px;
    line-height: 1.6;
    max-width: 100%;
    margin: 0 auto 30px;
    /* Increased bottom margin */
    white-space: normal;
}

.blog-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.blog-carousel-container {
    overflow: hidden;
    width: 100%;
    padding: 20px 0;
    margin: -20px 0;
}

.blogs-grid {
    display: flex;
    gap: 30px;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: 100%;
}

.blogs-grid .blog-card {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 300px;
}

.blog-carousel-btn {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.blog-carousel-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.blog-carousel-btn svg {
    width: 24px;
    height: 24px;
}

.blog-carousel-btn.prev {
    margin-right: -10px;
}

.blog-carousel-btn.next {
    margin-left: -10px;
}

.blog-card {
    background: var(--white);
    border-radius: 2px;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

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

.blog-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.blog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.blog-card:hover .blog-overlay {
    opacity: 1;
}

.blog-content {
    padding: 30px;
}

.blog-date {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--dark-color);
    opacity: 0.5;
    font-weight: 600;
}

.blog-content h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    margin: 15px 0 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dark-color);
    line-height: 1.4;
    transition: color 0.3s ease;
}

.blog-card:hover .blog-content h3 {
    color: var(--primary-color);
}

.blog-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: var(--dark-color);
    opacity: 0.7;
    margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .blogs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .blogs-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .blog-image {
        height: 220px;
    }

    .blog-content {
        padding: 25px;
    }

    .blog-content h3 {
        font-size: 18px;
    }
}

/* ============================================
   WORK WITH LUCI PARALLAX
   ============================================ */
.work-with-luci-parallax {
    position: relative;
    background-image: url('Luci Real Estate Website Photos copy/work-with-luci.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 800px;
    display: flex;
    align-items: stretch;
    justify-content: center;
    color: var(--white);
    padding: 120px 0;
}

.work-with-luci-parallax::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.work-with-luci-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: auto;
    min-height: 560px;
    text-align: center;
    width: 100%;
}

.work-with-luci-top h2 {
    font-size: 50px;
    margin-bottom: 20px;
    letter-spacing: 5px;
    color: var(--white);
}

.work-with-luci-subtitle {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 3px;
    opacity: 0.9;
    color: var(--white);
}

.work-with-luci-bottom {
    max-width: 1100px;
    margin: 0 auto;
    margin-top: auto;
}

.work-with-luci-text {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 40px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    color: var(--white);
}

.btn-contact-animate {
    border: 2px solid var(--white);
    background: transparent;
    color: var(--white);
    padding: 15px 40px;
    font-size: 14px;
    letter-spacing: 2px;
    transition: all 0.4s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-contact-animate:hover {
    background: var(--white);
    color: var(--dark-color);
}

@media (max-width: 768px) {
    .work-with-luci-parallax {
        background-attachment: scroll !important;
        background-position: center !important;
        background-size: cover !important;
        min-height: auto;
        padding: 80px 0;
    }

    .work-with-luci-container {
        min-height: auto;
        gap: 60px;
    }

    .work-with-luci-top h2 {
        font-size: 36px;
    }
}

/* ============================================
   LISTING PAGE STYLES
   ============================================ */

/* Hero Section */
.listing-hero-new {
    position: relative;
    min-height: 100vh;
    background-image: url('Luci Real Estate Website Photos copy/listing-hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 100px;
    /* Nudge text up slightly */
}

.listing-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

.listing-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 1000px;
    /* Increased to keep title on one line */
}

.listing-hero-content h1 {
    font-size: 70px;
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
    font-weight: 400;
}

.listing-hero-subtitle {
    font-size: 22px;
    opacity: 0.95;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    font-weight: 300;
}

/* Pricing Section */
.pricing-section {
    background: var(--cream-bg);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    border-radius: 4px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: all 1.2s ease;
    /* Slower fade */
    position: relative;
    opacity: 0;
    transform: translateY(50px);
}

.pricing-card.visible {
    opacity: 1;
    transform: translateY(0);
}

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

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

.pricing-featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05) translateY(50px);
    /* Initial state with scale */
}

.pricing-featured.visible {
    transform: scale(1.05) translateY(0);
    /* Visible state with scale */
}

.pricing-featured:hover,
.pricing-featured.visible:hover {
    transform: scale(1.05) translateY(-5px);
    /* Hover state with scale */
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.pricing-header h3 {
    font-size: 18px;
    margin-bottom: 25px;
    color: var(--dark-color);
    letter-spacing: 1px;
}

.pricing-amount {
    margin-bottom: 20px;
}

.pricing-currency {
    font-size: 30px;
    vertical-align: top;
    color: var(--primary-color);
}

.pricing-value {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

/* Calculator Section */
.calculator-section {
    background-image: url("Luci Real Estate Website Photos copy/calculator-bg.png");
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calculator-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.calculator-section .container {
    position: relative;
    z-index: 2;
}

.calculator-section h2,
.calculator-section p {
    color: var(--white) !important;
}

.calculator-section p {
    opacity: 0.9 !important;
}

.calculator-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.calculator-inputs {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.calculator-input-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.input-with-slider {
    position: relative;
    margin-bottom: 10px;
}

.input-with-slider input[type="range"] {
    width: 100%;
    height: 6px;
    background: #e5e5e5;
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.input-with-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.input-with-slider input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.input-with-slider input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.input-with-slider input[type="range"]::-moz-range-thumb:hover {
    transform: scale(1.2);
}

.input-display {
    margin-top: 15px;
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
}

.input-hint {
    font-size: 12px;
    opacity: 0.6;
    margin: 0;
}

.calculator-results {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.result-card {
    background: var(--cream-bg);
    padding: 25px;
    border-radius: 4px;
    border-left: 4px solid var(--primary-color);
}

.savings-card {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-left: 4px solid var(--gold-color);
    padding: 30px;
}

.result-label {
    font-family: var(--font-heading);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.result-sublabel {
    font-size: 11px;
    opacity: 0.6;
    margin-bottom: 15px;
}

.result-value {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
}

.result-value.traditional {
    color: #dc2626;
}

.result-value.grayfox {
    color: var(--primary-color);
}

.result-value.savings {
    color: var(--primary-color);
    font-size: 48px;
}

/* FAQ Section */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    margin-bottom: 15px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    font-family: var(--font-heading);
    font-size: 16px;
    padding: 25px 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.faq-question:hover {
    background: var(--cream-bg);
}

.faq-answer {
    padding: 0 30px 25px 30px;
    font-size: 14px;
    line-height: 1.8;
    color: var(--dark-color);
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .pricing-featured {
        transform: scale(1);
    }

    .pricing-featured:hover {
        transform: translateY(-5px);
    }

    .calculator-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .listing-hero-subtitle {
        font-size: 13px;
        white-space: nowrap;
    }

    .listing-hero-content h1 {
        font-size: 34px;
        white-space: nowrap;
        font-weight: 700;
    }

    .comparison-table-wrapper {
        overflow-x: auto;
    }

    .comparison-table {
        font-size: 11px;
    }
}

@media (max-width: 768px) {
    .listing-hero-new {
        min-height: 100vh !important;
        background-attachment: scroll !important;
        background-position: center !important;
        background-size: cover !important;
        display: flex !important;
        align-items: center !important;
        padding: 0 0 80px 0 !important;
        /* Nudge text up slightly on mobile */
    }

    .listing-hero-content h1 {
        font-size: 36px;
        white-space: normal;
        margin-bottom: 5px !important;
    }

    .about-hero .listing-hero-content h1 {
        font-size: 30px;
        white-space: nowrap;
        font-weight: 700;
    }

    .pricing-value {
        font-size: 42px;
    }

    .result-value.savings {
        font-size: 36px;
    }

    .calc-inputs-simple {
        padding: 25px !important;
        gap: 15px !important;
    }

    .calc-results-simple {
        padding: 25px !important;
    }

    .input-group-simple label {
        font-size: 11px !important;
    }

    .input-group-simple input[type="text"],
    .input-group-simple input[type="number"] {
        padding: 12px 12px !important;
        font-size: 16px !important;
    }

    #homeValueSimple {
        padding-left: 35px !important;
    }

    .result-row {
        grid-template-columns: 1fr !important;
        gap: 5px !important;
        padding: 15px 0 !important;
        text-align: center !important;
    }

    .result-label-simple {
        text-align: center !important;
        font-size: 13px !important;
    }

    .result-value-simple {
        text-align: center !important;
        font-size: 20px !important;
    }

    .listing-hero-subtitle {
        font-size: 18px !important;
    }

    .savings-row {
        margin-top: 20px !important;
        padding: 20px !important;
        align-items: center !important;
    }

    .result-value-simple.savings-amount {
        font-size: 32px !important;
    }

    .simple-calculator {
        grid-template-columns: 1fr !important;
        /* Stack vertically */
        margin: 0 10px !important;
        width: calc(100% - 20px) !important;
    }

    .calculator-section {
        padding: 80px 0 !important;
        height: auto !important;
        min-height: 600px !important;
        background-attachment: scroll !important;
        background-position: center !important;
        background-size: cover !important;
        /* Ensure it's tall enough for the background */
    }

    .calculator-section .container {
        width: 100% !important;
        padding: 0 !important;
    }

    /* Heading Refinements */
    .section-header-center {
        margin-bottom: 40px !important;
    }

    .section-header-center h2 {
        font-size: 22px !important;
        /* Even smaller to fit one line */
        white-space: normal !important;
        line-height: 1.2 !important;
    }

    .section-subtitle {
        font-size: 10px !important;
        margin-top: 5px !important;
        /* Smaller transaction fee text */
    }

    /* FAQ Refinements */
    .faq-question {
        padding: 20px 15px !important;
        font-size: 13px !important;
        line-height: 1.4 !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 15px !important;
    }

    .faq-question span {
        flex: 1 !important;
        padding-right: 10px !important;
    }

    .faq-toggle-icon {
        flex-shrink: 0 !important;
        position: relative !important;
        right: 0 !important;
    }

    /* Comparison Table Redesign (Compact Grid) */
    .comparison-table-wrapper {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        padding: 0 !important;
        margin: 0 !important;
        background: var(--white) !important;
        border-radius: 15px !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
    }

    .comparison-table {
        display: table !important;
        width: 100% !important;
        max-width: 100% !important;
        border-collapse: separate !important;
        border-spacing: 0 !important;
        font-size: 11px !important;
        table-layout: fixed !important;
        border: none !important;
        margin: 0 auto !important;
        border-radius: 15px !important;
        overflow: hidden !important;
    }

    .comparison-table thead {
        display: table-header-group !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .comparison-table tbody {
        display: table-row-group !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .comparison-table tr {
        display: table-row !important;
    }

    .comparison-table th,
    .comparison-table td {
        display: table-cell !important;
    }

    .comparison-table thead tr {
        display: table-row !important;
    }

    .comparison-table th {
        padding: 10px 2px !important;
        font-size: 8px !important;
        font-weight: 400 !important;
        text-transform: uppercase !important;
        letter-spacing: 0 !important;
        border: none !important;
        /* No internal borders */
        background: #f9f9f9 !important;
        text-align: center !important;
        vertical-align: middle !important;
        height: 60px !important;
        line-height: 1.1 !important;
        word-wrap: break-word !important;
    }

    .comparison-table th.service-name-header {
        width: 30% !important;
        /* Compressed */
        min-width: 30% !important;
        max-width: 30% !important;
        text-align: left !important;
        padding-left: 8px !important;
        padding-right: 4px !important;
        background: #f9f9f9 !important;
        font-weight: 700 !important;
        font-size: 0 !important;
        color: transparent !important;
    }

    .comparison-table th.provider-header {
        width: 23.33% !important;
        /* Equal distribution */
        min-width: 23.33% !important;
        max-width: 23.33% !important;
        background: var(--white) !important;
    }

    .comparison-table th.luci-header {
        background: var(--white) !important;
        color: var(--dark-color) !important;
        border-left: 2px solid #000 !important;
        border-right: 2px solid #000 !important;
        border-top: 2px solid #000 !important;
        border-top-left-radius: 10px !important;
        border-top-right-radius: 10px !important;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
        position: relative !important;
        z-index: 5 !important;
        padding-top: 15px !important;
        /* Center logo */
    }

    .comparison-table th.luci-header img {
        max-height: 40px !important;
        /* Even bigger logo */
        width: auto !important;
        transform: scale(3) !important;
    }

    .comparison-table tbody tr {
        display: table-row !important;
    }

    .comparison-table td {
        padding: 10px 2px !important;
        text-align: center !important;
        border: none !important;
        /* No internal borders */
        vertical-align: middle !important;
    }

    .comparison-table td.service-name {
        width: 30% !important;
        /* Compressed */
        min-width: 30% !important;
        max-width: 30% !important;
        text-align: left !important;
        padding-left: 8px !important;
        padding-right: 4px !important;
        font-weight: 400 !important;
        font-size: 7px !important;
        line-height: 1.2 !important;
        background: #fafafa !important;
        word-wrap: break-word !important;
        white-space: normal !important;
    }

    /* Remove row hover to eliminate faint lines */

    .comparison-table td:nth-child(2) {
        background: var(--white) !important;
        border-left: 2px solid #000 !important;
        border-right: 2px solid #000 !important;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
        position: relative !important;
        z-index: 5 !important;
    }

    /* Last row in Luci column gets bottom border and rounded corners */
    .comparison-table tbody tr:last-child td:nth-child(2) {
        border-bottom: 2px solid #000 !important;
        border-bottom-left-radius: 10px !important;
        border-bottom-right-radius: 10px !important;
    }

    .comparison-table td:nth-child(3),
    .comparison-table td:nth-child(4) {
        background: var(--white) !important;
    }

    .comparison-table .check {
        font-size: 20px !important;
        color: #22c55e !important;
        opacity: 0;
        transform: scale(0.5);
        transition: opacity 1.2s ease, transform 1.2s ease;
        /* Slower fade */
    }

    .comparison-table .check.visible {
        opacity: 1;
        transform: scale(1);
    }

    .comparison-table .dollar {
        font-size: 12px !important;
        color: #000 !important;
        opacity: 0;
        transform: scale(0.5);
        transition: opacity 1.2s ease, transform 1.2s ease;
        /* Slower fade */
    }

    .comparison-table .dollar.visible {
        opacity: 1;
        transform: scale(1);
    }

    /* Table note styling for mobile */
    .table-note {
        text-align: center !important;
        margin: 40px auto 0 !important;
        /* More space */
        font-size: 10px !important;
        color: #999 !important;
        font-weight: 400 !important;
        letter-spacing: 0.5px !important;
    }
}

/* Simplified Calculator Styles */
/* Simplified Calculator Styles */
/* Simplified Calculator Styles */
.simple-calculator {
    max-width: 1050px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
}

.calc-inputs-simple {
    padding: 45px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.input-group-simple {
    display: flex;
    flex-direction: column;
}

.input-group-simple label {
    font-family: var(--font-heading);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 10px;
    color: #888;
    font-weight: 600;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-group-simple input[type="text"],
.input-group-simple input[type="number"] {
    width: 100%;
    padding: 15px 15px;
    font-size: 18px;
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--dark-color);
    background: #f9f9f9;
    border: 2px solid transparent;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.input-group-simple input[type="text"]:focus,
.input-group-simple input[type="number"]:focus {
    outline: none;
    background: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Specific padding for inputs with prefix/suffix */
#homeValueSimple {
    padding-left: 40px;
}

#commissionSimple {
    padding-right: 40px;
}

.input-prefix,
.input-suffix {
    position: absolute;
    font-size: 18px;
    font-weight: 500;
    color: #aaa;
    pointer-events: none;
}

.input-prefix {
    left: 15px;
}

.input-suffix {
    right: 15px;
}

.calc-results-simple {
    background: var(--cream-bg);
    color: var(--dark-color);
    padding: 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    border-left: 1px solid rgba(0, 0, 0, 0.05);
}

.result-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.result-label-simple {
    font-size: 15px;
    opacity: 0.7;
    font-weight: 500;
    text-align: left;
    white-space: nowrap;
}

.result-value-simple {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    text-align: left;
}

.result-value-simple.traditional {
    color: #dc2626;
}

.result-value-simple.grayfox {
    color: var(--dark-color);
}

.result-divider-line {
    display: none;
}

.savings-row {
    margin-top: 35px;
    background: var(--white);
    border-radius: 12px;
    padding: 35px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.result-label-simple.savings {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    opacity: 0.6;
    color: var(--dark-color);
}

.result-value-simple.savings-amount {
    font-size: 44px;
    color: var(--primary-color);
    text-shadow: none;
    line-height: 1;
}

/* Responsive */
@media (max-width: 900px) {
    .simple-calculator {
        grid-template-columns: 1fr;
    }

    .calc-results-simple {
        padding: 40px;
        border-radius: 0 0 20px 20px;
        border-left: none;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }
}

/* Scrolling Banner */
.scrolling-banner-container {
    background: var(--primary-color);
    color: var(--white);
    padding: 15px 0;
    overflow: hidden;
    white-space: nowrap;
    margin: 40px 0;
    position: relative;
    z-index: 5;
}

.scrolling-banner {
    display: inline-block;
    animation: scroll 30s linear infinite;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Comparison Table Styles - Desktop Only */
@media (min-width: 769px) {
    .comparison-table-wrapper {
        max-width: 100%;
        margin: 0 auto;
        background: var(--white);
        border-radius: 20px;
        padding: 0;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
        overflow: visible;
        margin-bottom: 100px;
    }

    .comparison-table {
        width: 100%;
        min-width: 1200px;
        border-collapse: separate;
        border-spacing: 0;
        font-family: var(--font-body);
    }

    .comparison-table thead {
        background: #f9f9f9;
        border-bottom: 2px solid rgba(0, 0, 0, 0.05);
    }

    .comparison-table th {
        padding: 5px 2px;
        text-align: center;
        font-family: var(--font-heading);
        font-size: 12px;
        letter-spacing: 1.5px;
        font-weight: 700;
        color: #888;
        text-transform: uppercase;
        vertical-align: middle;
        line-height: 1.4;
    }

    .service-col {
        width: 35%;
        text-align: left !important;
        padding-left: 30px !important;
    }

    .provider-col {
        width: 21%;
    }

    .provider-col.traditional,
    .provider-col.fsbo {
        font-size: 11px;
        letter-spacing: 0.5px;
    }

    .provider-col.gray-fox {
        background: var(--white);
        border-bottom: 3px solid var(--primary-color);
    }

    .comparison-table tbody tr {
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        transition: all 0.2s ease;
    }

    /* Horizontal Table Styles */
    .horizontal-table th.service-header {
        writing-mode: horizontal-tb;
        transform: none;
        text-align: center;
        padding: 15px 5px;
        height: auto;
        white-space: normal;
        vertical-align: bottom;
        font-size: 9.5px;
        line-height: 1.2;
        width: 8.5%;
    }

    .horizontal-table .provider-name {
        text-align: center;
        font-weight: 700;
        width: 14%;
        /* Adjusted to fit */
        vertical-align: middle;
        padding: 15px 10px;
        font-family: var(--font-heading);
        font-size: 12px;
        /* Refined for wide layout */
        text-transform: uppercase;
        color: #888;
    }

    .horizontal-table .luci-row .provider-name {
        padding: 5px;
        /* Less padding for logo cell */
    }

    .horizontal-table td {
        text-align: center;
        vertical-align: middle;
        padding: 10px 2px;
    }

    .luci-row {
        background: #fff;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        position: relative;
        z-index: 10;
    }

    .luci-row td {
        border-top: 2px solid var(--primary-color);
        border-bottom: 2px solid var(--primary-color);
    }

    .luci-row td:first-child {
        border-left: 2px solid var(--primary-color);
        border-radius: 10px 0 0 10px;
    }

    .luci-row td:last-child {
        border-right: 2px solid var(--primary-color);
        border-radius: 0 10px 10px 0;
    }

    .comparison-table tbody tr:last-child {
        border-bottom: none;
    }

    .comparison-table tbody tr:hover {
        background: #fafafa;
        transform: scale(1.015);
        /* Increased scale for more noticeable expansion */
        box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
        z-index: 20;
        position: relative;
        border-radius: 8px;
    }

    .luci-row:hover {
        transform: scale(1.015);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
        /* Stronger shadow for Luci row */
    }

    .comparison-table td {
        padding: 15px 15px;
        text-align: center;
        font-size: 14px;
        color: var(--dark-color);
    }

    /* Highlight Gray Fox Column Cells */
    .comparison-table td:nth-child(2) {
        background: rgba(0, 0, 0, 0.01);
        font-weight: 600;
    }

    .service-name {
        text-align: left !important;
        padding-left: 30px !important;
        font-weight: 600;
        color: var(--dark-color);
    }

    .check {
        color: #10b981;
        /* Green */
        font-size: 26px;
        display: inline-block;
        font-weight: 700;
    }

    .charge-cell .dollar {
        color: var(--dark-color);
        font-size: 16px;
        font-weight: 700;
    }

    .table-note {
        text-align: center;
        margin: 40px auto 0;
        font-size: 13px;
        color: #888;
        font-weight: 600;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        display: block;
        width: 100%;
    }

    .x-mark {
        color: var(--dark-color);
        /* Black */
        font-size: 26px;
        font-weight: 700;
        font-family: var(--font-heading);
    }

    /* Responsive */
    @media (max-width: 900px) {
        .comparison-table-wrapper {
            border-radius: 12px;
            overflow-x: auto;
        }

        .comparison-table {
            min-width: 700px;
        }

        .comparison-table th,
        .comparison-table td {
            padding: 15px;
        }

        .service-col,
        .service-name {
            padding-left: 20px !important;
        }
    }
}

/* Bento Grid Styles */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    gap: 15px;
    /* Reduced gap */
    max-width: 1100px;
    margin: 0 auto;
}

.bento-card {
    background: var(--white);
    padding: 25px;
    /* Reduced padding */
    border-radius: 0;
    /* Sharp corners */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Feature Card Spanning 2 Columns */
.bento-card.large {
    grid-column: span 2;
    background: linear-gradient(135deg, #ffffff 0%, #fcfcfc 100%);
}

/* Full Width Card */
.bento-card.full {
    grid-column: span 3;
    background: linear-gradient(135deg, #ffffff 0%, #fcfcfc 100%);
}

.bento-card:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.08);
}

/* Subtle Glow Effect on Hover */
.bento-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    /* Sharp corners */
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
    pointer-events: none;
    transition: box-shadow 0.3s ease;
}

.bento-card:hover::after {
    box-shadow: inset 0 0 0 2px var(--primary-color);
}

.bento-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.quote-icon-bento {
    font-family: serif;
    font-size: 50px;
    /* Smaller icon */
    line-height: 0.5;
    color: var(--primary-color);
    opacity: 0.15;
    margin-bottom: 15px;
}

.bento-text {
    font-size: 14px;
    /* Smaller text */
    line-height: 1.6;
    color: var(--dark-color);
    margin-bottom: 25px;
    font-weight: 500;
}

.bento-card.large .bento-text {
    font-size: 16px;
    /* Smaller large text */
    max-width: 90%;
}

.bento-author {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 20px;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.bento-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 12px;
    /* Smaller name */
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dark-color);
    margin-bottom: 3px;
}

.bento-label {
    font-size: 10px;
    /* Smaller label */
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bento-stars {
    color: #fbbf24;
    /* Gold */
    font-size: 14px;
    /* Smaller stars */
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.google-review-logo {
    height: 18px;
    width: auto;
}

/* Premium FAQ Accordion */
.faq-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--white);
    border: none;
    border-radius: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}

.faq-item.active {
    background: #fafafa;
}

.faq-question {
    padding: 20px 30px;
    /* Reduced padding */
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 500;
    color: var(--dark-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    user-select: none;
    text-align: left;
}

.faq-item:hover .faq-question {
    color: var(--primary-color);
}

.faq-item.active .faq-question {
    color: var(--primary-color);
    padding-bottom: 10px;
}

.faq-toggle-icon {
    width: 16px;
    height: 16px;
    position: relative;
    transition: transform 0.5s ease;
}

.faq-toggle-icon::before,
.faq-toggle-icon::after {
    content: '';
    position: absolute;
    background-color: currentColor;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.faq-toggle-icon::before {
    width: 1px;
    height: 100%;
}

.faq-toggle-icon::after {
    width: 100%;
    height: 1px;
}

.faq-item.active .faq-toggle-icon {
    transform: rotate(135deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0;
    padding: 0 40px 0 40px;
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    font-family: var(--font-body);
    text-align: left;
    position: relative;
}

/* The "Black Bar" - Full height of the answer section */
.faq-answer::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--dark-color);
    transform: scaleY(0);
    transition: transform 0.4s ease;
    transform-origin: center;
}

.faq-item.active .faq-answer {
    max-height: 600px;
    opacity: 1;
    padding-top: 25px;
    /* Equal padding for vertical centering */
    padding-bottom: 25px;
}

.faq-item.active .faq-answer::before {
    transform: scaleY(1);
}

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

    .bento-card.large,
    .bento-card.full {
        grid-column: span 1;
    }
}

/* Home Valuation Section */
.valuation-section {
    padding: 0;
    background: var(--white);
    min-height: 100vh;
    display: flex;
    align-items: center;
    /* Perfectly centered vertically */
    width: 100vw;
    overflow-x: hidden;
}

.valuation-section .container-full {
    max-width: none;
    padding: 0;
    width: 100%;
}

.valuation-grid {
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 0;
    width: 100%;
    align-items: center;
    /* Perfectly centered vertically */
}

.caps-input {
    text-transform: uppercase;
    font-family: var(--font-heading) !important;
    letter-spacing: 1px;
}

.valuation-title {
    white-space: normal;
    font-size: 24px !important;
    /* Smaller title */
    margin-bottom: 10px;
}

.valuation-visual {
    position: relative;
    overflow: hidden;
    background: #f0f0f0;
    height: 800px;
    /* Increased height */
    width: 100%;
}

.valuation-map-container {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    /* Clips the shifted UI elements */
}

#map-placeholder,
#map-placeholder iframe {
    width: calc(100% + 200px);
    height: calc(100% + 300px);
    /* Increased height to allow more shift */
    margin-top: -200px;
    /* Shifted further up to center TN better */
    margin-left: -100px;
    border: none;
    display: block;
    filter: grayscale(100%) brightness(1.1) contrast(0.9);
}

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

.valuation-map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.valuation-form-container {
    padding: 40px 100px;
    margin-top: 0;
    /* Reset nudge */
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--white);
}

.step-indicators {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    justify-content: center;
}

.step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.3;
    transition: all 0.4s ease;
}

.step-indicator.active {
    opacity: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--dark-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
}

.step-indicator.active .step-number {
    background: var(--primary-color);
    transform: scale(1.1);
}

.step-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.valuation-step {
    display: none;
    animation: fadeInUp 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) both;
}

.valuation-step.active {
    display: block;
}

.valuation-step h3 {
    font-size: 32px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.step-description {
    color: #666;
    margin-bottom: 25px;
    font-size: 14px;
    /* Smaller description */
    line-height: 1.5;
}

.form-group {
    margin-bottom: 15px;
    /* Condensed spacing */
}

.form-group label {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-weight: 600;
    color: #888;
}

.autocomplete-wrapper {
    position: relative;
}

.valuation-form-container input,
.valuation-form-container select {
    width: 100%;
    padding: 14px 18px;
    /* More compact padding */
    border: 1px solid #eee;
    background: #f9f9f9;
    font-family: var(--font-body);
    font-size: 14px;
    /* Smaller input text */
    transition: all 0.3s ease;
}

.valuation-form-container input:focus,
.valuation-form-container select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.suggestions-list {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    border: 1px solid #eee;
    border-top: none;
    z-index: 100;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: none;
}

.suggestion-item {
    padding: 15px 20px;
    cursor: pointer;
    transition: background 0.2s ease;
    border-bottom: 1px solid #f5f5f5;
}

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

.suggestion-item:hover {
    background: #f9f9f9;
    color: var(--primary-color);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    /* Condensed gap */
}

.step-actions {
    margin-top: 30px;
    /* Condensed top margin */
    display: flex;
    gap: 15px;
}

.step-actions.centered {
    justify-content: center;
}

.btn-valuation {
    padding: 18px 40px;
    background: var(--dark-color);
    color: var(--white);
    border: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-valuation:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-valuation:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-valuation-outline {
    padding: 18px 40px;
    background: transparent;
    color: var(--dark-color);
    border: 1px solid var(--dark-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.success-icon {
    width: 60px;
    height: 60px;
    background: #000;
    /* Black and white */
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.valuation-step.centered-step {
    text-align: center;
}

.valuation-step.centered-step .step-actions {
    justify-content: center;
}

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

.map-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-family: var(--font-heading);
    color: #888;
    background: #f5f5f5;
}

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

    .valuation-visual {
        height: 300px;
    }

    .valuation-form-container {
        padding: 40px 20px;
    }
}

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

    .step-indicators {
        gap: 20px;
    }

    /* Home Valuation - Shift down on smaller mobile */
    .valuation-section {
        margin-top: 110px !important;
        /* Reduced from 140px */
        padding-top: 0 !important;
        align-items: flex-start !important;
        min-height: auto !important;
    }

    .valuation-visual {
        margin-top: 40px !important;
    }
}

.suggestion-item.custom-address {
    border-top: 2px solid #f0f0f0;
    background: #fafafa;
    color: var(--primary-color);
    font-weight: 600;
}

/* About Page Styles */
.about-hero {
    background-image: url('assets/images/luxury_living_room_high_res_1766961223595.png');
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

.profile-section {
    padding: 130px 0 100px 0;
    /* Increased top margin between hero and section */
    background: var(--white);
}

.profile-grid {
    display: grid;
    grid-template-columns: 500px 1fr;
    /* Slightly narrower image column */
    gap: 70px;
    align-items: flex-start;
}

.profile-image img {
    width: 100%;
    height: 750px;
    object-fit: cover;
    display: block;
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.05);
}

.profile-content {
    margin-top: -8px;
    /* Moved back down slightly as requested */
}

.profile-name {
    font-size: 36px;
    font-family: var(--font-heading);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    font-weight: 400;
    white-space: nowrap;
}

.profile-summary p {
    font-size: 13px;
    line-height: 1.75;
    color: #555;
    margin-bottom: 28px;
}



.profile-summary p:last-child {
    margin-bottom: 0;
}

/* Proven Results Parallax */
.proven-results-parallax {
    position: relative;
    padding: 120px 0;
    background-image: url('assets/images/luxury_foyer_high_res_1766961390230.png');
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    color: var(--white);
}

.proven-results-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.proven-results-parallax .container {
    position: relative;
    z-index: 2;
}

.white-text h2 {
    color: var(--white) !important;
}

.white-line {
    background: rgba(255, 255, 255, 0.3) !important;
}

.stats-horizontal {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-top: 60px;
}

.stats-horizontal .stat-item {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stats-horizontal .stat-number {
    display: block;
    font-size: 56px;
    font-weight: 400;
    /* Removed bold */
    font-family: var(--font-heading);
    margin-bottom: 10px;
    color: var(--white);
}

.stats-horizontal .stat-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    /* Removed bold */
}

/* Working with Luci */
.working-with-luci {
    padding: 120px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.working-with-luci::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 75%;
    height: 90%;
    background: #1a1a1a;
    z-index: 1;
}

.working-with-luci .container {
    position: relative;
    z-index: 2;
}

.working-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    /* Reduced gap */
    align-items: center;
}

.working-image {
    position: relative;
}

.working-image img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    object-position: center 53%;
    /* Very slight top crop */
    display: block;
    box-shadow: 30px 30px 80px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 3;
}

.working-content h2 {
    font-size: 32px;
    /* Smaller heading */
    margin-bottom: 25px;
    font-weight: 400;
    letter-spacing: -0.5px;
    color: var(--white);
    /* White text for dark background */
}

.working-text p {
    font-size: 13px;
    /* Match bio font size */
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.85);
    /* Light gray for readability on dark bg */
    margin-bottom: 20px;
}

.working-text p:last-child {
    margin-bottom: 0;
}

@media (max-width: 992px) {

    .profile-grid,
    .working-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .working-grid .working-image {
        order: -1;
    }

    .stats-horizontal {
        flex-wrap: wrap;
    }

    .stats-horizontal .stat-item {
        flex: 0 0 50%;
        margin-bottom: 40px;
    }

    .profile-name {
        font-size: 28px;
    }

    .proven-results-parallax h2 {
        font-size: 32px !important;
    }

    .proven-results-parallax {
        background-attachment: scroll !important;
        background-position: center !important;
        background-size: cover !important;
    }
}

/* ============================================
   CONTACT MODAL
   ============================================ */
.contact-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    /* Change to white to match modal */
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.modal-container {
    width: 100%;
    height: 100%;
    background: var(--white);
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    /* Form side (left) is slightly larger */
    overflow: hidden;
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

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

.modal-close span {
    position: absolute;
    width: 24px;
    height: 1.5px;
    background: var(--white);
}

.modal-close span:first-child {
    transform: rotate(45deg);
}

.modal-close span:last-child {
    transform: rotate(-45deg);
}

.modal-left {
    padding: 80px 60px;
    background: var(--white);
    color: var(--dark-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-y: auto;
}

.modal-right {
    position: relative;
    padding: 100px 60px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    color: var(--white);
    overflow: hidden;
}

.modal-form-header {
    margin-bottom: 40px;
}

.modal-form-header h2 {
    font-size: 32px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--dark-color);
}

.modal-form-header p {
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.contact-form-modal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group-full {
    grid-column: span 2;
}

.contact-form-modal input,
.contact-form-modal textarea {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    font-family: inherit;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: border-color 0.3s ease;
    background: transparent;
    color: var(--dark-color);
}

.contact-form-modal input::placeholder,
.contact-form-modal textarea::placeholder {
    color: rgba(0, 0, 0, 0.3);
}

.contact-form-modal input:focus,
.contact-form-modal textarea:focus {
    outline: none;
    border-bottom-color: var(--dark-color);
}

.modal-disclaimer-container {
    grid-column: span 2;
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-top: 10px;
}

.modal-checkbox {
    width: 16px !important;
    height: 16px !important;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--dark-color);
}

.modal-disclaimer {
    font-size: 10px;
    line-height: 1.6;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    margin: 0;
}

.modal-disclaimer a {
    color: var(--dark-color);
    text-decoration: underline;
}

.modal-submit-btn {
    grid-column: span 2;
    background: var(--dark-color);
    color: var(--white);
    border: none;
    padding: 18px;
    font-size: 12px;
    letter-spacing: 3px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.modal-submit-btn:hover {
    background: #333;
    letter-spacing: 4px;
}

/* Black Background */
.modal-right::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 0;
}

.modal-brand-info {
    position: relative;
    z-index: 2;
    margin-top: 80px;
    /* Lower the info slightly */
    max-width: 400px;
}

.modal-name {
    font-size: 16px;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 15px;
    font-weight: 600;
}

.modal-contact-link {
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
    opacity: 0.9;
}

.modal-contact-link a {
    color: var(--white);
    text-decoration: none;
}

.modal-address {
    margin-top: 50px;
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    line-height: 1.8;
    opacity: 0.8;
}

.modal-socials {
    margin-top: 40px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.modal-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.modal-socials a:hover {
    background: var(--white);
    border-color: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.modal-socials img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.modal-socials a:hover img {
    filter: brightness(0);
}

@media (max-width: 992px) {
    .contact-modal {
        background: #000;
        /* Black background to avoid white bars */
        align-items: flex-start;
        /* Allow scrolling from top */
    }

    .modal-container {
        display: block;
        /* Stack naturally */
        height: 100%;
        overflow-y: auto;
        /* Scroll the whole container */
        -webkit-overflow-scrolling: touch;
        background: #fff;
        /* White background for the top section */
    }

    .modal-right {
        min-height: auto;
        padding: 60px 40px 80px;
        background: #000;
        overflow: visible;
    }

    .modal-left {
        padding: 40px 40px 60px;
        /* Reduced top padding to align with X */
        overflow: visible;
        height: auto;
        background: #fff;
    }

    .modal-brand-info {
        margin-top: 0;
    }

    .modal-close {
        position: fixed;
        top: 40px;
        /* Align with text (padding-top) */
        right: 20px;
        /* Moved right to match menu X */
        z-index: 9999;
        left: auto;
        width: 40px;
        height: 40px;
        background: transparent;
        border-radius: 0;
    }

    .modal-close span {
        background: #000000 !important;
        /* Black X */
        width: 28px;
        height: 2px;
    }
}

/* ============================================
   PRIVACY POLICY PAGE
   ============================================ */
.privacy-section {
    padding: 240px 0 80px;
    background-color: var(--white);
}

.privacy-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.privacy-intro {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--dark-color);
}

.privacy-principles {
    list-style: none;
    padding-left: 0;
    margin: 30px 0;
}

.privacy-principles li {
    font-size: 16px;
    line-height: 1.8;
    padding-left: 30px;
    position: relative;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.privacy-principles li:before {
    content: '•';
    position: absolute;
    left: 10px;
    color: var(--dark-color);
    font-weight: bold;
}

.privacy-content h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 50px;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.privacy-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.privacy-updated {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 14px;
    opacity: 0.7;
}

/* ============================================
   MOBILE NAVIGATION (Consolidated)
   ============================================ */
.mobile-menu-toggle {
    display: block;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 100001 !important;
    position: relative;
    transition: transform 0.3s ease;
}

.mobile-menu-toggle.active:hover {
    transform: rotate(90deg);
}

.mobile-menu-toggle span {
    display: block;
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--white);
    transition: all 0.3s ease;
}

.mobile-menu-toggle span:nth-child(1) {
    top: 6px;
}

.mobile-menu-toggle span:nth-child(2) {
    top: 14px;
}

.mobile-menu-toggle span:nth-child(3) {
    top: 22px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.header.scrolled .mobile-menu-toggle span {
    background-color: var(--dark-color);
}

.header.menu-active .mobile-menu-toggle span {
    background-color: var(--white) !important;
}

@media (max-width: 1024px) {







    /* Communities Dropdown Mobile Fix - Match Width of Text */
    .nav-item-dropdown {
        position: relative;
        display: inline-block !important;
        /* Only as wide as the text */
        width: auto !important;
        text-align: center;
    }

    .nav-item-dropdown .dropdown-menu {
        position: absolute !important;
        top: 100% !important;
        left: 50% !important;
        transform: translateX(-50%) translateY(10px) !important;
        /* Nudged slightly right to -50% */
        width: auto !important;
        min-width: 180px !important;
        /* Slightly wider for better balance */
        background: #000000 !important;
        padding: 10px 0 !important;
        margin-top: 10px !important;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        display: block !important;
        z-index: 100002 !important;
        border-radius: 0;
        pointer-events: none;
        /* Prevent hover on invisible menu */
    }

    /* Show on hover OR active class (for tap) */
    .nav-item-dropdown:hover .dropdown-menu,
    .nav-item-dropdown.active .dropdown-menu {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateX(-50%) translateY(0) !important;
        /* Nudged slightly right to -50% */
        pointer-events: auto;
        /* Re-enable clicks when visible */
    }

    .dropdown-menu a {
        display: block !important;
        width: 100% !important;
        padding: 15px 25px !important;
        text-align: center !important;
        /* Center text inside box */
        color: #ffffff !important;
        /* White text */
        font-size: 13px !important;
        text-transform: uppercase;
        letter-spacing: 1px;
        opacity: 1 !important;
        visibility: visible !important;
        background: transparent !important;
        transform: none !important;
        animation: none !important;
        /* Kill parent animations */
        transition: all 0.3s ease !important;
        position: relative;
        z-index: 100003 !important;
        /* Higher than the box */
    }

    /* Force hover effect: White background, Black text */
    .header.menu-active .nav .dropdown-menu a:hover {
        background-color: #ffffff !important;
        color: #000000 !important;
        opacity: 1 !important;
        transition: none !important;
    }

    /* Ensure no underline on dropdown links */
    .header.menu-active .nav .dropdown-menu a:after {
        display: none !important;
    }

    .dropdown-toggle::after {
        content: '▾';
        margin-left: 8px;
        font-size: 12px;
        display: inline-block;
    }

    /* Remove underline animation inside the dropdown */
    .dropdown-menu a:after {
        display: none !important;
    }

    /* Re-enable hover underline effect for main links */
    .nav a:after {
        display: block !important;
        bottom: 0px !important;
    }

    .nav a:hover:after {
        transform: scaleX(1) !important;
    }

    /* Fix Communities underline showing by default */
    .nav-item-dropdown>a:after {
        transform: scaleX(0) !important;
    }

    .nav-item-dropdown:hover>a:after,
    .nav-item-dropdown.active>a:after {
        transform: scaleX(1) !important;
    }

    .header .container {
        padding: 0 25px;
    }

    .header {
        left: 0;
    }

    .logo {
        z-index: 100001 !important;
        height: 32px !important;
        /* Slightly smaller logo for mobile */
    }

    .logo-img {
        max-width: 100px !important;
        /* Slightly smaller logo for mobile */
    }
}

/* ============================================
   MOBILE REFINEMENTS (768px and below)
   ============================================ */
@media (max-width: 768px) {

    /* Bio & Testimonial Text */
    .bio-text {
        font-size: 12px !important;
        max-width: 90% !important;
    }

    .testimonial-quote {
        font-size: 12px !important;
        line-height: 1.6 !important;
    }

    .testimonial-author {
        font-size: 11px !important;
    }

    /* Services Tri-Box (Home Valuation, etc.) */
    .services-parallax {
        height: auto !important;
        background-attachment: scroll !important;
        background-position: center !important;
        background-size: cover !important;
    }

    .services-container {
        display: flex !important;
        flex-direction: column !important;
    }

    .service-box {
        flex: none !important;
        width: 100% !important;
        height: 250px !important;
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    }

    .service-box h3 {
        font-size: 16px !important;
        letter-spacing: 3px !important;
        font-weight: 700 !important;
    }

    /* Home Valuation - Shift down on mobile */
    .valuation-section {
        margin-top: 100px !important;
        padding-top: 0 !important;
        align-items: flex-start !important;
        min-height: auto !important;
    }

    .valuation-grid {
        padding-top: 0 !important;
    }

    .valuation-visual {
        margin-top: 40px !important;
    }

    .valuation-map-container {
        padding-top: 0 !important;
    }

    #map-placeholder,
    #map-placeholder iframe {
        margin-top: -200px !important;
    }

    /* Proven Results Alignment & Numbers */
    .proven-results {
        overflow: visible !important;
        padding: 60px 0 0 0 !important;
    }

    .split-layout {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        overflow: visible !important;
        width: 100% !important;
        padding: 0 25px !important;
    }

    .split-left,
    .split-right {
        width: 100% !important;
        flex: none !important;
        overflow: visible !important;
        display: block !important;
    }

    .stats-list {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 0 !important;
        width: 100% !important;
    }

    .stat-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        text-align: left !important;
        gap: 5px !important;
        margin-bottom: 35px !important;
        width: 100% !important;
    }

    .stat-number {
        font-size: 36px !important;
        line-height: 1 !important;
        display: block !important;
        margin-bottom: 5px !important;
        font-weight: 700 !important;
    }

    .stat-label {
        font-size: 12px !important;
        text-transform: uppercase !important;
        letter-spacing: 1px !important;
        opacity: 0.7 !important;
        display: block !important;
    }

    /* Proven Results Images Stacking & Overlap */
    .results-images-container {
        height: 420px !important;
        width: 100% !important;
        position: relative !important;
        display: block !important;
        margin-top: 10px !important;
        overflow: visible !important;
    }

    .img-box-1 {
        position: absolute !important;
        top: 0 !important;
        right: 0 !important;
        width: 85% !important;
        height: 380px !important;
        transform: none !important;
        z-index: 1 !important;
    }

    .img-box-2 {
        position: absolute !important;
        top: 80px !important;
        left: -15px !important;
        width: 55% !important;
        height: 220px !important;
        transform: none !important;
        z-index: 2 !important;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3) !important;
    }

    /* Explore Communities Stacking */
    .explore-communities-section {
        padding-top: 50px !important;
        padding-bottom: 0 !important;
        overflow: visible !important;
    }

    .communities-grid {
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        gap: 0 !important;
        overflow: visible !important;
    }

    .community-box {
        flex: none !important;
        width: 100% !important;
        height: 250px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        display: flex !important;
        align-items: flex-end !important;
        justify-content: center !important;
        position: relative !important;
    }

    .community-box h3 {
        font-size: 16px !important;
        letter-spacing: 3px !important;
        margin: 0 !important;
        position: relative !important;
        z-index: 2 !important;
        white-space: nowrap !important;
        padding: 0 15px !important;
        font-weight: 700 !important;
    }

    /* Work With Luci Section */
    .work-with-luci-parallax {
        padding: 40px 0 !important;
        min-height: 750px !important;
        display: flex !important;
        align-items: stretch !important;
        background-attachment: scroll !important;
        background-position: center !important;
        background-size: cover !important;
    }

    .work-with-luci-container {
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        height: auto !important;
        min-height: 670px !important;
        padding: 20px 20px !important;
        gap: 0 !important;
    }

    .work-with-luci-top {
        margin-top: 0 !important;
        text-align: center !important;
    }

    .work-with-luci-bottom {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        text-align: center !important;
    }

    .work-with-luci-text {
        display: block !important;
        font-size: 13px !important;
        line-height: 1.7 !important;
        margin-bottom: 40px !important;
        opacity: 0.9 !important;
    }

    .work-with-luci-top h2 {
        font-size: 28px !important;
        margin-bottom: 15px !important;
        font-weight: 700 !important;
        white-space: nowrap !important;
    }

    /* About Page Mobile Refinements */
    .about-hero {
        min-height: 100vh !important;
        height: auto !important;
        background-attachment: scroll !important;
        background-position: center !important;
        background-size: cover !important;
        padding: 0 0 80px 0 !important;
        /* Nudge text up slightly */
    }

    .profile-section {
        padding: 60px 0 !important;
    }

    .profile-image img {
        width: 280px !important;
        height: 280px !important;
        border-radius: 0 !important;
        margin: 0 auto 30px !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    }

    .profile-content {
        text-align: center !important;
        padding: 0 25px !important;
    }

    .profile-name {
        font-size: 24px !important;
        white-space: nowrap !important;
        margin-bottom: 20px !important;
        text-align: center !important;
        font-weight: 700 !important;
    }

    .profile-summary p {
        font-size: 12px !important;
        line-height: 1.6 !important;
        margin-bottom: 20px !important;
        color: #666 !important;
        text-align: left !important;
    }

    .working-with-luci {
        padding: 80px 0 !important;
        background: var(--white) !important;
    }

    .working-with-luci::before {
        width: 92% !important;
        height: 100% !important;
        top: 0 !important;
        transform: none !important;
        border-right: 1px solid rgba(255, 255, 255, 0.1) !important;
    }

    .working-grid {
        gap: 40px !important;
    }

    .working-content {
        padding: 0 20px !important;
    }

    .working-content h2 {
        font-size: 26px !important;
        text-align: center !important;
        margin-bottom: 30px !important;
        font-weight: 700 !important;
    }

    .working-text p {
        font-size: 12px !important;
        text-align: left !important;
        line-height: 1.7 !important;
    }

    .working-image img {
        height: 380px !important;
        width: 100% !important;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3) !important;
    }
}

/* Safety override for desktop to prevent mobile styles leaking */
@media (min-width: 1025px) {
    .modal-close span {
        background: #ffffff !important;
        /* Force white X on desktop */
        width: 24px;
        /* Original size */
        height: 1.5px;
    }



    /* Toggle Tables */
    .mobile-table-view {
        display: none !important;
    }

    .desktop-table-view {
        display: block !important;
        margin-bottom: 60px;
        background: var(--cream-bg);
        /* Match the table background */
        border-radius: 20px;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    }

    /* Desktop Table Styling */
    /* Desktop Table Styling */
    .desktop-table {
        width: 100%;
        border-collapse: separate;
        /* Allow rounded corners */
        border-spacing: 0;
        text-align: center;
    }

    .desktop-table th {
        padding: 15px 5px;
        font-size: 11px;
        /* Even smaller */
        font-weight: 700;
        color: var(--dark-color);
        border-bottom: 2px solid #eee;
        vertical-align: bottom;
    }

    .desktop-table td {
        padding: 15px 5px;
        border-bottom: 1px solid #eee;
        vertical-align: middle;
    }

    /* Round outer corners of the whole table */
    .desktop-table thead th:first-child {
        border-top-left-radius: 20px;
    }

    .desktop-table thead th:last-child {
        border-top-right-radius: 20px;
    }

    .desktop-table tbody tr:last-child td:first-child {
        border-bottom-left-radius: 20px;
    }

    .desktop-table tbody tr:last-child td:last-child {
        border-bottom-right-radius: 20px;
    }

    .provider-col-header {
        text-align: left;
        width: 250px;
        visibility: hidden;
        /* Hide text completely but keep width */
        padding: 0;
    }

    .provider-name {
        text-align: left;
        font-weight: 400;
        font-size: 12px;
        /* Even smaller */
    }

    .desktop-luci-logo {
        position: absolute;
        height: 170px;
        /* A little bigger */
        width: auto;
        top: 56%;
        /* Down the smallest bit */
        left: 15px;
        /* Back to the left the smallest bit */
        transform: translateY(-50%);
        z-index: 10;
    }

    .luci-cell {
        position: relative;
        height: 100px;
        /* A little thicker */
        min-width: 200px;
    }

    .desktop-table tr,
    .desktop-table th,
    .desktop-table thead {
        background-color: var(--cream-bg);
    }

    /* Override inherited background for 2nd column */
    .desktop-table td:nth-child(2) {
        background-color: var(--cream-bg) !important;
        font-weight: 400 !important;
    }

    .luci-row td:nth-child(2) {
        background-color: #fff !important;
    }

    .provider-col-header {
        text-align: left;
        width: 250px;
        color: transparent;
        /* Hide text but keep background visible */
        background-color: var(--cream-bg) !important;
        padding: 0;
    }

    .luci-row,
    .luci-row td {
        background-color: #fff !important;
        position: relative;
        z-index: 2;
    }

    /* Reduce padding for Luci row to keep height tight */
    .luci-row td {
        padding-top: 15px;
        /* A little more padding */
        padding-bottom: 15px;
        border-top: 3px solid #000 !important;
        border-bottom: 3px solid #000 !important;
        background: #fff;
        /* Ensure background covers lines behind */
    }

    .luci-row td:first-child {
        border-left: 3px solid #000 !important;
        border-top-left-radius: 15px;
        border-bottom-left-radius: 15px;
    }

    .luci-row td:last-child {
        border-right: 3px solid #000 !important;
        border-top-right-radius: 15px;
        border-bottom-right-radius: 15px;
    }

    /* Ensure hover doesn't break borders and adds expand effect */
    .desktop-table tbody tr {
        transition: all 0.3s ease;
    }

    .desktop-table tbody tr:hover {
        transform: translateY(0) scale(1.015);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        z-index: 10;
        position: relative;
        background-color: var(--cream-bg) !important;
        /* Keep off-white on hover */
    }

    .desktop-table tbody tr:hover td:first-child {
        border-top-left-radius: 15px;
        border-bottom-left-radius: 15px;
    }

    .desktop-table tbody tr:hover td:last-child {
        border-top-right-radius: 15px;
        border-bottom-right-radius: 15px;
    }

    .luci-row:hover {
        transform: translateY(0) scale(1.015) !important;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15) !important;
    }

    .luci-row:hover td {
        background-color: #fff !important;
        /* Keep white on hover */
    }

    /* Scroll Reveal Animation for Rows */
    .desktop-table tbody tr {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.6s ease-out, transform 0.6s ease-out, box-shadow 0.3s ease, scale 0.3s ease !important;
    }

    .desktop-table tbody tr.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hide Desktop Table on Mobile */
@media (max-width: 1024px) {
    .desktop-table-view {
        display: none !important;
    }
}

/* SEO Updates */
.crawlable-city-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    font-size: 0.9rem;
}

.crawlable-city-list li a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.crawlable-city-list li a:hover {
    color: #000;
}

.footer-seo-block {
    text-align: center;
    font-size: 0.75rem;
    color: #888;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-seo-block p {
    margin: 0;
    line-height: 1.5;
}

/* Anchor Scroll Margin */
#sellers,
#buyers {
    scroll-margin-top: 100px;
    /* Adjust based on header height */
}