/*
Theme Name: LAC Real Estate
Theme URI: https://example.com/lac-real-estate
Author: Your Name
Author URI: https://example.com
Description: Custom WordPress theme for LAC Real Estate. Version 3.5: 2-column team grid layout, blur contact gate, bilingual Vietnamese, Listed by Lac Real Estate Team credit.
Version: 3.5
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lac-real-estate
*/

:root {
    --navy: #1a1f3a;
    --gold: #D4AF7A;
    --light-navy: #2E3558;
    --dark-navy: #0f1426;
    --text-light: #E8E8E8;
    --text-muted: #A0A8B8;
    --white: #ffffff;
    --black: #000000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--navy);
    color: var(--text-light);
    line-height: 1.6;
    font-weight: 400;
    position: relative;
    overflow-x: hidden;
}

/* Using default browser cursor */

h1,
h2,
h3,
h4 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
}

/* Typography Enhancement */
.nav-menu a,
.btn-primary,
.btn-secondary,
button,
.lang-toggle {
    font-family: 'Montserrat', sans-serif;
}

p,
li,
span,
label,
input,
textarea {
    font-family: 'Montserrat', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 20, 38, 0.98);
    backdrop-filter: blur(15px);
    padding: 0.8rem 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(212, 175, 122, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    padding: 0 40px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Language Dropdown Styles */
.lang-dropdown {
    position: relative;
}

.lang-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: none;
    color: var(--text-light);
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    /* Synced with nav links */
    font-weight: 600;
    /* Synced with nav links */
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.lang-dropdown-toggle:hover {
    color: var(--gold);
}

.lang-icon {
    color: var(--gold);
    flex-shrink: 0;
}

.lang-current {
    white-space: nowrap;
}

.lang-arrow {
    transition: transform 0.3s ease;
    opacity: 0.7;
}

.lang-dropdown.open .lang-arrow {
    transform: rotate(180deg);
}

.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 160px;
    background: rgba(15, 20, 38, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 122, 0.2);
    border-radius: 6px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    overflow: hidden;
}

.lang-dropdown.open .lang-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.95rem;
    /* Synced */
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.lang-option:hover {
    background: rgba(212, 175, 122, 0.1);
    color: var(--gold);
}

.lang-option.active {
    color: var(--gold);
}



.check-icon {
    margin-left: auto;
    color: var(--gold);
}

/* Hide old toggle */
.lang-toggle {
    display: none;
}

.lang-text {
    font-size: 0.9rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: opacity 0.3s;
}

.nav-brand:hover {
    opacity: 0.8;
}

.brand-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(77%) sepia(18%) saturate(1015%) hue-rotate(358deg) brightness(92%) contrast(86%);
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: 1px;
    line-height: 1.2;
}

.brand-slogan {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.55rem;
    font-weight: 500;
    color: var(--gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1;
    max-width: none;
}

.compass-logo {
    height: 15px;
    width: auto;
    margin-left: 16px;
    color: var(--gold);
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.nav-brand:hover .compass-logo {
    opacity: 1;
}

/* Ensure Logo Text Stack stays stacked and responsive */
.brand-name {
    white-space: nowrap;
    /* Prevent breaking brand name itself */
}

.brand-slogan {
    white-space: nowrap;
    /* Prevent breaking slogan itself */
}

/* On very small screens, allow scaling down instead of breaking layout */
@media (max-width: 380px) {
    .brand-name {
        font-size: 1rem;
    }

    .brand-slogan {
        font-size: 0.5rem;
    }
}



.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin-left: auto;
    margin-right: 2rem;
}

.nav-menu .mobile-only {
    display: none;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.nav-menu a:hover {
    color: var(--gold);
}

.nav-menu a.active {
    color: var(--gold);
}

.btn-primary {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
    padding: 0.6rem 1.5rem;
    /* Adjusted */
    font-size: 0.95rem;
    /* Synced with nav links */
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background: var(--gold);
    color: var(--navy);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 122, 0.4);
}

.mobile-menu-toggle {
    display: none;
    /* Hidden on desktop */
}

.btn-primary.active {
    background: var(--gold);
    color: var(--navy);
}

.btn-secondary {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: var(--gold);
    color: var(--navy);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-image: url('assets/Img/hero-bg-v2.webp');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(35, 40, 80, 0.5), rgba(26, 31, 58, 0.6));
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(225deg, rgba(26, 31, 58, 0.6), rgba(35, 40, 80, 0.5));
    z-index: 1;
    opacity: 0;
    animation: gradientFade 15s ease-in-out infinite;
}

@keyframes gradientFade {

    0%,
    100% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    width: 100%;
    padding: 2rem;
    animation: fadeInUp 1.2s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 500;
    font-style: italic;
    color: var(--text-light);
    line-height: 1.3;
    letter-spacing: 0.5px;
    text-shadow: 3px 6px 12px rgba(0, 0, 0, 0.5);
    animation: titleGlow 6s ease-in-out infinite;
}

@keyframes titleGlow {

    0%,
    100% {
        text-shadow: 3px 6px 12px rgba(0, 0, 0, 0.5);
    }

    25% {
        text-shadow: 3px 6px 15px rgba(212, 175, 122, 0.2), 3px 6px 12px rgba(0, 0, 0, 0.5);
    }

    50% {
        text-shadow: 3px 6px 20px rgba(212, 175, 122, 0.4), 3px 6px 12px rgba(0, 0, 0, 0.5);
    }

    75% {
        text-shadow: 3px 6px 15px rgba(212, 175, 122, 0.2), 3px 6px 12px rgba(0, 0, 0, 0.5);
    }
}

.hero-title .highlight {
    color: var(--gold);
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    font-style: italic;
    display: inline-block;
    animation: highlightPulse 4s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(212, 175, 122, 0.6), 3px 6px 12px rgba(0, 0, 0, 0.5);
}

@keyframes highlightPulse {

    0%,
    100% {
        transform: scale(1);
        text-shadow: 0 0 30px rgba(212, 175, 122, 0.6), 3px 6px 12px rgba(0, 0, 0, 0.5);
    }

    25% {
        transform: scale(1.02);
        text-shadow: 0 0 35px rgba(212, 175, 122, 0.7), 3px 6px 13px rgba(0, 0, 0, 0.55);
    }

    50% {
        transform: scale(1.05);
        text-shadow: 0 0 40px rgba(212, 175, 122, 0.8), 3px 6px 15px rgba(0, 0, 0, 0.6);
    }

    75% {
        transform: scale(1.02);
        text-shadow: 0 0 35px rgba(212, 175, 122, 0.7), 3px 6px 13px rgba(0, 0, 0, 0.55);
    }
}

/* Hero Decorative Elements */
.hero-accent-line {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 2rem auto;
    animation: lineExpand 5s ease-in-out infinite;
}

@keyframes lineExpand {

    0%,
    100% {
        width: 100px;
        opacity: 0.6;
    }

    25% {
        width: 120px;
        opacity: 0.75;
    }

    50% {
        width: 150px;
        opacity: 1;
    }

    75% {
        width: 120px;
        opacity: 0.75;
    }
}

/* Floating Particles */
.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}


/* Parallax effect for hero background */
@media (min-width: 769px) {
    .hero {
        background-attachment: fixed;
    }
}

/* Responsive Hero */
@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
        background-position: center center;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-accent-line {
        width: 80px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-accent-line {
        width: 60px;
        margin: 1.5rem auto;
    }
}

/* Vision & Mission Section */
/* Section Divider — gold gradient line between homepage sections */
.vision-mission-section,
.our-team-section {
    position: relative;
}

.vision-mission-section::before,
.our-team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    max-width: 600px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.vision-mission-section {
    background: var(--navy);
    padding: 4rem 0;
}

/* OLD GRID LAYOUT - Keep for backward compatibility but unused on front-page */
.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 2rem;
}

.vision-mission-image {
    overflow: hidden;
    transition: all 0.3s;
}

.vision-mission-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: right center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 175, 122, 0.15);
    filter: grayscale(10%) brightness(0.95);
    transition: all 0.5s;
}

/* NEW HORIZONTAL LAYOUT - For front-page.php */
.vision-mission-horizontal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    padding: 0 2rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}

.vision-mission-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.vision-block,
.mission-block {
    background: rgba(46, 53, 88, 0.3);
    border: 1px solid rgba(212, 175, 122, 0.15);
    padding: 2.5rem;
    transition: all 0.4s;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.vision-block:hover,
.mission-block:hover {
    border-color: rgba(212, 175, 122, 0.5);
    box-shadow: 0 10px 30px rgba(212, 175, 122, 0.08);
    background: rgba(46, 53, 88, 0.45);
}

.vision-block h2,
.mission-block h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    color: var(--gold);
    margin-bottom: 1.2rem;
    font-style: italic;
    font-weight: 500;
}

.vision-block p,
.mission-block p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-muted);
    font-weight: 400;
}

/* Reusable Section Title & Subtitle */
.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-title h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    color: var(--gold);
    font-style: italic;
    font-weight: 500;
    margin-bottom: 0;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 3rem;
}

