/* Premium scrollbar */
        ::-webkit-scrollbar {
            width: 10px;
        }
        ::-webkit-scrollbar-track {
            background: #172b32;
        }
        ::-webkit-scrollbar-thumb {
            background: #D4AF37;
            border-radius: 5px;
        }
        
        /* Smooth scrolling */
        html {
            scroll-behavior: smooth;
        }
        
        /* Hero video overlay */
        .hero-overlay {
            background: linear-gradient(180deg, rgba(10,10,10,0.3) 0%, rgba(10,10,10,0.6) 100%);
        }
        
        /* Premium hover effects */
        .luxury-hover {
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
        
        /* Parallax effect */
        .parallax {
            background-attachment: fixed;
            background-position: center;
            background-repeat: no-repeat;
            background-size: cover;
        }
        
        /* Gold line accent */
        .gold-line::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 0;
            width: 60px;
            height: 3px;
            background: #D4AF37;
        }
        
        /* Reveal animation */
        .reveal {
            opacity: 0;
            transform: translateY(50px);
            transition: all 1s ease;
        }
        
        .reveal.active {
            opacity: 1;
            transform: translateY(0);
        }
        
        /* Interactive location content */
        .location-content {
            position: absolute;
            inset: 0;
            opacity: 0;
            visibility: hidden;
            transition: all 0.5s ease;
        }
        
        .location-content.active {
            opacity: 1;
            visibility: visible;
        }
        
        /* Process timeline */
        .process-line {
            background: linear-gradient(90deg, transparent, #D4AF37 10%, #D4AF37 90%, transparent);
        }
        
        /* Team member hover */
        .team-member-card {
            position: relative;
            overflow: hidden;
        }
        
        .team-member-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
            transition: left 0.5s ease;
        }
        
        .team-member-card:hover::before {
            left: 100%;
        }
        
        /* Premium badge */
        .premium-badge {
            background: linear-gradient(135deg, #D4AF37, #F7E7CE);
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        
        /* Media logos hover */
        .media-logo {
            filter: grayscale(100%) opacity(60%);
            transition: all 0.3s ease;
        }
        
        .media-logo:hover {
            filter: grayscale(0%) opacity(100%);
            transform: translateY(-2px);
        }
        /* Ticker animation */
		@keyframes scroll {
		    0% {
		        transform: translateX(0);
		    }
		    100% {
		        transform: translateX(-50%);
		    }
		}

		.ticker-content {
		    animation: scroll 30s linear infinite;
		    white-space: nowrap;
		}

		.ticker-wrapper:hover .ticker-content {
		    animation-play-state: paused;
		}

		/* Pulse animation for urgency */
		@keyframes pulse {
		    0%, 100% {
		        opacity: 1;
		    }
		    50% {
		        opacity: 0.7;
		    }
		}

		.pulse {
		    animation: pulse 2s ease-in-out infinite;
		}

		/* Gradient text animation */
		@keyframes gradient-shift {
		    0%, 100% {
		        background-position: 0% 50%;
		    }
		    50% {
		        background-position: 100% 50%;
		    }
		}

		.gradient-text-animate {
		    background: linear-gradient(90deg, #D4AF37, #F7E7CE, #D4AF37);
		    background-size: 200% auto;
		    background-clip: text;
		    -webkit-background-clip: text;
		    -webkit-text-fill-color: transparent;
		    animation: gradient-shift 3s ease infinite;
		}
		/* listing page */
		.hero-overlay { background: linear-gradient(180deg, rgba(10,10,10,0.3) 0%, rgba(10,10,10,0.8) 100%); }
        .luxury-hover { transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
        .gold-line::after { content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 60px; height: 3px; background: #D4AF37; }
        .reveal { opacity: 0; transform: translateY(50px); transition: all 1s ease; }
        .reveal.active { opacity: 1; transform: translateY(0); }
        .property-card:hover .property-image { transform: scale(1.05); }
        .property-image { transition: transform 0.5s ease; }
        .faq-toggle-icon { transition: transform 0.3s ease; }
        .faq-item.active .faq-toggle-icon { transform: rotate(180deg); }
        .faq-question.rounded-b-none {
            border-bottom-left-radius: 0;
            border-bottom-right-radius: 0;
        }
        .property-card-enhanced .property-image { transition: transform 0.5s ease; }
        .property-card-enhanced:hover .property-image { transform: scale(1.05); }
        .favorite-btn.saved { color: #D4AF37; }
        .market-progress { background-color: #3a3a3a; }
        .market-progress-bar { background: linear-gradient(90deg, #F7E7CE, #D4AF37); }

        .sticky-form {
            position: -webkit-sticky;
            position: sticky;
            top: 120px; /* Adjust based on nav height */
        }
        .gallery-grid {
            display: grid;
            gap: 0.75rem;
            grid-template-columns: repeat(4, 1fr);
            grid-template-rows: repeat(2, 1fr);
        }
        .gallery-main { grid-column: span 2 / span 2; grid-row: span 2 / span 2; }
        .prose h2 { font-family: 'Playfair Display', serif; } 


        /* --- TIER 1: ELEGANT MENU HOVER --- */

/* Style for the main menu links */
.main-nav-link {
    position: relative;
    padding-bottom: 8px; /* Creates space for the underline */
    text-decoration: none;
    transition: color 0.3s ease;
}

/* The magic underline */
.main-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #D4AF37; /* luxury-gold */
    transform: scaleX(0);
    transform-origin: center; /* or 'left' for a different feel */
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.main-nav-link:hover::after,
.main-nav-link.active::after { /* Add .active class for current page */
    transform: scaleX(1);
}

/* Apply to the dropdown trigger as well */
.main-nav-dropdown-trigger {
    position: relative;
    /*padding-bottom: 8px;*/
}
.main-nav-dropdown-trigger::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #D4AF37;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}
.group:hover .main-nav-dropdown-trigger::after {
    transform: scaleX(1);
}
/* --- TIER 2: DYNAMIC ON-SCROLL NAVBAR --- */

/* Base state of the nav (at the top of the page) */
nav {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.2); /* Lighter border for hero images */
    box-shadow: none;
    transition: all 0.3s ease-in-out;
}

/* State when the user scrolls down */
nav.nav-scrolled {
    background-color: rgba(255, 255, 255, 0.95); /* Your white/95 */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-color: rgba(230, 230, 230, 0.8); /* Your border-gray-200/80 */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.04); /* Subtle shadow */
    padding: 5px 0;
}

/* Optional: Make the nav a bit shorter on scroll */
nav .h-20 {
    transition: height 0.3s ease-in-out;
}
nav.nav-scrolled .h-20 {
    height: 4rem; /* h-16 in Tailwind */
}

/* --- TIER 3: ENHANCED CTA BUTTON --- */

.cta-button {
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px -5px rgba(212, 175, 55, 0.4); /* Gold glow */
}

.cta-button:hover {
    transform: translateY(-3px); /* Lifts the button */
    box-shadow: 0 8px 20px -6px rgba(212, 175, 55, 0.6); /* Stronger glow */
}

/* Optional: Add a subtle pulse animation to draw attention */
.cta-button {
    animation: pulse-gold 3s infinite ease-in-out;
}

@keyframes pulse-gold {
    0% { box-shadow: 0 4px 15px -5px rgba(212, 175, 55, 0.4); }
    50% { box-shadow: 0 4px 25px -5px rgba(212, 175, 55, 0.7); }
    100% { box-shadow: 0 4px 15px -5px rgba(212, 175, 55, 0.4); }
}