select option {
    color: #000000;
    background-color: #ffffff;
}

:root {
    --brand-blue: rgb(2, 2, 48);
    --brand-gold: #c5a059;
    --brand-gold-dark: #a88548;
    --text-light: #f8f9fa;
    --serif-font: "Inter", sans-serif;
    --sans-font: "Inter", sans-serif;
}

.bg-gold {
    background-color: var(--brand-gold) !important;
}

.text-gold {
    color: var(--brand-gold) !important;
}

body {
    background-color: #0b0c10;
    color: var(--text-light);
    font-family: var(--sans-font);
    overflow-x: hidden;
}

/* ---- NAVIGATION ---- */
.main-nav {
    padding: 1.5rem 0;
    background: transparent !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none !important;
}

.main-nav.scrolled {
    padding: 0.8rem 0;
    background: var(--brand-blue) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: 2px;
}

.brand-top {
    font-size: 1.4rem;
    color: var(--text-light);
    font-family: var(--serif-font);
}

.brand-sub {
    font-size: 0.75rem;
    color: var(--brand-gold);
    letter-spacing: 4px;
    display: block;
}

.brand-est {
    font-size: 0.6rem;
    color: var(--text-light);
    opacity: 0.6;
    margin-top: 2px;
    display: block;
}

.nav-link {
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.85) !important;
}

.nav-link:hover {
    color: var(--brand-gold) !important;
}

.tracking-widest {
    letter-spacing: 0.2em;
}

.line-height-1 {
    line-height: 1.2;
}

.search-box {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 5px 15px;
}

.search-input {
    background: transparent;
    border: none;
    color: white;
    font-size: 0.8rem;
    outline: none;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* ---- FILTER BAR ---- */
.filter-bar-wrap {
    background: rgba(2, 2, 48, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
}

.search-group {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2px 20px;
    display: flex;
    align-items: center;
    width: 100%;
}

.search-group i {
    color: rgba(255, 255, 255, 0.4);
    margin-right: 15px;
}

.search-group input {
    background: transparent;
    border: none;
    color: white;
    padding: 12px 0;
    width: 100%;
    outline: none;
}

.filter-btn-group {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.filter-btn-sub {
    padding: 12px 25px;
    border: none;
    background: transparent;
    color: white;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.filter-btn-sub:last-child {
    border-right: none;
}

.filter-btn-sub.active {
    background: var(--brand-gold);
    color: black;
}

.filter-btn-sub:hover:not(.active) {
    background: rgba(255, 255, 255, 0.1);
}

.view-toggle-wrap {
    display: flex;
    gap: 10px;
    align-items: center;
}

.view-toggle-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 10px 12px;
    font-size: 1rem;
    transition: all 0.3s;
}

.view-toggle-btn.active {
    background: var(--brand-gold);
    color: black;
    border-color: var(--brand-gold);
}

.btn-filters {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ---- PREMIUM BANNER / HERO ---- */
.video-banner {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-banner video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    z-index: 1;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(2, 2, 48, 0.7) 0%, rgba(2, 2, 48, 0.4) 50%, rgba(2, 2, 48, 0.9) 100%);
    z-index: 2;
}

.banner-container {
    position: relative;
    z-index: 3;
}

.banner-title {
    font-family: var(--serif-font);
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1.1;
    margin-bottom: 2rem;
}

.banner-title .white-text {
    color: white;
    display: block;
    font-weight: 300;
}

.banner-title .gold-text {
    color: var(--brand-gold);
    display: block;
    font-style: italic;
    font-family: "Georgia", serif;
}

.banner-lead {
    font-size: .8rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    letter-spacing: 1px;
}

.discover-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    text-align: center;
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.75rem;
    letter-spacing: 4px;
    transition: color 0.3s;
}

.discover-scroll:hover {
    color: var(--brand-gold);
}

.discover-scroll i {
    display: block;
    font-size: 1.5rem;
    margin-top: 10px;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* ---- PREMIUM LISTINGS ---- */
.listings-section {
    padding: 80px 0;
    background-color: var(--brand-blue);
}

.section-label {
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
}

.portfolio-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 40px;
}

.portfolio-title {
    font-size: 2.2rem;
    color: white;
    font-weight: 300;
}

.portfolio-title span {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.4);
    margin-left: 15px;
}

.sort-by-wrap {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.sort-by-wrap b {
    color: white;
    margin-left: 5px;
    cursor: pointer;
}

.premium-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(197, 160, 89, 0.2);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    margin-bottom: 40px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
}

.premium-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(197, 160, 89, 0.1);
    border-color: rgba(197, 160, 89, 0.5);
    background: rgba(255, 255, 255, 0.04);
}