/* Our Team Section */
.our-team-section {
    padding: 4rem 0;
    background: var(--navy);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 4rem 2rem;
}

.team-member-card {
    background: rgba(46, 53, 88, 0.3);
    overflow: hidden;
    border: 1px solid rgba(212, 175, 122, 0.1);
    transition: all 0.3s;
}

.team-member-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 15px 40px rgba(212, 175, 122, 0.2);
}

.member-photo {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    filter: grayscale(10%);
    transition: all 0.3s;
}

.team-member-card:hover .member-photo img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.member-info {
    padding: 1.5rem;
    text-align: center;
}

.member-info h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.member-role {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: var(--gold);
    font-weight: 500;
}

/* Footer Disclaimer */
.footer-disclaimer {
    background: var(--dark-navy);
    padding: 3rem 0 2rem;
    border-top: 1px solid rgba(212, 175, 122, 0.2);
}

.footer-disclaimer p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: center;
}

.footer-links {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(212, 175, 122, 0.1);
}

.footer-links a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--text-light);
    text-decoration: underline;
}

/* Team Section - Our Integrated Team */
.team-section-wrapper {
    margin-top: 6rem;
    background: var(--navy);
    padding: 0;
    border-radius: 0;
    position: relative;
    overflow: hidden;
}

.team-section-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.team-section-header {
    background: linear-gradient(90deg,
            var(--navy) 0%,
            var(--light-navy) 15%,
            var(--light-navy) 85%,
            var(--navy) 100%);
    padding: 2.5rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(212, 175, 122, 0.2);
    border-top: 1px solid rgba(212, 175, 122, 0.1);
    position: relative;
}

.team-section-header::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.5;
}

.team-section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.25rem;
    color: var(--gold);
    letter-spacing: 0.5px;
    position: relative;
    padding-left: 1.5rem;
}

.team-section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 70%;
    background: var(--gold);
    box-shadow: 0 0 10px rgba(212, 175, 122, 0.5);
}

.team-section-description {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-light);
    max-width: 600px;
    line-height: 1.6;
    font-size: 1rem;
    opacity: 0.9;
    border-left: 1px solid rgba(212, 175, 122, 0.3);
    padding-left: 2rem;
}

.team-categories-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 0;
    border-bottom: 1px solid rgba(212, 175, 122, 0.1);
}

.team-category {
    background: rgba(46, 53, 88, 0.2);
    border-right: 1px solid rgba(212, 175, 122, 0.1);
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.team-category:hover {
    background: rgba(46, 53, 88, 0.4);
}

.team-category:hover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--gold);
    box-shadow: 0 0 15px rgba(212, 175, 122, 0.6);
}

.category-icon {
    width: 60px;
    height: 60px;
    border: 1px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--gold);
    background: rgba(212, 175, 122, 0.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    font-size: 1.5rem;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    transition: all 0.3s ease;
}

.team-category:hover .category-icon {
    transform: translateY(-5px) rotate(45deg);
    background: var(--gold);
    color: var(--navy);
}

.category-header {
    margin-bottom: 1.5rem;
}

.category-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.category-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.category-role-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.category-role-list li {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-light);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
}

.category-role-list li:hover {
    background: rgba(212, 175, 122, 0.1);
    transform: translateX(5px);
    color: var(--gold);
}

.category-role-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--gold);
    transform: rotate(45deg);
    opacity: 0.7;
    transition: all 0.3s;
}

.category-role-list li:hover::before {
    transform: rotate(225deg) scale(1.2);
    opacity: 1;
    box-shadow: 0 0 5px var(--gold);
}

/* Listings Page Styles */
.filters-section {
    padding: 120px 0 2rem 0;
    /* Added top padding to account for fixed navbar */
    background: var(--navy);
    position: relative;
    z-index: 10;
}

.filter-container {
    background: rgba(46, 53, 88, 0.4);
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(212, 175, 122, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    backdrop-filter: blur(10px);
}

.search-wrapper {
    flex: 1;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 1rem 1.5rem;
    padding-right: 3rem;
    background: rgba(15, 20, 38, 0.6);
    border: 1px solid rgba(212, 175, 122, 0.2);
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: all 0.3s;
}

.search-input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 15px rgba(212, 175, 122, 0.1);
}

.search-icon {
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold);
    opacity: 0.7;
}

.filter-categories {
    display: flex;
    gap: 1rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 1px solid rgba(212, 175, 122, 0.3);
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(212, 175, 122, 0.1);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    transition: width 0.6s ease, height 0.6s ease;
}

.filter-btn:hover::before {
    width: 200%;
    height: 200%;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(212, 175, 122, 0.05);
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    padding: 2rem 0 6rem 0;
}

.property-card {
    background: rgba(46, 53, 88, 0.2);
    border: 1px solid rgba(212, 175, 122, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    display: flex;
    flex-direction: column;
}

.property-card:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 122, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.property-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.1);
}

.property-badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    gap: 0.5rem;
    z-index: 2;
}

.badge {
    padding: 0.35rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(15, 20, 38, 0.9);
    border: 1px solid var(--gold);
    color: var(--gold);
    backdrop-filter: blur(5px);
}

.badge.featured {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}

.property-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.property-price {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.75rem;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.property-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-weight: 600;
    line-height: 1.4;
}

.property-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.property-location svg {
    color: var(--gold);
    width: 16px;
    height: 16px;
}

.models-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold);
    margin-bottom: 0.75rem;
    opacity: 0.8;
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.model-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 0.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.model-name {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.model-details {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.property-features {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.feature svg {
    color: var(--gold);
    width: 18px;
    height: 18px;
}

/* Contact Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 20, 38, 0.9);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    background: var(--navy);
    border: 1px solid var(--gold);
    width: 90%;
    max-width: 500px;
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: var(--text-muted);
    font-size: 2rem;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}

.modal-close:hover {
    color: var(--gold);
}

.modal-content h2 {
    color: var(--gold);
    font-size: 2rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.modal-content p {
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 2rem;
}

#contactForm {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

#contactForm input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 122, 0.3);
    padding: 1rem;
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: all 0.3s;
}

#contactForm input:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.1);
}

#contactForm button {
    width: 100%;
    margin-top: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

/* Success Message Animation */
.success-animation {
    text-align: center;
    padding: 1rem;
}

.checkmark {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: var(--gold);
    stroke-miterlimit: 10;
    margin: 0 auto 1.5rem;
    box-shadow: inset 0px 0px 0px var(--gold);
    animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}

.checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: var(--gold);
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes scale {

    0%,
    100% {
        transform: none;
    }

    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

@keyframes fill {
    100% {
        box-shadow: inset 0px 0px 0px 30px transparent;
    }
}

/* Contact Gate Overlay - Property Detail Page */
.contact-gate-overlay {
    display: none;
    position: fixed;
    z-index: 900;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 20, 38, 0.35);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    align-items: center;
    justify-content: center;
}

.contact-gate-box {
    background: var(--navy);
    border: 2px solid var(--gold);
    width: 90%;
    max-width: 500px;
    padding: 3rem 2.5rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

.contact-gate-box h2 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--gold);
    font-size: 2.2rem;
    margin-bottom: 1rem;
    text-align: center;
    font-style: italic;
}

.contact-gate-box p {
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.contact-gate-box .form-group {
    margin-bottom: 1.5rem;
}

.contact-gate-box label {
    display: block;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.contact-gate-box input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 122, 0.3);
    padding: 1rem;
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: all 0.3s;
}

.contact-gate-box input:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.1);
}

.contact-gate-box input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.contact-gate-box button {
    width: 100%;
    margin-top: 1rem;
}

/* Contact Page Styles */
.contact-page-content {
    background: var(--navy);
    padding: 6rem 0;
    min-height: 80vh;
}

.contact-page-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-page-header h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 1rem;
    font-style: italic;
}

.contact-page-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.contact-page-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form-section h2,
.contact-info-section h3 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--gold);
    font-size: 2rem;
    margin-bottom: 2rem;
    font-style: italic;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 122, 0.3);
    padding: 1rem;
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

#contactPageForm button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.form-success-message {
    background: rgba(46, 53, 88, 0.5);
    border: 2px solid var(--gold);
    padding: 3rem;
    text-align: center;
}

.form-success-message .success-icon {
    color: var(--gold);
    margin: 0 auto 1.5rem;
}

.form-success-message h3 {
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.form-success-message p {
    color: var(--text-muted);
}

.contact-info-card {
    background: rgba(46, 53, 88, 0.3);
    border: 1px solid rgba(212, 175, 122, 0.2);
    padding: 2.5rem;
    margin-bottom: 2rem;
}

.contact-info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(212, 175, 122, 0.1);
}

.contact-info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-info-item svg {
    color: var(--gold);
    flex-shrink: 0;
}

.contact-info-item h4 {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.contact-info-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 122, 0.3);
    color: var(--gold);
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}