.card-img-container {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    margin-bottom: 0px;
    border-radius:16px;
}

.card-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0, 0, 0.2, 1);
}

.premium-card:hover .card-img-container img {
    transform: scale(1.05);
}

.card-type-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--brand-gold);
    color: black;
    padding: 3px 12px;
    font-weight: 700;
    font-size: 0.7rem;
    z-index: 2;
    letter-spacing: 1px;
}

.card-fav-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 38px;
    height: 38px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 2;
    transition: all 0.3s;
}

.card-fav-btn:hover {
    background: rgba(255, 255, 255, 1);
    color: black;
}

.card-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-loc {
    font-size: 0.55rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--brand-gold);
    margin-bottom: 8px;
    display: block;
}

.card-title-serif {
    font-family: var(--serif-font);
    font-size: 0.95rem!important;
    margin-bottom: 8px;
    color: white;
    font-weight: 500;
    line-height: 1.3;
}

.card-metrics {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: auto;
}

/* ---- PREMIUM FOOTER ---- */
.site-footer {
    background-color: var(--brand-blue);
    padding: 100px 0 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-tagline {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    margin: 30px 0;
    max-width: 300px;
}

.footer-socials {
    display: flex;
    gap: 20px;
}

.footer-socials a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    transition: color 0.3s;
}

.footer-socials a:hover {
    color: var(--brand-gold);
}