@media (max-width: 992px) {
    .contact-page-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Partners Page Styles */
.partners-section {
    padding: 100px 0 6rem 0;
    background: var(--navy);
}

.partners-category {
    margin-bottom: 4rem;
}

.category-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.category-name::after {
    content: '';
    display: block;
    width: 60%;
    height: 2px;
    background: var(--gold);
    margin: 0.5rem auto 0;
    opacity: 0.5;
}

.partner-card {
    background: rgba(46, 53, 88, 0.2);
    border: 1px solid rgba(212, 175, 122, 0.1);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s;
    height: 100%;
}

.partner-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.partner-logo {
    height: 80px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo img {
    max-height: 100%;
    max-width: 100%;
    filter: grayscale(100%) brightness(1.2);
    transition: all 0.3s;
}

.partner-card:hover .partner-logo img {
    filter: grayscale(0%) brightness(1);
}

.partner-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-weight: 600;
}

.partner-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }

    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .vision-mission-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .vision-mission-horizontal {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .vision-mission-image img {
        height: 400px;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        padding: 2rem;
    }

    .team-section-description {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid rgba(212, 175, 122, 0.3);
        padding-top: 1rem;
    }

    .team-categories-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 60px;
        /* Reduced top offset */
        left: 0;
        width: 100%;
        height: auto;
        /* Allow content to dictate height, but usually capped */
        min-height: calc(100vh - 60px);
        background: rgba(15, 20, 38, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        align-items: flex-start;
        /* Left align items */
        padding: 1.5rem;
        /* Reduced padding */
        border-top: 1px solid rgba(212, 175, 122, 0.1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        gap: 0;
        /* Remove gap, use padding on items */
        z-index: 999;
        margin: 0;
        text-align: left;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu .mobile-only {
        display: block;
    }

    .nav-menu a {
        font-size: 1.1rem;
        /* Smaller font size */
        display: block;
        padding: 1rem 0;
        /* Vertical padding only */
        border-bottom: 1px solid rgba(212, 175, 122, 0.05);
        color: var(--text-light);
    }

    .nav-menu .mobile-contact-btn {
        display: block;
        margin-top: 1rem;
        /* Reduced from 1.5rem */
        padding: 0.8rem;
        font-size: 1rem;
        background: var(--gold);
        /* Filled button for better visibility */
        color: var(--navy) !important;
        /* Contrast text */
        border: 1px solid var(--gold);
        text-align: center;
        border-radius: 4px;
        width: 100%;
        font-weight: 700;
    }

    /* Show when active */
    .nav-menu.active {
        display: flex;
        animation: slideDown 0.3s ease-out;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .navbar .container {
        position: relative;
        /* Ensure container is relative for absolute positioning if needed */
    }

    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: 1px solid rgba(212, 175, 122, 0.3);
        color: var(--gold);
        cursor: pointer;
        padding: 0.5rem;
        transition: all 0.3s;
    }

    .mobile-menu-toggle.active {
        background: rgba(212, 175, 122, 0.1);
        border-color: var(--gold);
    }

    .nav-brand {
        gap: 8px;
    }

    .brand-logo {
        height: 40px;
    }

    .compass-logo {
        height: 20px;
        margin-left: 8px;
    }

    .brand-name {
        font-size: 1.1rem;
    }

    .brand-name {
        font-size: 0.9rem;
        /* Reduced to fit small screens */
    }

    .brand-slogan {
        font-size: 0.45rem;
        /* Reduced to fit small screens */
        letter-spacing: 0.5px;
    }

    .nav-actions {
        gap: 0.5rem;
    }

    .nav-actions .lang-dropdown,
    .nav-actions .btn-primary {
        display: none;
        /* Hide desktop language switch and contact button on mobile */
    }

    .mobile-lang-dropdown-container {
        width: 100%;
        margin-top: 1rem;
        /* Standard spacing, not pushing to bottom */
        padding-top: 1rem;
        border-top: 1px solid rgba(212, 175, 122, 0.1);
    }

    .mobile-lang-dropdown {
        width: 100%;
        position: relative;
    }

    .mobile-lang-toggle {
        display: flex;
        align-items: center;
        width: 100%;
        padding: 0.5rem 0.75rem;
        /* Match desktop padding */
        background: transparent;
        /* Match desktop bg */
        border: none;
        /* Match desktop border */
        border-radius: 0;
        color: var(--text-light);
        /* Match desktop color */
        font-size: 0.95rem;
        /* Match desktop font size */
        font-weight: 600;
        /* Match desktop font weight */
        letter-spacing: 0.5px;
        /* Match desktop letter spacing */
        cursor: pointer;
        justify-content: flex-start;
        /* Align left similar to desktop */
        font-family: 'Montserrat', sans-serif;
        gap: 0.5rem;
        /* Match desktop gap */
    }

    .mobile-lang-toggle:hover {
        color: var(--gold);
        /* Match desktop hover */
    }

    .mobile-lang-toggle .mobile-lang-current {
        flex-grow: 1;
        /* Keep arrow pushed to right if desired, or remove to fully match PC */
        text-align: left;
    }

    .mobile-lang-toggle .flag-icon {
        margin-right: 0.5rem;
        color: var(--gold);
        flex-shrink: 0;
    }

    .mobile-lang-toggle .mobile-lang-arrow {
        transition: transform 0.3s;
    }

    .mobile-lang-dropdown.open .mobile-lang-arrow {
        transform: rotate(180deg);
    }

    .mobile-lang-options {
        display: none;
        flex-direction: column;
        margin-top: 0.5rem;
        background: rgba(15, 20, 38, 0.5);
        border-radius: 8px;
        overflow: hidden;
    }

    .mobile-lang-dropdown.open .mobile-lang-options {
        display: flex;
    }

    .mobile-lang-option {
        padding: 0.8rem 1rem;
        color: var(--text-light);
        text-decoration: none;
        border-bottom: 1px solid rgba(212, 175, 122, 0.05);
        font-size: 0.95rem;
        transition: background 0.2s;
        padding-left: 2.5rem;
        /* Indent to align with text */
    }

    .mobile-lang-option:last-child {
        border-bottom: none;
    }

    .mobile-lang-option:hover {
        background: rgba(212, 175, 122, 0.1);
        color: var(--gold);
    }
}

.lang-toggle-btn {
    transition: all 0.3s;
}

.lang-toggle-btn:hover {
    background: rgba(212, 175, 122, 0.1);
    border-color: var(--gold);
}

.hero-title {
    font-size: 3.5rem;
}

.team-grid {
    grid-template-columns: 1fr;
}

.team-member-card {
    max-width: 400px;
    margin: 0 auto;
}

.team-categories-container {
    grid-template-columns: 1fr;
}

.filter-container {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1.5rem;
}

.search-wrapper,
.filter-categories {
    width: 100%;
}

.filter-categories {
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.properties-grid {
    grid-template-columns: 1fr;
}
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .vision-mission-image img {
        height: 300px;
    }

    .team-section-title {
        font-size: 1.75rem;
    }

    .modal-content {
        width: 95%;
        padding: 2rem 1.5rem;
    }
}

.page-top-padding {
    padding-top: 140px;
}

/* ========================================= */
/* APPENDED FROM SOURCE STYLES.CSS */
/* ========================================= */

/* Imported from listings.css */
/* ========================================= */

/* Search and Filter Section */
.search-filter-section {
    display: flex;
    gap: 1rem;
    margin: 3rem 0 2rem;
    flex-wrap: wrap;
    align-items: flex-start;
}

/* Search Bar */
.search-bar {
    flex: 1;
    min-width: 300px;
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 1rem;
    color: var(--gold);
    pointer-events: none;
    z-index: 1;
}

.search-bar input {
    width: 100%;
    padding: 1rem 3rem 1rem 3rem;
    background: rgba(46, 53, 88, 0.5);
    border: 2px solid rgba(212, 175, 122, 0.3);
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
}

.price-on-request {
    font-size: 0.9rem;
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 0.3rem 0.6rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-on-request:hover {
    background-color: var(--gold);
    color: var(--main-blue);
}



.search-bar input:hover {
    border-color: rgba(212, 175, 122, 0.5);
    background: rgba(46, 53, 88, 0.6);
}

.search-bar input:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(46, 53, 88, 0.7);
    box-shadow: 0 0 0 3px rgba(212, 175, 122, 0.1);
}

.search-bar input::placeholder {
    color: var(--text-muted);
}

.clear-search {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    border-radius: 50%;
    z-index: 1;
}

.clear-search:hover {
    color: var(--gold);
    background: rgba(212, 175, 122, 0.1);
    transform: rotate(90deg);
}

/* Advanced Filters */
.advanced-filters {
    position: relative;
}

.filter-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: rgba(46, 53, 88, 0.5);
    border: 2px solid rgba(212, 175, 122, 0.3);
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 140px;
    justify-content: center;
}

.filter-toggle:hover {
    border-color: var(--gold);
    background: rgba(46, 53, 88, 0.7);
}

.filter-toggle svg {
    color: var(--gold);
    flex-shrink: 0;
}

.filter-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: rgba(26, 31, 58, 0.98);
    backdrop-filter: blur(10px);
    border: 2px solid var(--gold);
    padding: 2rem;
    min-width: 380px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(212, 175, 122, 0.1);
    z-index: 100;
    display: none;
    flex-direction: column;
    gap: 1.5rem;
    animation: dropdownSlide 0.3s ease-out;
}

@keyframes dropdownSlide {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.filter-dropdown.active {
    display: flex;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.filter-group label {
    font-family: 'Montserrat', sans-serif;
    color: var(--gold);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-group select {
    padding: 0.85rem 1rem;
    background: rgba(46, 53, 88, 0.5);
    border: 2px solid rgba(212, 175, 122, 0.3);
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23D4AF7A' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.filter-group select:hover {
    border-color: rgba(212, 175, 122, 0.5);
    background-color: rgba(46, 53, 88, 0.6);
}

.filter-group select:focus {
    outline: none;
    border-color: var(--gold);
    background-color: rgba(46, 53, 88, 0.7);
    box-shadow: 0 0 0 3px rgba(212, 175, 122, 0.1);
}

.filter-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(212, 175, 122, 0.2);
}

.filter-actions button {
    flex: 1;
    padding: 0.85rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s;
}

.filter-actions .btn-secondary {
    background: transparent;
    border: 2px solid rgba(212, 175, 122, 0.4);
    color: var(--text-light);
}

.filter-actions .btn-secondary:hover {
    border-color: var(--gold);
    background: rgba(212, 175, 122, 0.1);
    color: var(--gold);
}

.filter-actions .btn-primary {
    background: var(--gold);
    color: var(--navy);
    border: 2px solid var(--gold);
}

.filter-actions .btn-primary:hover {
    background: #C49A5F;
    border-color: #C49A5F;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 122, 0.3);
}

/* Results Count */
.results-count {
    text-align: center;
    margin: 1rem 0 2rem;
    color: #E8E8E8;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Filter Tabs */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 2rem 0 3rem;
}

.filter-tab {
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
    padding: 0.75rem 2rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    font-family: 'Montserrat', sans-serif;
}

.filter-tab:hover {
    background: rgba(212, 175, 122, 0.1);
}

.filter-tab.active {
    background: var(--gold);
    color: var(--navy);
}

/* Listings Section */
.listings-content {
    padding: 7rem 0 6rem 0;
    background: var(--navy);
}

/* Listings Grid as UL/LI Structure */
.listings-grid {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0 0 1rem;
    list-style: none;
    margin-block-start: 0;
    margin-block-end: 0;
    padding-inline-start: 0;
}

.listings-grid .listing-card {
    list-style: none;
}

.listing-card {
    background: rgba(46, 53, 88, 0.3);
    overflow: hidden;
    border: 1px solid rgba(212, 175, 122, 0.1);
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.listing-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 15px 40px rgba(212, 175, 122, 0.3);
}

.listing-card.hidden {
    display: none;
}

.listing-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.listing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: grayscale(10%) brightness(0.95);
    transition: all 0.3s;
}

.listing-card:hover .listing-image img {
    transform: scale(1.05);
    filter: grayscale(0%) brightness(1.05);
}

.listing-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.listing-badge.sold {
    background: rgba(150, 150, 150, 0.95);
    color: white;
}

.listing-badge.active {
    background: rgba(76, 175, 80, 0.95);
    color: white;
}

.listing-badge.coming-soon {
    background: rgba(212, 175, 122, 0.95);
    color: var(--navy);
}

.listing-info {
    padding: 1.5rem;
}

.listing-info h3 {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.listing-location {
    color: var(--gold);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.listing-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.listing-details {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(212, 175, 122, 0.1);
}

.listing-details span {
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    background: rgba(212, 175, 122, 0.1);
    border-radius: 4px;
}

.listing-price {
    font-size: 1.75rem;
    color: var(--gold);
    font-weight: 700;
    margin-top: 1rem;
}

.listing-status-text {
    font-size: 1rem;
    color: var(--gold);
    font-weight: 600;
    font-style: italic;
    margin-top: 1rem;
}

/* Simplified Property Cards - Blue-Gold Theme */
.listing-card.simple-card {
    background: rgba(46, 53, 88, 0.3);
    overflow: hidden;
    border: 1px solid rgba(212, 175, 122, 0.1);
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    width: calc(33.33% - 20px);
    margin: 0 10px 15px 10px;
    position: relative;
}

.listing-card.simple-card:hover {
    border-color: var(--gold);
}

.listing-card.simple-card .listing-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.listing-card.simple-card .listing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: grayscale(10%) brightness(0.95);
    transition: all 0.3s;
}

.listing-card.simple-card:hover .listing-image img {
    transform: scale(1.05);
    filter: grayscale(0%) brightness(1.05);
}

.listing-card.simple-card .photo-count {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.15rem 0.4rem;
    font-size: 0.65rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.listing-card.simple-card .photo-count::before {
    content: "📷";
    font-size: 0.6rem;
}

/* Property Details Row */
.property-details-row {
    position: absolute;
    bottom: 0.5rem;
    left: 0.5rem;
    right: 0.5rem;
    display: flex;
    gap: 0.5rem;
    font-size: 0.7rem;
    font-weight: 600;
}

.property-detail-item {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.2rem 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.listing-info-simple {
    padding: 1rem;
    background: rgba(46, 53, 88, 0.3);
}

.listing-price-large {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.3rem;
    font-family: 'Montserrat', sans-serif;
}

.listing-status-badge {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
    margin-left: 0.5rem;
}

.listing-status-badge.active {
    background: rgba(76, 175, 80, 0.95);
    color: white;
}

.listing-status-badge.sold {
    background: rgba(150, 150, 150, 0.95);
    color: white;
}

.listing-status-badge.coming-soon {
    background: rgba(212, 175, 122, 0.95);
    color: var(--navy);
}

/* Sold listings styling */
.listing-card.sold-listing .listing-image img {
    filter: grayscale(100%) brightness(0.8);
}

.listing-card.sold-listing:hover .listing-image img {
    filter: grayscale(90%) brightness(0.9);
}

.listing-card.sold-listing .listing-price-large {
    color: var(--text-muted);
}

.listing-address-main {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 600;
    line-height: 1.3;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 0.3rem;
}

.listing-agent-info {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Simplified Skeleton Loading for LI elements */
.skeleton-card.simple-skeleton {
    background: white;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    animation: pulse 1.5s ease-in-out infinite;
    list-style: none;
    width: calc(33.33% - 20px);
    margin: 0 10px 15px 10px;
}

.skeleton-card.simple-skeleton .skeleton-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(90deg,
            #f0f0f0 25%,
            #e0e0e0 50%,
            #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

.skeleton-info-simple {
    padding: 1rem;
}

.skeleton-info-simple .skeleton-line {
    height: 12px;
    background: linear-gradient(90deg,
            #f0f0f0 25%,
            #e0e0e0 50%,
            #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
    margin-bottom: 0.75rem;
}

.skeleton-price-large {
    width: 60%;
    height: 24px;
}

.skeleton-status {
    width: 30%;
    height: 16px;
}

.skeleton-address {
    width: 80%;
    height: 16px;
}

@media (max-width: 768px) {
    .search-filter-section {
        flex-direction: column;
        margin: 2rem 0 1.5rem;
    }

    .search-bar {
        min-width: 100%;
    }

    .filter-dropdown {
        right: auto;
        left: 0;
        min-width: 100%;
        max-width: 100%;
        padding: 1.5rem;
    }

    .listings-grid {
        grid-template-columns: 1fr;
    }

    .listings-content {
        padding: 3rem 0;
    }

    .filter-tabs {
        gap: 0.4rem;
        margin: 1.5rem 0 2rem;
    }

    .filter-tab {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }

    .load-more-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .listing-card {
        margin-bottom: 0;
    }

    .listing-image {
        height: 200px;
    }

    .listing-info {
        padding: 1.25rem;
    }

    .listing-info h3 {
        font-size: 1.3rem;
    }

    .listing-price {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .listing-info h3 {
        font-size: 1.2rem;
    }

    .listing-price {
        font-size: 1.3rem;
    }

    .filter-tabs {
        margin: 1rem 0 1.5rem;
    }

    .listings-content {
        padding: 2rem 0;
    }

    .listing-image {
        height: 180px;
    }

    .listing-info {
        padding: 1rem;
    }

    .listing-desc {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }

    .listing-details {
        gap: 0.75rem;
        margin-bottom: 0.75rem;
        padding-top: 0.75rem;
    }

    .listing-details span {
        font-size: 0.8rem;
        padding: 0.2rem 0.6rem;
    }
}

/* MLS Listing Enhancements */
.listing-mls-info {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(212, 175, 122, 0.1);
}

.mls-number {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.photo-count {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
}

.listing-card {
    cursor: pointer;
}

/* Loading States */
.loading-state,
.no-results,
.error-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-light);
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(212, 175, 122, 0.2);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1.5rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Skeleton Loading */
.skeleton-card {
    background: rgba(46, 53, 88, 0.3);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 122, 0.1);
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

.skeleton-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(90deg,
            rgba(46, 53, 88, 0.5) 25%,
            rgba(58, 67, 98, 0.5) 50%,
            rgba(46, 53, 88, 0.5) 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.skeleton-info {
    padding: 1.5rem;
}

.skeleton-line {
    height: 12px;
    background: linear-gradient(90deg,
            rgba(46, 53, 88, 0.5) 25%,
            rgba(58, 67, 98, 0.5) 50%,
            rgba(46, 53, 88, 0.5) 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
    border-radius: 4px;
    margin-bottom: 0.75rem;
}

.skeleton-title {
    width: 80%;
    height: 20px;
}

.skeleton-location {
    width: 50%;
    height: 14px;
}

.skeleton-desc {
    width: 100%;
    height: 12px;
}

.skeleton-details {
    display: flex;
    gap: 0.5rem;
    margin: 1rem 0;
}

.skeleton-badge {
    width: 60px;
    height: 24px;
    background: linear-gradient(90deg,
            rgba(46, 53, 88, 0.5) 25%,
            rgba(58, 67, 98, 0.5) 50%,
            rgba(46, 53, 88, 0.5) 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
    border-radius: 4px;
}

.skeleton-price {
    width: 40%;
    height: 24px;
}

/* Load More Button */
.load-more-container {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 0;
}

.load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    transition: all 0.3s;
}

.load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 122, 0.3);
}

.load-more-btn svg {
    transition: transform 0.3s;
}

.load-more-btn:hover svg {
    transform: translateY(3px);
}

.load-more-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gold);
    color: var(--navy);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #C49A5F;
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(212, 175, 122, 0.4);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* Listing Details Modal - Fixed Size */
.listing-details-modal .modal-content {
    width: 1100px;
    height: 650px;
    max-width: 95vw;
    max-height: 90vh;
    padding: 0;
    display: flex;
    flex-direction: row;
    overflow: hidden;
}

/* Left side - Gallery */
.listing-gallery {
    flex: 0 0 55%;
    position: relative;
    background: rgba(26, 31, 58, 0.8);
    overflow: hidden;
}

.listing-gallery-main {
    width: 100%;
    height: 100%;
    position: relative;
}

.listing-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-nav {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.6);
    padding: 0.75rem 1rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

.gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s;
}

.gallery-dot.active {
    background: var(--gold);
    width: 24px;
    border-radius: 4px;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
}

.gallery-arrow:hover {
    background: rgba(212, 175, 122, 0.8);
}

.gallery-arrow.prev {
    left: 1rem;
}

.gallery-arrow.next {
    right: 1rem;
}

.photo-counter {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(5px);
}

/* Right side - Info */
.listing-details-info {
    flex: 1;
    padding: 0;
    overflow: hidden;
    background: rgba(35, 40, 80, 0.95);
    display: flex;
    flex-direction: column;
}

.listing-details-header {
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid rgba(212, 175, 122, 0.2);
}

.listing-details-info h2 {
    font-size: 1.4rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.listing-price-large {
    font-size: 1.8rem;
    color: var(--gold);
    font-weight: 700;
}

/* Tabs Navigation */
.listing-tabs {
    display: flex;
    border-bottom: 2px solid rgba(212, 175, 122, 0.2);
    background: rgba(26, 31, 58, 0.5);
}

.listing-tab {
    flex: 1;
    padding: 0.85rem 1rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.listing-tab:hover {
    color: var(--text-light);
    background: rgba(212, 175, 122, 0.05);
}

.listing-tab.active {
    color: var(--gold);
    background: rgba(212, 175, 122, 0.1);
}

.listing-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold);
}

/* Tab Content */
.listing-tab-content {
    display: none;
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
}

.listing-tab-content.active {
    display: block;
}

.listing-tab-content::-webkit-scrollbar {
    width: 6px;
}

.listing-tab-content::-webkit-scrollbar-track {
    background: rgba(46, 53, 88, 0.3);
}

.listing-tab-content::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 3px;
}

/* Overview Tab */
.listing-specs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(46, 53, 88, 0.4);
    border-radius: 8px;
}

.spec-item {
    text-align: center;
}

.spec-label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.spec-value {
    display: block;
    font-size: 1.1rem;
    color: var(--gold);
    font-weight: 700;
}

.listing-description-short {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.listing-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(46, 53, 88, 0.3);
    border-radius: 6px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.highlight-item svg {
    width: 18px;
    height: 18px;
    color: var(--gold);
    flex-shrink: 0;
}

/* Details Tab */
.listing-description-full {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.listing-features {
    margin-bottom: 1.5rem;
}

.listing-features h3 {
    font-size: 1rem;
    color: var(--gold);
    margin-bottom: 0.75rem;
}

.listing-features ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.listing-features li {
    color: var(--text-light);
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.85rem;
}

.listing-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
}

.property-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem;
    background: rgba(46, 53, 88, 0.3);
    border-radius: 6px;
    font-size: 0.85rem;
}

.detail-label {
    color: var(--text-muted);
}

.detail-value {
    color: var(--text-light);
    font-weight: 600;
}

/* Agent Tab */
.listing-agent-info {
    padding: 0;
}

.agent-card {
    background: rgba(46, 53, 88, 0.4);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.agent-card h3 {
    font-size: 1.2rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.agent-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.agent-detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.agent-detail-item svg {
    width: 18px;
    height: 18px;
    color: var(--gold);
    flex-shrink: 0;
}

.mls-info {
    padding: 1rem;
    background: rgba(26, 31, 58, 0.6);
    border-radius: 6px;
    border-left: 3px solid var(--gold);
}

.mls-info p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0.25rem 0;
}

/* Actions Footer */
.listing-actions-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(212, 175, 122, 0.2);
    background: rgba(26, 31, 58, 0.5);
    display: flex;
    gap: 0.75rem;
}

.listing-actions-footer button,
.listing-actions-footer a {
    flex: 1;
    padding: 0.85rem;
    font-size: 0.9rem;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: rgba(212, 175, 122, 0.1);
}

/* Email Request Form - Compact */
.email-request-form {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10001;
    background: rgba(26, 31, 58, 0.98);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--gold);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    min-width: 450px;
    max-width: 90vw;
    animation: popIn 0.3s ease-out;
}

.email-request-form.active {
    display: block;
}

@keyframes popIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.email-request-form h3 {
    font-size: 1.3rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.email-request-form p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.email-request-form input {
    width: 100%;
    padding: 0.85rem;
    background: rgba(46, 53, 88, 0.5);
    border: 2px solid rgba(212, 175, 122, 0.3);
    border-radius: 4px;
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    transition: all 0.3s;
    font-family: 'Montserrat', sans-serif;
}

.email-request-form input:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(46, 53, 88, 0.7);
}

.email-request-form input::placeholder {
    color: var(--text-muted);
}

.email-request-form .form-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.email-request-form .form-actions button {
    flex: 1;
    padding: 0.85rem;
}

.form-message {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
    text-align: center;
}

.form-message.success {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border: 1px solid #4CAF50;
}

.form-message.error {
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
    border: 1px solid #f44336;
}

.email-form-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
}

.email-form-overlay.active {
    display: block;
}

/* Responsive */
@media (max-width: 1150px) {
    .listing-details-modal .modal-content {
        width: 95vw;
        height: 85vh;
    }
}

@media (max-width: 968px) {
    .listing-details-modal .modal-content {
        flex-direction: column;
        width: 95vw;
        height: 90vh;
    }

    .listing-gallery {
        flex: 0 0 40%;
        min-height: 300px;
    }

    .listing-details-info {
        flex: 1;
    }
}

@media (max-width: 768px) {
    .listing-details-modal .modal-content {
        width: 100vw;
        height: 100vh;
        max-width: 100vw;
        max-height: 100vh;
        border-radius: 0;
    }

    .listing-gallery {
        min-height: 250px;
        flex: 0 0 35%;
    }

    .listing-specs {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .listing-highlights {
        grid-template-columns: 1fr;
    }

    .listing-features ul {
        grid-template-columns: 1fr;
    }

    .property-details-grid {
        grid-template-columns: 1fr;
    }

    .listing-price-large {
        font-size: 1.5rem;
    }

    .listing-details-info h2 {
        font-size: 1.2rem;
    }

    .listing-details-header {
        padding: 1.25rem;
    }

    .listing-tab-content {
        padding: 1.25rem;
    }

    .listing-tab {
        font-size: 0.75rem;
        padding: 0.75rem 0.5rem;
    }

    .listing-actions-footer {
        flex-direction: column;
        padding: 1rem;
    }

    .email-request-form {
        min-width: 90vw;
        padding: 1.5rem;
    }
}

/* Responsive for Grid Layout with UL/LI */
@media (max-width: 1024px) {

    .listings-grid .listing-card,
    .listings-grid .skeleton-card {
        width: calc(50% - 20px);
    }

    .listing-card.simple-card .listing-image {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .listings-grid {
        padding: 0 0.5rem;
    }

    .listings-grid .listing-card,
    .listings-grid .skeleton-card {
        width: calc(100% - 20px);
    }

    .listing-card.simple-card .listing-image {
        height: 200px;
    }

    .listing-price-large {
        font-size: 1.5rem;
    }

    .listing-address-main {
        font-size: 1rem;
    }

    .listing-info-simple {
        padding: 1rem;
    }

    .property-details-row {
        flex-wrap: wrap;
        gap: 0.3rem;
    }

    .property-detail-item {
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .listing-card.simple-card .listing-image {
        height: 180px;
    }

    .listing-price-large {
        font-size: 1.3rem;
    }

    .listing-address-main {
        font-size: 0.9rem;
    }

    .listing-info-simple {
        padding: 0.75rem;
    }

    .property-details-row {
        bottom: 0.3rem;
        left: 0.3rem;
        right: 0.3rem;
    }
}

/* New Search and Filter Section - Blue-Gold Theme */
.search-filter-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
    padding: 1.5rem;
    background: rgba(46, 53, 88, 0.3);
    border: 1px solid rgba(212, 175, 122, 0.1);
    flex-wrap: wrap;
}

/* Main Search Bar */
.main-search-bar {
    flex: 1;
    min-width: 300px;
    position: relative;
    display: flex;
    align-items: center;
}

.main-search-bar .search-icon {
    position: absolute;
    left: 1rem;
    color: var(--gold);
    pointer-events: none;
    z-index: 1;
}

.main-search-bar input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 3rem;
    border: 1px solid rgba(212, 175, 122, 0.3);
    background: rgba(46, 53, 88, 0.5);
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.main-search-bar input:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(46, 53, 88, 0.7);
    box-shadow: 0 0 0 2px rgba(212, 175, 122, 0.1);
}

.main-search-bar input::placeholder {
    color: var(--text-muted);
}

/* Filter Dropdowns */
.filter-dropdowns {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}



/* Filter Dropdowns - Updated for PC sizing */
/* Filter Buttons */
.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(212, 175, 122, 0.4);
    background: rgba(26, 31, 58, 0.6);
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 120px;
    border-radius: 0;
    backdrop-filter: blur(4px);
}

.filter-btn:hover {
    background-color: rgba(46, 53, 88, 0.8);
    border-color: var(--gold);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.filter-btn.active {
    background-color: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
    font-weight: 600;
}



/* View Toggle */
.view-toggle {
    display: flex;
    gap: 0.25rem;
    margin-left: auto;
}

.view-btn {
    padding: 0.75rem;
    border: 1px solid rgba(212, 175, 122, 0.3);
    background: rgba(46, 53, 88, 0.5);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(46, 53, 88, 0.6);
}

.view-btn.active {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
}

.view-btn svg {
    width: 16px;
    height: 16px;
}

/* List View Styles - Blue-Gold Theme */
.listings-grid.list-view {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.listings-grid.list-view .listing-card.simple-card {
    width: 100%;
    margin: 0;
    display: flex;
    flex-direction: row;
    height: 200px;
    background: rgba(46, 53, 88, 0.3);
    border: 1px solid rgba(212, 175, 122, 0.1);
}

.listings-grid.list-view .listing-card.simple-card .listing-image {
    flex: 0 0 300px;
    height: 100%;
}

.listings-grid.list-view .listing-card.simple-card .listing-info-simple {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: rgba(46, 53, 88, 0.3);
}

.listings-grid.list-view .listing-card.simple-card .property-details-row {
    position: static;
    background: transparent;
    color: var(--text-light);
    margin-top: 1rem;
}

.listings-grid.list-view .listing-card.simple-card .property-detail-item {
    background: rgba(212, 175, 122, 0.1);
    color: var(--text-light);
    padding: 0.3rem 0.6rem;
    font-size: 0.8rem;
}

/* Responsive for new search design */
/* Responsive Mobile Redesign - Boyenga Style */
@media (max-width: 768px) {
    .search-filter-section {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        gap: 0.5rem;
        margin: 0.5rem 0;
        padding: 0.25rem;
        align-items: center;
        background: transparent;
        border: none;
    }

    /* Row 1: Search Bar (Left) */
    .main-search-bar {
        grid-column: 1;
        grid-row: 1;
        width: 100%;
        min-width: 0;
    }

    .main-search-bar input {
        background: rgba(26, 31, 58, 0.8);
        border: 1px solid rgba(212, 175, 122, 0.4);
        border-radius: 0;
        /* Sharp corners */
        height: 46px;
        /* Explicit height for alignment */
    }

    /* Hide View Toggle on Mobile */
    .view-toggle {
        display: none !important;
    }

    /* Row 2: Scrollable Filters */
    .filter-dropdowns {
        grid-column: 1 / -1;
        /* Full Width */
        grid-row: 2;
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 0.75rem;
        padding: 4px 0 12px 0;
        /* Space for scroll */
        justify-content: flex-start;
        scrollbar-width: none;
        /* Firefox */
        -webkit-overflow-scrolling: touch;
    }

    .filter-dropdowns::-webkit-scrollbar {
        display: none;
        /* Hide scrollbar for cleaner look */
    }

    .filter-btn {
        min-width: auto;
        padding: 0.35rem 1rem;
        font-size: 0.75rem;
        white-space: nowrap;
        background-color: rgba(26, 31, 58, 0.8);
        /* Slightly darker/solid for better mobile readability */
        height: 34px;
        /* Consistent height */
        flex: 0 0 auto;
    }

    .results-count {
        margin: 0.5rem 0 1rem;
        font-size: 0.85rem;
    }

    /* List View Adjustments */
    .listings-grid.list-view .listing-card.simple-card {
        flex-direction: column;
        height: auto;
    }

    .listings-grid.list-view .listing-card.simple-card .listing-image {
        flex: none;
        height: 200px;
    }
}

/* ========================================= */
/* Imported from contact.css */
/* ========================================= */

/* Team Contact Section */
.team-contact-section {
    padding-top: 100px;
    padding-bottom: 0;
    background: var(--navy);
}

/* Contact Section */
.contact-section {
    padding: 0 0 6rem 0;
    background: var(--navy);
}

.contact-content {
    padding: 4rem 2rem;
}

.contact-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.contact-intro {
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    color: var(--text-light);
    font-size: 1.15rem;
    margin-bottom: 3rem;
    line-height: 1.7;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-family: 'Montserrat', sans-serif;
    color: var(--gold);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    font-family: 'Montserrat', sans-serif;
    padding: 1rem;
    border: 2px solid rgba(212, 175, 122, 0.3);
    border-radius: 4px;
    background: rgba(46, 53, 88, 0.5);
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(46, 53, 88, 0.7);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.contact-form .btn-primary {
    width: 100%;
    padding: 1.25rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.team-contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 4rem 2rem;
}

.team-contact-card {
    background: rgba(46, 53, 88, 0.3);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 122, 0.1);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.team-contact-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 15px 40px rgba(212, 175, 122, 0.3);
}

.contact-card-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.contact-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    filter: grayscale(10%) brightness(0.95);
    transition: all 0.3s;
}

.team-contact-card:hover .contact-card-image img {
    filter: grayscale(0%) brightness(1.05);
    transform: scale(1.05);
}

.contact-card-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.contact-card-info h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.contact-role {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: var(--gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(212, 175, 122, 0.1);
}

.contact-phone,
.contact-email {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 500;
}

.contact-license {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-style: italic;
    margin-top: 0.25rem;
}

/* Responsive */
@media (max-width: 1200px) {
    .team-contact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 968px) {
    .team-contact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 2rem 0.5rem;
    }

    .contact-card-image {
        height: 200px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-form {
        gap: 1rem;
    }
}

@media (max-width: 640px) {
    .contact-content {
        padding: 2rem 0.5rem;
    }

    .contact-intro {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .team-contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem 0.5rem;
    }

    .contact-card-image {
        height: 250px;
    }

    .contact-card-info {
        padding: 1.25rem;
    }

    .contact-card-info h3 {
        font-size: 1.3rem;
    }

    .contact-form-wrapper {
        padding: 0 0.5rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .contact-form .btn-primary {
        padding: 1rem;
        font-size: 1rem;
    }
}

/* ========================================= */
/* Imported from team.css */
/* ========================================= */

/* Team Member Layout - 2 Column Grid */
.team-members-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-top: 0;
    padding: 0;
}

.team-member-card {
    display: flex;
    flex-direction: column;
    padding: 1.25rem 1.5rem;
    background: rgba(46, 53, 88, 0.3);
    border: 1px solid rgba(212, 175, 122, 0.1);
    transition: all 0.3s ease;
    gap: 1rem;
}

.team-member-card:hover {
    border-color: rgba(212, 175, 122, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* Row 1: Image + Info */
.member-top-row {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.member-image-div {
    flex: 0 0 100px;
    height: 100px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(212, 175, 122, 0.2);
    transition: all 0.3s ease;
}

.member-image-div img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.3s ease;
}

.member-info-div {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    height: 100px;
    justify-content: center;
}

.member-info-div h3 {
    font-size: 1.15rem;
    color: var(--text-light);
    margin: 0;
    font-weight: 600;
    line-height: 1.2;
}

.member-role {
    font-size: 0.72rem;
    color: var(--gold);
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.member-contact {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    margin-top: 0.2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.68rem;
    color: var(--text-light);
    text-decoration: none;
    opacity: 0.9;
    line-height: 1.1;
}

.contact-item svg {
    width: 12px;
    height: 12px;
    color: var(--gold);
    flex-shrink: 0;
}

.contact-item:hover {
    color: var(--gold);
    opacity: 1;
}

/* Row 2: Bio below - full width */
.member-detail-div {
    background: rgba(26, 31, 58, 0.4);
    padding: 0.8rem 1rem;
    border: 1px solid rgba(212, 175, 122, 0.08);
    height: auto;
    overflow: visible;
}

.member-bio {
    font-size: 0.78rem;
    line-height: 1.55;
    color: var(--text-muted);
    margin: 0;
    opacity: 0.9;
}

/* Remove old classes */
.team-member-row.left,
.team-member-row.right {
    display: none;
}

/* Responsive */
@media (max-width: 968px) {
    .team-members-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

@media (max-width: 640px) {
    .team-members-grid {
        padding: 0 1rem;
    }

    .team-member-card {
        padding: 1rem;
        gap: 0.8rem;
    }

    .member-top-row {
        flex-direction: row;
        align-items: center;
        gap: 0.8rem;
    }

    .member-image-div {
        flex: 0 0 75px;
        height: 75px;
    }

    .member-info-div {
        height: 75px;
    }

    .member-bio {
        font-size: 0.75rem;
    }
}

/* ========================================= */
/* Imported from partners.css */
/* ========================================= */

.partners-content {
    padding: 3rem 0 4rem;
    background: #f5f5f5;
}

.partners-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1f3a;
    margin-bottom: 2rem;
    letter-spacing: 0.3px;
}

.partners-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2.5rem;
}

.partner-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    opacity: 0.7;
}

.partner-logo-item:hover {
    opacity: 1;
    transform: scale(1.05);
}

.partner-logo-item img {
    max-height: 35px;
    width: auto;
    object-fit: contain;
    filter: grayscale(30%);
    transition: all 0.3s;
}

.partner-logo-item:hover img {
    filter: grayscale(0%);
}

@media (max-width: 768px) {
    .partners-logos {
        gap: 2rem;
        justify-content: center;
    }

    .partner-logo-item img {
        max-height: 28px;
    }

    .partners-content {
        padding: 2.5rem 0 3rem;
    }
}

@media (max-width: 480px) {
    .partners-logos {
        gap: 1.5rem;
    }

    .partner-logo-item img {
        max-height: 22px;
    }
}

/* ========================================= */
/* Team Info Bar */
/* ========================================= */

.team-info-bar {
    background: #0d1128;
    padding: 2rem 0;
    border-top: 1px solid rgba(212, 175, 122, 0.15);
}

.team-info-inner {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.team-info-brand {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.team-info-logos {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.team-info-logo {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

.team-info-plus {
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.2rem;
    font-weight: 300;
}

.team-info-compass {
    height: 18px;
    width: auto;
    color: rgba(255, 255, 255, 0.9);
}

.team-info-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 0;
}

.team-info-details {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.team-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.3;
}

.team-info-item svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: var(--gold);
    stroke: var(--gold);
}

.team-info-item:last-child svg {
    color: #e74c3c;
    stroke: #e74c3c;
}

@media (max-width: 768px) {
    .team-info-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .team-info-bar {
        padding: 1.5rem 0;
    }
}

/* ========================================= */
/* Imported from listing-detail.css */
/* ========================================= */

/* Listing Detail Page Styles */

/* Breadcrumb */
.breadcrumb-section {
    background: rgba(35, 40, 80, 0.95);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(212, 175, 122, 0.2);
    backdrop-filter: blur(10px);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--gold);
}

.breadcrumb .separator {
    color: var(--text-muted);
}

.breadcrumb .current {
    color: var(--gold);
    font-weight: 600;
}

/* Main Content */
.listing-detail-main {
    padding: 2rem 0 4rem;
    background: var(--navy);
    min-height: calc(100vh - 80px);
}

/* Body background to match other pages */
body {
    background-color: var(--navy);
}

/* Property Header */
.property-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(212, 175, 122, 0.2);
}

.property-title-section h1 {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.property-meta {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.property-price {
    font-size: 2rem;
    color: var(--gold);
    font-weight: 700;
}

.property-status {
    padding: 0.5rem 1rem;
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.mls-number {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Content Grid */
.property-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

/* Left Column */
.property-left-column {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Photo Gallery */
.property-gallery {
    background: rgba(46, 53, 88, 0.3);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 122, 0.1);
}

.gallery-main {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    pointer-events: none;
}

.gallery-btn {
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    pointer-events: all;
    backdrop-filter: blur(5px);
}

.gallery-btn:hover {
    background: rgba(212, 175, 122, 0.8);
    transform: scale(1.1);
}

.photo-counter {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(5px);
}

.gallery-thumbnails {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    overflow-x: auto;
    background: rgba(26, 31, 58, 0.5);
}

.gallery-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.gallery-thumbnails::-webkit-scrollbar-track {
    background: rgba(46, 53, 88, 0.3);
}

.gallery-thumbnails::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 3px;
}

.thumbnail {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
    flex-shrink: 0;
}

.thumbnail:hover {
    border-color: rgba(212, 175, 122, 0.5);
}

.thumbnail.active {
    border-color: var(--gold);
}

/* Property Sections */
.property-overview,
.property-description,
.property-features {
    background: rgba(46, 53, 88, 0.3);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 122, 0.1);
}

.property-overview h2,
.property-description h2,
.property-features h2 {
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid rgba(212, 175, 122, 0.2);
    padding-bottom: 0.5rem;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.overview-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.overview-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.overview-value {
    color: var(--text-light);
    font-size: 1.2rem;
    font-weight: 600;
}

.description-content {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(26, 31, 58, 0.5);
    border-radius: 6px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.feature-item:before {
    content: "✓";
    color: var(--gold);
    font-weight: bold;
    font-size: 1rem;
}

/* Right Column */
.property-right-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.agent-contact-card,
.property-details-card,
.virtual-tour-card {
    background: rgba(46, 53, 88, 0.4);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 122, 0.1);
}

.agent-contact-card h3,
.property-details-card h3,
.virtual-tour-card h3 {
    color: var(--gold);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.agent-details h4 {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.agent-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.contact-item svg {
    color: var(--gold);
    flex-shrink: 0;
}

.contact-agent-btn {
    width: 100%;
    justify-content: center;
}

.details-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(212, 175, 122, 0.1);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.detail-value {
    color: var(--text-light);
    font-weight: 600;
}

.virtual-tour-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .property-content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .property-header {
        flex-direction: column;
        gap: 2rem;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .property-title-section h1 {
        font-size: 1.8rem;
    }

    .property-price {
        font-size: 1.4rem;
    }

    .property-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .gallery-main {
        height: 250px;
    }

    .overview-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .property-overview,
    .property-description,
    .property-features,
    .agent-contact-card,
    .property-details-card {
        padding: 1.25rem;
    }

    .property-left-column {
        gap: 2rem;
    }

    .property-right-column {
        gap: 1.5rem;
    }

    .listing-detail-main {
        padding: 1.5rem 0 3rem;
    }

    .property-header {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .listing-detail-main {
        padding: 1rem 0 2rem;
    }

    .property-title-section h1 {
        font-size: 1.4rem;
    }

    .property-price {
        font-size: 1.2rem;
    }

    .overview-grid {
        grid-template-columns: 1fr;
    }

    .gallery-thumbnails {
        padding: 0.5rem;
    }

    .thumbnail {
        width: 50px;
        height: 38px;
    }

    .property-overview,
    .property-description,
    .property-features,
    .agent-contact-card,
    .property-details-card {
        padding: 1rem;
    }

    .property-header {
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }

    .property-left-column {
        gap: 1.5rem;
    }

    .property-right-column {
        gap: 1rem;
    }
}

/* Contact Gate Overlay */
.contact-gate-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 20, 38, 0.4);
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.contact-gate-content {
    background: linear-gradient(145deg, rgba(46, 53, 88, 0.95) 0%, rgba(35, 40, 70, 0.95) 100%);
    padding: 1.5rem 1.25rem;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 122, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 1px rgba(212, 175, 122, 0.5);
    max-width: 320px;
    width: 100%;
    text-align: center;
    animation: gateSlideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes gateSlideIn {
    from {
        opacity: 0;
        transform: translateY(-40px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.gate-header {
    margin-bottom: 1.25rem;
}

.gate-logo {
    width: 50px;
    height: auto;
    margin-bottom: 0.75rem;
    opacity: 0.95;
    filter: drop-shadow(0 4px 8px rgba(212, 175, 122, 0.3));
}

.gate-header h2 {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.gate-header p {
    color: rgba(232, 232, 232, 0.7);
    font-size: 0.8rem;
    line-height: 1.3;
}

.gate-form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    text-align: left;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.form-group label {
    color: var(--gold);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.form-group input {
    padding: 0.6rem 0.75rem;
    background: rgba(26, 31, 58, 0.8);
    border: 1px solid rgba(212, 175, 122, 0.25);
    border-radius: 4px;
    color: var(--text-light);
    font-size: 0.85rem;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:hover {
    border-color: rgba(212, 175, 122, 0.4);
    background: rgba(26, 31, 58, 0.9);
}

.form-group input:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(26, 31, 58, 1);
    box-shadow: 0 0 0 3px rgba(212, 175, 122, 0.15);
}

.form-group input::placeholder {
    color: rgba(160, 168, 184, 0.6);
}

.form-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.6rem;
}

.form-actions button {
    flex: 1;
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.form-actions .btn-secondary {
    background: transparent;
    border: 1px solid rgba(212, 175, 122, 0.4);
    color: rgba(232, 232, 232, 0.9);
}

.form-actions .btn-secondary:hover {
    border-color: rgba(212, 175, 122, 0.6);
    background: rgba(212, 175, 122, 0.08);
    color: var(--gold);
}

.form-actions .btn-primary {
    background: var(--gold);
    color: #1a1f3a;
    border: 1px solid var(--gold);
    font-weight: 700;
}

.form-actions .btn-primary:hover {
    background: #C49A5F;
    border-color: #C49A5F;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(212, 175, 122, 0.35);
}

.form-actions .btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.gate-privacy {
    color: rgba(160, 168, 184, 0.7);
    font-size: 0.7rem;
    line-height: 1.3;
    margin-top: 1rem;
    text-align: center;
}

.gate-message {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
}

.gate-message.success {
    background: rgba(76, 175, 80, 0.15);
    color: #66BB6A;
    border: 1px solid rgba(76, 175, 80, 0.4);
}

.gate-message.error {
    background: rgba(244, 67, 54, 0.15);
    color: #EF5350;
    border: 1px solid rgba(244, 67, 54, 0.4);
}

/* Responsive Gate */
@media (max-width: 768px) {
    .contact-gate-content {
        padding: 1.75rem 1.5rem;
        max-width: 85%;
        max-height: 90vh;
    }

    .gate-header h2 {
        font-size: 1.3rem;
    }

    .gate-header p {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .contact-gate-overlay {
        padding: 0.75rem;
    }

    .contact-gate-content {
        padding: 1.5rem 1.25rem;
        max-width: 92%;
        max-height: 95vh;
    }

    .gate-logo {
        width: 50px;
        margin-bottom: 0.75rem;
    }

    .gate-header {
        margin-bottom: 1.25rem;
    }

    .gate-header h2 {
        font-size: 1.2rem;
    }

    .gate-header p {
        font-size: 0.75rem;
    }

    .form-actions {
        flex-direction: column;
        gap: 0.6rem;
    }

    .form-actions button {
        width: 100%;
        padding: 0.7rem;
    }
}

.page-top-padding {
    padding-top: 140px;
}

/* =========================================
   Team Member Layout - From local styles.css
   ========================================= */

/* Our Team Section */
.our-team-section {
    padding: 0 0 6rem 0;
    background: var(--navy);
}

/* Team Member Layout - 2 Column Grid */
.team-members-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.team-member-card {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    background: rgba(46, 53, 88, 0.3);
    border: 1px solid rgba(212, 175, 122, 0.1);
    transition: all 0.3s ease;
    gap: 1.25rem;
}

.team-member-card:hover {
    border-color: rgba(212, 175, 122, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* Row 1: Image + Info */
.member-top-row {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.member-image-div {
    flex: 0 0 120px;
    height: 120px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(212, 175, 122, 0.2);
    transition: all 0.3s ease;
}

.member-image-div img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.3s ease;
}

.member-info-div {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    height: 120px;
    justify-content: center;
}

.member-info-div h3 {
    font-size: 1.4rem;
    color: var(--text-light);
    margin: 0;
    font-weight: 600;
    line-height: 1.1;
}

.member-role {
    font-size: 0.85rem;
    color: var(--gold);
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.1;
}

.member-contact {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    margin-top: 0.2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    color: var(--text-light);
    text-decoration: none;
    opacity: 0.9;
    line-height: 1.1;
}

.contact-item svg {
    width: 14px;
    height: 14px;
    color: var(--gold);
    flex-shrink: 0;
}

.contact-item:hover {
    color: var(--gold);
    opacity: 1;
}

/* Row 2: Bio below - full width */
.member-detail-div {
    background: rgba(26, 31, 58, 0.4);
    padding: 1rem 1.25rem;
    border: 1px solid rgba(212, 175, 122, 0.08);
    height: auto;
    overflow: visible;
}

.member-bio {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--text-light);
    margin: 0;
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 968px) {
    .team-members-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .team-member-card {
        padding: 1.25rem;
        gap: 1rem;
    }

    .member-top-row {
        gap: 1.25rem;
    }

    .member-image-div {
        flex: 0 0 100px;
        height: 100px;
    }

    .member-info-div {
        height: 100px;
    }

    .member-info-div h3 {
        font-size: 1.3rem;
    }

    .member-role {
        font-size: 0.8rem;
    }

    .contact-item {
        font-size: 0.75rem;
    }

    .member-detail-div {
        padding: 0.8rem 1rem;
    }

    .member-bio {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .team-members-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .team-member-card {
        padding: 1rem;
        gap: 0.75rem;
    }

    .member-top-row {
        gap: 1rem;
    }

    .member-image-div {
        flex: 0 0 100px;
        height: 100px;
    }

    .member-info-div {
        height: 100px;
    }

    .member-info-div h3 {
        font-size: 1.2rem;
    }

    .member-role {
        font-size: 0.75rem;
    }

    .contact-item {
        font-size: 0.7rem;
    }

    .member-detail-div {
        height: 80px;
        padding: 0.75rem;
    }

    .member-bio {
        font-size: 0.75rem;
    }
}

@media (max-width: 640px) {
    .team-members-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .team-member-card {
        padding: 0.75rem;
        gap: 0.5rem;
    }

    .member-top-row {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        gap: 0.75rem;
    }

    .member-image-div {
        flex: 0 0 100px;
        height: 100px;
    }

    .member-info-div {
        align-items: flex-start;
        text-align: left;
        height: 100px;
        justify-content: space-between;
        gap: 0.1rem;
    }

    .member-info-div h3 {
        font-size: 1.1rem;
        line-height: 1.1;
        margin: 0;
    }

    .member-role {
        font-size: 0.7rem;
        line-height: 1.1;
        margin: 0;
    }

    .member-contact {
        align-items: flex-start;
        gap: 0.05rem;
        margin-top: 0;
    }

    .contact-item {
        font-size: 0.65rem;
        justify-content: flex-start;
        line-height: 1.1;
    }

    .contact-item svg {
        width: 9px;
        height: 9px;
    }

    .member-detail-div {
        height: 70px;
        padding: 0.5rem;
    }

    .member-bio {
        font-size: 0.7rem;
        line-height: 1.2;
        text-align: left;
    }
}

/* ========================================
   Contact Modal - Styles
   ======================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 20, 38, 0.95);
    backdrop-filter: blur(10px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--light-navy);
    border: 1px solid rgba(212, 175, 122, 0.3);
    padding: 2.5rem;
    max-width: 450px;
    width: 90%;
    position: relative;
    text-align: center;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.modal-close:hover {
    color: var(--gold);
}

.modal-content h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.modal-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.modal-content form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-content input[type="email"] {
    padding: 0.9rem 1rem;
    border: 1px solid rgba(212, 175, 122, 0.3);
    background: rgba(26, 31, 58, 0.8);
    color: var(--text-light);
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    outline: none;
    transition: border-color 0.3s ease;
}

.modal-content input[type="email"]:focus {
    border-color: var(--gold);
}

.modal-content input[type="email"]::placeholder {
    color: var(--text-muted);
}

.modal-content .btn-primary {
    width: 100%;
    padding: 0.9rem;
}

.modal-error {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
    padding: 0.75rem;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    border: 1px solid rgba(255, 107, 107, 0.3);
}

.modal-success {
    color: #51cf66;
    background: rgba(81, 207, 102, 0.1);
    padding: 0.75rem;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    border: 1px solid rgba(81, 207, 102, 0.3);
}

/* Modal Responsive */
@media (max-width: 480px) {
    .modal-content {
        padding: 2rem 1.5rem;
    }

    .modal-content h2 {
        font-size: 1.5rem;
    }
}

/* ========================================
   Section Wrapper - Constrain Width
   ======================================== */
.section-wrapper {
    max-width: 100%;
}