.footer-title {
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-contact-info {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.footer-contact-info span {
    display: block;
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-subscribe {
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}

.footer-subscribe span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-subscribe i {
    color: var(--brand-gold);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 30px 0;
    margin-top: 100px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.copyright-text {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.network-text {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: var(--serif-font);
    font-style: italic;
    text-align: right;
}

/* ---- BUTTONS ---- */
.btn-premium-gold {
    background: var(--brand-gold);
    color: black !important;
    border: none;
    padding: 12px 35px;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background 0.3s;
}

.btn-premium-gold:hover {
    background: var(--brand-gold-dark);
}

.btn-premium-outline {
    background: transparent;
    border: 1px solid white;
    color: white !important;
    padding: 14px 40px;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s;
    border-radius: 0;
}

.btn-premium-outline:hover {
    background: white;
    color: black !important;
}

/* Utility */
.mb-80 {
    margin-bottom: 80px;
}

.tracking-widest {
    letter-spacing: 0.2rem;
}

.line-height-1 {
    line-height: 1;
}

/* Base Breadcrumb Formatting (Web View) */
.breadcrumb-item,
.breadcrumb-item * {
    font-size: 0.75rem !important;
    letter-spacing: 0.15rem !important;
}

.breadcrumb-item+.breadcrumb-item::before {
    font-size: 0.75rem;
    padding-right: 6px;
}

.fs-2 {
    font-size: 2rem !important;
}

.fs-7 {
    font-size: 0.7rem;
}

/* ---- APARTMENT DETAILS ---- */
.back-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 30px;
    transition: color 0.3s;
}

.back-link:hover {
    color: white;
}

.cinematic-gallery {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}

.main-gallery-img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 4px;
}

.gallery-counter {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    color: white;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 20px;
}

.gallery-controls {
    position: absolute;
    bottom: 25px;
    left: 45%;
    transform: translateX(-50%);
    background: rgba(14, 18, 30, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    padding: 2px;
    display: flex;
    gap: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.btn-gallery-toggle {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    padding: 10px 20px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 2px;
    transition: all 0.3s;
}

.btn-gallery-toggle.active {
    background: #c5a059;
    color: black;
}

.btn-gallery-toggle i {
    font-size: 0.9rem;
}

.gallery-thumbs {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.gallery-thumbs::-webkit-scrollbar {
    height: 4px;
}

.gallery-thumbs::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
}

.gallery-thumb {
    width: 100px;
    height: 60px;
    object-fit: cover;
    border-radius: 2px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.gallery-thumb:hover,
.gallery-thumb.active {
    opacity: 1;
}

.detail-share-group {
    display: flex;
    gap: 15px;
}

.tour-btn {
    font-size: .6rem;
}

.tour-btn,
.tour-btn:hover {
    color: #c5a059;
}

.btn-round-action {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: black !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    padding: 0;
    transition: all 0.3s ease;
    z-index: 1;
}

.btn-round-action::before {
    content: '';
    position: absolute;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--brand-gold);
    z-index: -1;
    transition: all 0.3s ease;
}

.btn-round-action:hover {
    border-color: rgba(255, 255, 255, 0.4);
    color: black !important;
}

.btn-round-action:hover::before {
    transform: scale(1.15);
}

.premium-metric-box {
    padding: 35px 0;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.premium-metric-box:last-child {
    border-right: none;
}

@media (max-width: 768px) {
    .premium-metric-box {
        padding: 24px 20px;
        flex-direction: row;
        text-align: left;
        flex: 0 0 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        justify-content: flex-start;
    }

    .premium-metric-box:last-child {
        border-bottom: none;
    }

    .premium-metric-box .metric-icon-wrap {
        margin-right: 20px;
        margin-bottom: 0;
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }

    .metric-val-sm {
        font-size: 1rem !important;
    }
}

.metric-icon-wrap {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 18px;
    color: #c5a059;
    font-size: 1.2rem;
}

.metric-val {
    font-size: 1.6rem;
    font-weight: 400;
    display: block;
    line-height: 1;
    color: white;
}

.metric-val-sm {
    font-size: 0.95rem;
}

.metric-lab {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    margin-top: 6px;
    display: block;
}

.rental-sidebar-card {
    background: rgba(8, 12, 26, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 45px;
    border-radius: 4px;
}

.sidebar-pricing .label {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
}

.lead {
    font-size: 1rem;
}

.sidebar-pricing .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.sidebar-pricing .type {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    font-weight: 500;
    margin-left: 5px;
}

.sidebar-pricing .est {
    color: var(--brand-gold);
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 15px;
    display: block;
}

.sidebar-map-preview {
    position: relative;
    height: 160px;
    background: #0a0e1a;
    margin: 35px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.map-overlay-btn {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 18px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.map-loc-label {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    z-index: 2;
}

.agent-profile-footer {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
}

.avatar-md {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.agent-meta .name {
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    display: block;
}

.agent-meta .title {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-disclaimer {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 30px;
    display: block;
}

/* ---- PHILANTHROPY PAGE ---- */
.philanthropy-hero-section {
    padding: 160px 0 100px;
    background-color: var(--brand-blue);
    position: relative;
    overflow: hidden;
}

.philanthropy-tagline {
    font-size: 0.8rem;
    color: var(--brand-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    margin-bottom: 20px;
    display: block;
}

.philanthropy-title-large {
    font-family: var(--serif-font);
    font-size: clamp(3rem, 6vw, 5rem);
    color: white;
    line-height: 1.3;
    margin-bottom: 30px;
    font-weight: 300;
    /* Light as per Figma */
}

.philanthropy-title-serif {
    font-family: "Georgia", serif;
    font-style: italic;
    color: var(--brand-gold);
    font-weight: 300;
    /* Light as per Figma */
}

.philanthropy-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.philanthropy-text-block {
    max-width: 540px;
}

.philanthropy-lead {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    font-weight: 400;
    /* Regular as per Figma */
}

.impact-list {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.impact-item {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.impact-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border: 1px solid rgba(197, 160, 89, 0.3);
    color: var(--brand-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.impact-detail h4 {
    color: white;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.impact-detail p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
    font-weight: 400;
}

.philanthropy-image-wrap {
    position: relative;
    width: 100%;
}

.philanthropy-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.philanthropy-hero-sub {
    font-size: 1.25rem;
    font-weight: 400;
    /* Regular as per Figma */
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    letter-spacing: 0.5px;
}

.mt-100 {
    margin-top: 100px;
}

@media (max-width: 991px) {
    .mt-100 {
        margin-top: 40px;
    }
}

@media (max-width: 991px) {
    .philanthropy-content-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .philanthropy-text-block {
        max-width: 100%;
    }
}

/* ---- CONTACT PAGE ---- */
.contact-section {
    padding: 160px 0 100px;
    background-color: var(--brand-blue);
    min-height: 100vh;
}

.contact-info-wrap {
    padding-right: 40px;
}

.contact-details-list {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-detail-row {
    display: flex;
    gap: 20px;
    align-items: center;
}

.contact-icon-box {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-gold);
    font-size: 1.2rem;
}

.detail-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 4px;
}

.detail-value {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: white;
}

.contact-form-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px;
}

.form-group-premium {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-label-premium {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.4);
}

.form-input-premium {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    color: white;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s;
}

.form-input-premium:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--brand-gold);
}

textarea.form-input-premium {
    resize: none;
}

@media (max-width: 991px) {
    .contact-info-wrap {
        padding-right: 0;
        margin-bottom: 60px;
    }

    .contact-form-card {
        padding: 40px 25px;
    }
}

/* ==========================================================================
   MODERN MOBILE NAVIGATION & RESPONSIVE REFINEMENTS
   ========================================================================== */

/* --- Custom Toggler --- */
.custom-toggler {
    background: transparent;
    border: none;
    padding: 10px 5px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1100;
}

.toggler-line {
    display: block;
    width: 28px;
    height: 1px;
    background-color: white;
    transition: all 0.3s ease;
}

/* --- Mobile Menu Overlay --- */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--brand-blue);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    transform: translateY(-100%);
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
    padding: 20px;
    visibility: hidden;
}

.mobile-menu-overlay.active {
    transform: translateY(0);
    visibility: visible;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 40px;
}

.close-menu {
    background: transparent;
    border: none;
    color: var(--brand-gold);
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 20px;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-list li {
    margin-bottom: 15px;
}

.mobile-nav-list a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 200;
    letter-spacing: 4px;
    transition: color 0.3s;
    font-family: var(--sans-font);
}

.mobile-nav-list a:hover,
.mobile-nav-list a:focus {
    color: var(--brand-gold);
}

.mobile-menu-footer {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-auth-links .navbar-nav {
    flex-direction: row;
    gap: 20px;
    justify-content: flex-start;
}

.mobile-auth-links .nav-link {
    padding: 0;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

/* --- Global Responsive Adjustments --- */
body.menu-open {
    overflow: hidden;
}

.site-header.scrolled {
    background: rgba(2, 2, 36, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    padding: 5px 0;
}

@media (max-width: 768px) {

    /* Hero Adjustments */
    .hero-section {
        padding-top: 120px !important;
        text-align: center;
    }

    .hero-section h1 {
        font-size: 2.2rem !important;
        margin-bottom: 20px;
    }

    .hero-section p {
        font-size: 1rem !important;
        margin-bottom: 30px;
    }

    /* Section Typo */
    h2 {
        font-size: 1.3rem !important;
    }

    /* Philanthropy */
    .philanthropy-hero-section {
        padding: 120px 20px 60px;
        text-align: center;
    }

    .philanthropy-title-large {
        font-size: 2rem;
    }

    /* Contact */
    .contact-section {
        padding: 120px 20px 60px;
    }

    .contact-form-card {
        padding: 40px 20px;
    }

    .overflow-mobile-scroll {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .filter-btn {
        padding: 5px 12px !important;
        font-size: 0.58rem !important;
        gap: 4px !important;
    }

    .filter-btn i {
        font-size: 0.7rem !important;
    }

    .card-title-serif,
    .lead {
        font-size: 1rem!important;
    }

    .metric-val {
        font-size: 1rem;
    }

    .banner-lead {
        font-size: .8rem;
    }

    .sidebar-pricing .price {
        font-size: 1.2rem;

    }

    .breadcrumb-item+.breadcrumb-item::before {
        padding: 0px;
        padding-right: 4px;
        font-size: 0.55rem;
    }

    .breadcrumb-item,
    .breadcrumb-item * {
        font-size: 0.55rem !important;
        letter-spacing: 0.1rem !important;
    }

    .listings-section {
        padding: 1.5rem 0px;
    }

    .premium-card {
        margin-bottom: 10px;
    }

    .rental-sidebar-card {
        padding: 20px;
    }

    .tracking-widest {
        font-size: .7rem;
    }
}

/* ==========================================================================
   RENTALS PAGE STYLES
   ========================================================================== */
.rentals-root {
    display: flex;
    height: calc(100vh - 217px);
    padding-top: 100px;
    overflow: hidden;
    background: var(--brand-blue);
}

.rentals-left {
    width: 45%;
    min-width: 320px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.rentals-right {
    width: 55%;
    position: relative;
    overflow: hidden;
}

.rentals-filterbar {
    background: rgba(2, 2, 36, 0.4);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 12px 15px;
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: visible;
    align-items: center;
    flex-shrink: 0;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    padding: 7px 14px;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.filter-btn:hover {
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.filter-btn.active {
    color: var(--brand-gold);
    border-color: var(--brand-gold);
    background: rgba(197, 160, 89, 0.1);
    box-shadow: 0 0 20px rgba(197, 160, 89, 0.1);
}

.clear-all-link {
    color: rgba(255, 255, 255, 0.4) !important;
    font-size: 0.7rem !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-left: 15px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.3s;
}

.clear-all-link:hover {
    color: white !important;
    opacity: 1;
}

.filter-dropdown {
    background: rgba(2, 2, 36, 0.85) !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    padding: 18px !important;
    z-index: 500;
    top: 50px !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 25px rgba(197, 160, 89, 0.08) !important;
}

.form-label-premium {
    font-size: 0.58rem !important;
    font-weight: 700 !important;
    letter-spacing: 1.5px !important;
    color: var(--brand-gold) !important;
    text-transform: uppercase;
    margin-bottom: 4px !important;
}

.form-select-premium,
.form-control-premium {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    font-size: 0.78rem !important;
    padding: 7px 12px !important;
    border-radius: 6px !important;
    transition: all 0.3s;
}

.form-select-premium:focus,
.form-control-premium:focus {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: var(--brand-gold) !important;
    box-shadow: 0 0 10px rgba(197, 160, 89, 0.2) !important;
    outline: none !important;
}

.btn-premium-apply {
    background: var(--brand-gold) !important;
    color: var(--brand-blue) !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase;
    border: none;
    border-radius: 6px;
    padding: 9px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.listing-type-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    background: rgba(197, 160, 89, 0.1);
    border: 1px solid rgba(197, 160, 89, 0.2);
    color: var(--brand-gold);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 4px;
    margin-left: 10px;
    vertical-align: middle;
}

.btn-premium-apply:hover {
    background: #e6bc6a !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(197, 160, 89, 0.3);
}

.read-more-btn {
    background: transparent;
    border: none;
    color: var(--brand-gold);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 0;
    margin-top: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.read-more-btn:hover {
    color: white;
    transform: translateX(5px);
}

/* Leaflet Zoom Refinement */
.leaflet-bar {
    border: none !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}

.leaflet-bar a {
    background: rgba(2, 2, 48, 0.9) !important;
    color: var(--brand-gold) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    width: 40px !important;
    height: 40px !important;
    line-height: 40px !important;
    font-size: 1.2rem !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.leaflet-bar a:first-child {
    border-top-left-radius: 12px !important;
    border-top-right-radius: 12px !important;
}

.leaflet-bar a:last-child {
    border-bottom-left-radius: 12px !important;
    border-bottom-right-radius: 12px !important;
    border-top: none !important;
}

.leaflet-bar a:hover {
    background: var(--brand-blue) !important;
    color: white !important;
    transform: scale(1.08);
}

.rentals-list {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: var(--brand-blue);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    align-content: start;
    
    /* Custom Scrollbar for premium look */
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

.rentals-list::-webkit-scrollbar {
    width: 6px;
}

.rentals-list::-webkit-scrollbar-track {
    background: transparent;
}

.rentals-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.rentals-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 1200px) {
    .rentals-left {
        width: 100%;
    }
    .rentals-right {
        width: 100%;
        height: 400px;
    }
    .rentals-list {
        grid-template-columns: 1fr;
    }
}

/* Listings Custom Tabs */
.listings-tabs {
    border-bottom: none;
    margin-bottom: 0;
    gap: 5px;
    background: rgba(255, 255, 255, 0.03);
    padding: 5px;
    border-radius: 10px;
    display: inline-flex;
    border: 1px solid rgba(255, 255, 255, 0.05);
    flex-wrap: nowrap;
    overflow-x: auto;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.listings-tabs::-webkit-scrollbar {
    display: none;
}

.listings-tabs .nav-item {
    margin-bottom: 0;
}

.listings-tabs .nav-link {
    color: rgba(255, 255, 255, 0.7);
    background: transparent;
    border: 1px solid transparent;
    text-transform: uppercase;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 6px 16px;
    letter-spacing: 1px;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.listings-tabs .nav-link:hover {
    color: var(--brand-gold);
    background: rgba(197, 160, 89, 0.1);
    border-color: rgba(197, 160, 89, 0.3);
}

.listings-tabs .nav-link.active {
    color: var(--brand-blue) !important;
    background: var(--brand-gold) !important;
    border-color: var(--brand-gold) !important;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.4);
}

.rentals-list-header {
    grid-column: 1 / -1;
    padding: 0 0 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.rentals-list-header span {
    font-family: var(--sans-font);
    font-size: .8rem;
    font-weight: 300;
    color: white;
    letter-spacing: 0.5px;
}

.rentals-list-header .count {
    font-size: 0.75rem;
    color: var(--brand-gold);
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.listing-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(197, 160, 89, 0.2);
    border-radius: 16px;
    /*overflow: hidden;*/
    margin-bottom: 25px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.listing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(197, 160, 89, 0.1);
    border-color: rgba(197, 160, 89, 0.4);
    background: rgba(255, 255, 255, 0.06);
}

.listing-img-wrap {
    position: relative;
    height: 160px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    border-radius:16px;
}

.listing-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.listing-card:hover .listing-img {
    transform: scale(1.05);
}

.listing-body {
    padding: 15px;
}

.listing-price {
    font-size: 0.9rem;
    font-weight: 500;
    color: white;
    font-family: var(--sans-font);
}

.listing-meta {
    font-size: 0.7rem;
    color: var(--brand-gold);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.listing-address {
    font-family: var(--serif-font);
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 15px;
    line-height: 1.4;
}

.map-price-marker {
    background: #c5a059 !important;
    color: #020224;
    padding: 6px 14px !important;
    border-radius: 4px;
    font-weight: 700;
    font-size: 10px;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.2s;
    border: 2px solid #020224;
    width: max-content;
    font-family: var(--serif-font);
}

.map-price-marker.active {
    background: white;
    transform: scale(1.1);
}

.dark-popup .leaflet-popup-content-wrapper {
    background: rgba(2, 2, 36, 0.8) !important;
    backdrop-filter: blur(15px);
    color: white;
    border-radius: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0 !important;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6) !important;
}

.dark-popup .leaflet-popup-content {
    margin: 0 !important;
    width: 240px !important;
}

.dark-popup .leaflet-popup-tip {
    background: rgba(2, 2, 36, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.premium-popup-content {
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.premium-popup-content:hover {
    background: rgba(255, 255, 255, 0.03);
}

.premium-popup-price {
    font-size: 1.4rem;
    font-weight: 300;
    color: white;
    margin-bottom: 8px;
    font-family: var(--serif-font);
}

.premium-popup-link {
    font-size: 0.7rem;
    color: var(--brand-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dark-popup .leaflet-popup-close-button {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 1.1rem !important;
    z-index: 10;
    width: 24px !important;
    height: 24px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
}

.dark-popup .leaflet-popup-close-button:hover {
    color: white !important;
    background: transparent !important;
}

@media (max-width: 991px) {
    .rentals-root {
        flex-direction: column;
        height: auto;
        padding-top: 80px;
        margin-top: unset;
    }

    .rentals-left {
        width: 100%;
        height: 600px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .rentals-right {
        height: 400px;
    }
}

/* ==========================================================================
   BUILDINGS PAGE STYLES
   ========================================================================== */
.buildings-container {
    padding-top: 120px;
    padding-bottom: 80px;
    background: var(--brand-blue);
    min-height: 100vh;
}

.buildings-header {
    margin-bottom: 20px;
}

.buildings-header h1 {
    font-size: 1.5rem;
    font-weight: 300;
    color: white;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.buildings-header p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.7rem;
    letter-spacing: 1px;
}

.buildings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.building-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(197, 160, 89, 0.2);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.building-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(197, 160, 89, 0.1);
    border-color: rgba(197, 160, 89, 0.4);
    background: rgba(255, 255, 255, 0.04);
}

.building-img-wrap {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    border-radius:16px;
}

.building-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.building-card:hover .building-img-wrap img {
    transform: scale(1.05);
}

.building-badge-row {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.badge-premium {
    background: var(--brand-gold);
    color: #020224;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 4px 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.badge-count {
    background: rgba(2, 2, 36, 0.8);
    backdrop-filter: blur(4px);
    color: white;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 4px 10px;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.building-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.building-name {
    font-family: var(--serif-font);
    font-size: 0.95rem;
    color: white;
    margin-bottom: 8px;
    font-weight: 500;
}

.building-info {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.building-info i {
    color: var(--brand-gold);
}

.building-meta {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.building-stats {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.5px;
}

.building-link {
    color: var(--brand-gold);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-logo-text {
    font-size: 1.2rem !important;
    letter-spacing: 2px;
}

@media (max-width: 991px) {
    .footer-header-mobile {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        cursor: pointer;
        margin-bottom: 5px;
    }
    
    .footer-header-mobile h4 {
        margin-bottom: 0;
        font-size: 0.75rem;
    }

    .footer-header-mobile i {
        color: var(--brand-gold);
        font-size: 0.7rem;
        transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .footer-header-mobile:not(.collapsed) i {
        transform: rotate(180deg);
    }
    
    .footer-col .collapse:not(.show) {
        display: none;
    }
    
    .site-footer {
        padding-top: 60px;
    }
}

.banner-area {
    background-color: var(--brand-blue);
}

.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.bg-white.bg-opacity-5 {
    backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
    .buildings-container {
        padding-top: 100px;
    }

    .buildings-header h1 {
        font-size: 1.2rem;
    }

    .buildings-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        margin-top: 0px;
    }

    .site-footer {
        padding-top: 50px;
        border-top: 1px solid rgba(255, 255, 255, 0.4);
    }

    .footer-title {
        margin-bottom: 10px;
        margin-top: 10px;
    }

    .footer-socials {
        margin: 10px 0px;
    }

    .footer-links li {
        margin-bottom: 10px;
    }

    .rentals-left {
        min-width: unset;
    }

    .listing-body {
        padding: 15px;
    }

    .building-body {
        padding: 15px;
    }

    .building-badge-row {
        top: 15px;
        left: 15px;
        right: 15px;
    }

    .rentals-filterbar {
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
        background: #020224;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1000;
        border-top: 1px solid rgba(197, 160, 89, 0.5);
        border-bottom: 2px solid var(--brand-gold);
        gap: 10px;
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.9), 0 15px 30px rgba(197, 160, 89, 0.15);
    }

    .rentals-filterbar.mobile-open {
        display: flex;
    }

    .rentals-filterbar .position-relative,
    .rentals-filterbar>a {
        display: block;
        width: 100%;
        text-align: center;
    }

    .filter-btn {
        padding: 12px 16px;
        font-size: 0.85rem;
        justify-content: center;
        width: 100%;
    }

    .rentals-filterbar .filter-dropdown {
        position: static !important;
        width: 100% !important;
        margin-top: 10px;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        background: rgba(255, 255, 255, 0.02) !important;
        padding: 15px !important;
    }

    .rentals-filterbar>a.small {
        margin-left: 0 !important;
        text-align: center;
        padding: 15px 0 0 0;
    }

    .listings-tabs .nav-link {
        font-size: 10px;
        padding: 10px 10px;
    }

    .listings-tabs {
        display: flex;
    }
}

/* ---- TEAM PAGE ---- */
.team-section {
    padding: 100px 0 100px;
    background-color: var(--brand-blue);
    position: relative;
    overflow: hidden;
}

.team-header-top {
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 4px;
    margin-bottom: 30px;
    color: white;
}

.team-header-top span {
    color: var(--brand-gold);
    font-style: italic;
    font-family: serif;
}

.team-description {
    max-width: 450px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-bottom: 80px;
}

.team-experts-tag {
    font-size: 0.75rem;
    color: var(--brand-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    display: block;
    margin-bottom: 15px;
}

.team-main-title {
    font-size: 2.5rem;
    font-weight: 300;
    color: white;
    margin-bottom: 20px;
}

.team-main-title span {
    color: var(--brand-gold);
    font-style: italic;
}

.team-title-underline {
    width: 60px;
    height: 1px;
    background: var(--brand-gold);
    margin: 0 auto 00px;
}



.team-card-flip {
    background-color: transparent;
    width: 100%;
    min-height: 520px;
    perspective: 1000px;
    cursor: pointer;
}

.team-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 520px;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.team-card-flip:hover .team-card-inner {
    transform: rotateY(180deg);
}

.team-card-front,
.team-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 30px;
    border: 1px solid rgba(197, 160, 89, 0.2);
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.02);
}

.team-card-front {
    display: flex;
    flex-direction: column;
}

.team-card-back {
    background-color: #ffffff;
    color: #0b0c10;
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.team-bio-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.team-name-back {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
    font-family: var(--sans-font);
}

.team-bio-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444;
    font-weight: 400;
    text-align: center;
}

.team-image-container {
    width: 100%;
    aspect-ratio: 1/1.1;
    overflow: hidden;
}

.team-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.team-info {
    padding: 20px 10px;
    text-align: center;
    background: transparent;
}

.team-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    letter-spacing: 2px;
    margin-bottom: 5px;
    display: block;
}

.team-role {
    font-size: 0.75rem;
    color: var(--brand-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

/* ---- UTILITY BUTTONS ---- */
.rental-sidebar-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    transition: all 0.4s ease;
}

.rental-sidebar-card:hover {
    border-color: rgba(197, 160, 89, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.btn-browse-available {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand-gold), #e6bc6a);
    color: #020224 !important;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    border: none;
    margin-bottom: 20px;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-browse-available:hover {
    background: linear-gradient(135deg, #e6bc6a, var(--brand-gold));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(197, 160, 89, 0.3);
}

.btn-browse-available i {
    font-size: 1rem;
}

/* ---- PHILANTHROPY SECTION ---- */
.philanthropy-section {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.philanthropy-title-large {
    font-size: 3rem;
    font-weight: 300;
    color: var(--brand-blue);
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.philanthropy-title-serif {
    font-family: serif;
    font-style: italic;
    color: var(--brand-gold);
}

.philanthropy-card-flip {
    background-color: transparent;
    width: 100%;
    height: 400px;
    /* Tall aspect ratio */
    perspective: 1000px;
    cursor: pointer;
}

.philanthropy-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.philanthropy-card-flip:hover .philanthropy-card-inner {
    transform: rotateY(180deg);
}

.philanthropy-card-front,
.philanthropy-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 15px;
    background-color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.philanthropy-card-front {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.philanthropy-card-front img {
    max-width: 80%;
    max-height: 60%;
    object-fit: contain;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.philanthropy-card-flip:hover .philanthropy-card-front img {
    filter: grayscale(0%);
}

.philanthropy-card-back {
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
    background: linear-gradient(135deg, #ffffff 0%, #fcfcfc 100%);
}

.philanthropy-bio-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.philanthropy-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brand-blue);
    margin-bottom: 15px;
    font-family: var(--sans-font);
}

.philanthropy-bio {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

@media (max-width: 991px) {
    .philanthropy-card-flip {
        height: 350px;
    }

    .philanthropy-title-large {
        font-size: 1.5rem;
    }

    .philanthropy-hero-sub {
        font-size: 1rem;
    }

    .team-main-title {
        font-size: 1.5rem;
    }

    .team-name {
        font-size: .8rem;
    }

    .team-role {
        font-size: 0.75rem;
    }

    .team-section {
        padding-bottom: 20px;
    }

    .close-menu {
        font-size: 1.5rem;
    }
}

/* ---- BUILDING DETAILS ---- */
/* Owl Carousel Navigation Override */
.img-carousel {
    position: relative;
}

.img-carousel .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
    margin-top: 0 !important;
}

.img-carousel .owl-nav button.owl-prev,
.img-carousel .owl-nav button.owl-next {
    pointer-events: auto;
    background: #020224 !important;
    /* var(--brand-blue) fallback */
    color: #c5a059 !important;
    /* var(--brand-gold) fallback */
    background: var(--brand-blue) !important;
    color: var(--brand-gold) !important;
    width: 44px;
    height: 44px;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem !important;
    transition: all 0.3s;
    margin: 0 15px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(197, 160, 89, 0.3) !important;
}

.img-carousel .owl-nav button.owl-prev:hover,
.img-carousel .owl-nav button.owl-next:hover {
    background: var(--brand-gold) !important;
    color: var(--brand-blue) !important;
    transform: scale(1.1);
}

.img-carousel .owl-dots {
    position: absolute;
    bottom: 15px;
    width: 100%;
    text-align: center;
    z-index: 10;
    margin-top: 0 !important;
}

.img-carousel .owl-dots .owl-dot span {
    background: rgba(255, 255, 255, 0.5) !important;
    width: 8px !important;
    height: 8px !important;
    margin: 5px 4px !important;
    transition: all 0.3s;
}

.img-carousel .owl-dots .owl-dot.active span,
.img-carousel .owl-dots .owl-dot:hover span {
    background: var(--brand-gold) !important;
    transform: scale(1.3);
}

.tour-date-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 52px;
    min-width: 52px;
    padding: 6px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    background: rgba(255, 255, 255, 0.05);
}

.tour-date-tile:hover {
    border-color: var(--brand-gold);
    background: rgba(197, 160, 89, 0.1);
}

.tour-date-tile.selected {
    border-color: var(--brand-gold);
    background: var(--brand-gold);
}

.tour-day {
    font-size: 0.6rem;
    color: var(--brand-gold);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.tour-date-tile.selected .tour-day {
    color: var(--brand-blue);
}

.tour-num {
    font-size: 1rem;
    font-weight: 400;
    color: #fff;
    line-height: 1.2;
}

.tour-date-tile.selected .tour-num {
    color: var(--brand-blue);
}

/* ---- SEARCH VIEW REFINED ---- */
/* Redundant search-card styles removed as pages now use .premium-card */

.search-input-group {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 6px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(15px);
    width: 100%;
}

.search-input-group:focus-within {
    border-color: rgba(197, 160, 89, 0.5);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 25px rgba(197, 160, 89, 0.1);
}

.search-input-icon {
    padding-left: 20px;
    color: rgba(197, 160, 89, 0.6);
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.search-input-group .form-control {
    background: transparent !important;
    border: none !important;
    color: white !important;
    padding: 10px 15px !important;
    font-size: 0.95rem !important;
    box-shadow: none !important;
    height: auto !important;
}

.search-input-group .form-control::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.search-btn-compact {
    background: var(--brand-gold);
    color: #020224 !important;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    cursor: pointer;
}

.search-btn-compact:hover {
    background: #e6bc6a;
    transform: scale(1.08);
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.3);
}

.search-btn-compact i {
    font-size: 1.1rem;
}

.text-gold {
    color: var(--brand-gold) !important;
}

.bg-blue {
    background-color: rgba(2, 2, 48, 0.9)
}

@media(max-width:767px) {
    #tourDates {
        overflow-y: scroll;

    }
}

/* Rentals listings mobile fonts */
@media (max-width: 768px) {
    .listing-price {
        font-size: 1.1rem;
    }

    .listing-address {
        font-size: 0.9rem;
    }

    .listing-meta {
        font-size: 0.75rem;
    }

    .btn-gallery-toggle {
        font-size: 0.45rem;
        padding: 6px 10px;
        gap: 4px;
    }

    .btn-gallery-toggle i {
        font-size: 0.6rem;
    }

    .img-carousel .owl-nav button.owl-prev,
    .img-carousel .owl-nav button.owl-next {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.9rem !important;
        margin: 0 10px !important;
    }
}