/* --- CSS VARIABLES & RESET (WHITE, GOLD & GLASS) --- */
:root {
    /* PALETTE: White, Slate, & Gold */
    --primary-gold: #D4AF37; /* Metallic Gold */
    --hover-gold: #B4941F;   /* Darker Gold */
    
    --text-main: #1e293b;    /* Deep Slate */
    --text-light: #64748b;   /* Elegant Gray */
    
    --white: #ffffff;
    --bg-body: #ffffff;      
    --bg-alt: #f8fafc;       
    
    --footer-bg: #1e293b;    
    
    --shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.08); 
    --border-light: #e2e8f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { display: block; width: 100%; }

h1, h2, h3, h4 { font-weight: 600; letter-spacing: -0.5px; }

/* --- ANIMATIONS --- */
@keyframes kenBurns {
    0% { background-size: 100%; }
    50% { background-size: 110%; }
    100% { background-size: 100%; }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes goldPulse {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

@keyframes bounceIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes slowPan {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* --- NAVIGATION (GLASS EFFECT) --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    z-index: 1000;
    transition: 0.4s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent);
}

header.scrolled {
    /* GLASS EFFECT HERE */
    background: rgba(255, 255, 255, 0.75); /* Semi-transparent White */
    backdrop-filter: blur(15px);           /* The Blur Magic */
    -webkit-backdrop-filter: blur(15px);   /* Safari Support */
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    padding: 1rem 5%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 10px;
}

header.scrolled .logo { color: var(--text-main); } 
header.scrolled .logo i { color: var(--primary-gold); }

nav ul { display: flex; gap: 2.5rem; }

nav a {
    color: var(--white);
    font-weight: 500;
    font-size: 0.85rem; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--primary-gold);
    transition: 0.3s;
}

nav a:hover::after { width: 100%; }
header.scrolled nav a { color: var(--text-main); }

/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    width: 100%;
    position: relative; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 0 1rem;
    overflow: hidden; 
}

/* The Video File */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%; 
    min-height: 100%; 
    width: auto;
    height: auto;
    object-fit: cover; 
    transform: translate(-50%, -50%) scale(1.2); 
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
    z-index: -1;
}

.hero-content { position: relative; z-index: 1; }

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.1;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    font-weight: 300;
}

.search-container { position: relative; z-index: 2; }

/* --- SEARCH BAR (GLASS EFFECT) --- */
.search-container {
    /* GLASS EFFECT HERE */
    background: rgba(255, 255, 255, 0.65); /* Frosted transparency */
    backdrop-filter: blur(20px);           /* Heavy blur for readability */
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4); /* Subtle glass border */
    
    padding: 1.5rem;
    border-radius: 8px;
    display: flex;
    gap: 1.5rem;
    width: 100%;
    max-width: 900px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    flex-wrap: wrap;
    border-top: 4px solid var(--primary-gold);
    box-shadow:inset 0 1px 0 rgba(255,255,255,0.4),
    0 15px 40px rgba(0,0,0,0.2);
    animation: float 6s ease-in-out infinite;
}

.search-box { flex: 1; display: flex; flex-direction: column; min-width: 150px; }

.search-box label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-main); /* Darker text for glass contrast */
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.search-box select, .search-box input {
    border: none;
    border-bottom: 2px solid var(--primary-gold);
    outline: none;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    width: 100%;
    padding-bottom: 5px;
    background: transparent;
}

.divider { width: 1px; background: rgba(0,0,0,0.1); margin: 5px 0; }

.btn-search {
    background: var(--primary-gold);
    color: var(--white);
    border: none;
    padding: 0 2.5rem;
    border-radius: 4px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    animation: goldPulse 2s infinite;
}

.btn-search:hover { background: var(--text-main); }

/* --- FEATURED SECTION --- */
.section { padding: 6rem 10%; }

.section-header { text-align: center; margin-bottom: 4rem; }

.section-header h5 {
    color: var(--primary-gold);
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-header h2 { font-size: 2.5rem; color: var(--text-main); }

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.property-card {
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    border: 1px solid var(--border-light);
    position: relative;
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.card-img {
    height: 250px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s;
}

.property-card:hover .card-img img { transform: scale(1.1); }

.tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255,255,255,0.9); /* Slight Glass on Tag */
    backdrop-filter: blur(5px);
    color: var(--text-main);
    padding: 6px 14px;
    border-radius: 2px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    animation: bounceIcon 3s infinite ease-in-out;
}

.card-details { padding: 2rem; }

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: 8px;
    display: block;
}

.property-card h3 { font-size: 1.2rem; margin-bottom: 5px; color: var(--text-main); }

.location {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.amenities {
    display: flex;
    gap: 20px;
    border-top: 1px solid var(--border-light);
    padding-top: 1.5rem;
    color: var(--text-main);
    font-size: 0.85rem;
    font-weight: 500;
}

.amenities span { display: flex; align-items: center; gap: 8px; }
.amenities i { color: var(--primary-gold); }

/* --- STATS SECTION --- */
.stats {
    background: #000000;
    color: var(--white);
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    text-align: center;
    padding: 5rem 10%;
    position: relative;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gold);
}

.stat-item h3 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-gold);
    animation: slowPan 3s infinite alternate;
}

.stat-item p { opacity: 0.9; font-weight: 300; text-transform: uppercase; letter-spacing: 1px; }

/* --- PROJECTS SECTION (LUXURY MODERN UPGRADE) --- */
.project-card {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    height: 450px; /* Taller card for grander scale */
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); /* Deep shadow */
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    background: #000; /* Fallback color */
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
    opacity: 0.85; /* Slightly dim image for mood */
}

/* Hover: Image Slow Zoom & Brighten */
.project-card:hover img {
    transform: scale(1.1);
    opacity: 1;
}

/* Gradient Overlay */
.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Subtle gradient to make text pop without blocking image */
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    z-index: 2;
    transition: 0.5s;
}

.project-info {
    transform: translateY(20px);
    transition: 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    width: 100%;
}

/* Slide up content on hover */
.project-card:hover .project-info {
    transform: translateY(0);
}

.project-info h3 {
    color: var(--white);
    font-size: 1.8rem; /* Large, luxury size */
    font-weight: 300;  /* Thin and elegant */
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: var(--font-heading); /* Uses Playfair Display if set */
    position: relative;
    display: inline-block;
}

/* Gold line under title on hover */
.project-info h3::after {
    content: '';
    display: block;
    width: 0;
    height: 1px;
    background: var(--primary-gold);
    transition: width 0.4s ease;
    margin-top: 5px;
}

.project-card:hover .project-info h3::after {
    width: 60px; /* Expands to show gold line */
}

.project-info p {
    color: #e5e5e5; /* Soft white/gray */
    font-size: 0.9rem;
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.5px;
    
    /* Hide description initially */
    opacity: 0; 
    transform: translateY(15px);
    transition: 0.5s ease 0.1s; /* Delay so title moves first */
}

/* Reveal description on hover */
.project-card:hover .project-info p {
    opacity: 1;
    transform: translateY(0);
}

/* Premium Glass "Featured" Tag */
.featured-tag {
    position: absolute;
    top: 25px;
    right: 25px;
    left: auto; /* Override previous left positioning */
    
    /* Frosted Glass Background */
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    
    color: var(--white);
    padding: 8px 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 10;
    border-radius: 50px; /* Pill Shape */
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    animation: none; /* Removed bounce for cleaner look */
}

/* Inner Gold Border Frame (Appears on Hover) */
.project-card::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 1px solid rgba(212, 175, 55, 0.6); /* Gold Border */
    opacity: 0;
    transform: scale(1.05);
    transition: all 0.5s ease;
    pointer-events: none;
    z-index: 3;
}

.project-card:hover::after {
    opacity: 1;
    transform: scale(1);
}

/* --- CATEGORIES SECTION (PREMIUM GLASS UPGRADE) --- */
.categories-wrapper {
    position: relative;
    padding: 8rem 10%;
    text-align: center;
    overflow: hidden;

    background-image: url("image/lux.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


/* Optional: Decorative Background Circle for depth */
.categories-wrapper::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2.5rem;
    margin-top: 5rem;
    position: relative;
    z-index: 1;
}

.category-box {
    /* GLASS EFFECT */
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    
    padding: 3.5rem 2rem;
    border-radius: 2px; /* Sharp corners for luxury */
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

/* Gold Gradient Bottom Border */
.category-box::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.category-box:hover {
    transform: translateY(-15px);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.category-box:hover::after {
    transform: scaleX(1);
}

/* Icon Styling */
.cat-icon {
    font-size: 3.5rem;
    /* Gradient Text for Icon */
    background: -webkit-linear-gradient(45deg, var(--primary-gold), #b8860b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
    transition: 0.5s;
    filter: drop-shadow(0 5px 15px rgba(212, 175, 55, 0.2));
}

.category-box:hover .cat-icon {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 8px 20px rgba(212, 175, 55, 0.4));
}

/* Text Styling */
.category-box h4 {
    font-size: 1.25rem;
    color: var(--text-main);
    letter-spacing: -0.5px;
    font-weight: 700;
}

.category-box span {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 5px;
}

/* "Get More Info" Underline Animation */
.category-box::before {
  content: '';
  position: absolute;
  top: -100%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(212,175,55,0.15),
    transparent
  );
  transform: rotate(25deg);
  transition: 0.6s;
}
.category-box:hover::before {
  top: 100%;
}

/* Button Upgrade */
.btn-center {
    margin-top: 5rem;
    display: inline-block;
    background: transparent;
    color: var(--text-main);
    padding: 15px 50px;
    border: 1px solid var(--primary-gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

/* Button Fill Effect */
.btn-center::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--primary-gold);
    z-index: -1;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-center:hover {
    color: var(--white);
    border-color: var(--primary-gold);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.btn-center:hover::before {
    width: 100%;
}
/* --- TESTIMONIALS SECTION (DARK LUXURY UPGRADE) --- */

/* 1. The Background: "Midnight Velvet" */
#testimonials {
    /* Deep, rich dark slate/navy gradient */
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    position: relative;
    padding: 8rem 10%;
    overflow: hidden;
}

/* Optional: Subtle Gold Glow in the center */
#testimonials::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
    position: relative;
    z-index: 1;
}

/* 2. The Card: "Dark Glass" */
.testimonial-card {
    /* Very subtle dark transparent background */
    background: rgba(255, 255, 255, 0.03);
    
    /* The Blur Effect */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    
    /* Fine borders */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* Slightly brighter top border for lighting effect */
    
    padding: 3.5rem 2.5rem;
    border-radius: 4px;
    position: relative;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Hover Effect: Card lifts and glows slightly */
.testimonial-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border-color: rgba(212, 175, 55, 0.3); /* Gold border hint on hover */
}

/* 3. Gold Accent Line at Top */
.testimonial-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary-gold);
    transition: 0.5s ease;
}

.testimonial-card:hover::after {
    width: 100%; /* Line draws across on hover */
}

/* 4. The Icon */
.quote-icon {
    font-size: 3rem;
    /* Gradient Gold Text */
    background: linear-gradient(to bottom, var(--primary-gold), #b8860b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
    opacity: 0.8;
}

/* 5. The Text */
.testimonial-card p {
    color: rgba(255, 255, 255, 0.9); /* Off-white for readability */
    font-family: 'Playfair Display', serif; /* If available, or sans-serif */
    font-style: italic;
    font-size: 1.15rem;
    line-height: 1.8;
    font-weight: 300;
}

/* 6. Client Info Area */
.client-info {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* Subtle divider */
}

.client-avatar {
    width: 60px;
    height: 60px;
    /* Gold border around avatar */
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--white);
    background: rgba(0,0,0,0.3);
    overflow: hidden;
}

.client-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-details h4 { 
    font-size: 1.1rem; 
    margin-bottom: 4px; 
    color: var(--white); 
    font-weight: 600;
    letter-spacing: 0.5px;
}

.client-details span {
    font-size: 0.75rem;
    color: var(--primary-gold);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* --- NEARBY DEVELOPMENTS (LUXURY GLASS GRID) --- */
.developments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 250px;
    gap: 2rem;
    margin-top: 3rem;
}

/* The Tall Card */
.dev-card:nth-child(3) {
    grid-row: span 2; 
}

.dev-card {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: 0.4s ease;
}

/* Image Animation (Slow Pan) */
.dev-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
    /* Uses the slowPan animation defined earlier */
    animation: slowPan 15s infinite alternate;
}

/* Hover: Zoom Image & Pause Animation */
.dev-card:hover img {
    transform: scale(1.15);
    animation-play-state: paused;
}

/* THE FLOATING LABEL (Premium Glass) */
.dev-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px; /* Floating width */
    
    /* Frosted Glass Initial State */
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    
    padding: 15px 20px;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: space-between; /* Space for the arrow */
    
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* HOVER STATE: Glass turns to Solid White */
.dev-card:hover .dev-overlay {
    background: var(--white);
    bottom: 25px; /* Slight lift up */
    border-color: var(--white);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Text Styling */
.dev-overlay div {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.4s ease;
}

/* Hover: Text turns Dark Slate */
.dev-card:hover .dev-overlay div {
    color: var(--text-main);
}

/* The Hidden Gold Arrow */
.dev-overlay::after {
    content: '\f178'; /* FontAwesome Right Arrow Code */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 1rem;
    color: var(--primary-gold);
    
    /* Hidden initially */
    opacity: 0;
    transform: translateX(-20px);
    transition: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Hover: Arrow slides in */
.dev-card:hover .dev-overlay::after {
    opacity: 1;
    transform: translateX(0);
}

/* --- MOBILE RESPONSIVE FIX --- */
@media (max-width: 768px) {
    .developments-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }
    .dev-card:nth-child(3) {
        grid-row: span 1; 
    }
}
/* --- FOOTER --- */
/* --- FOOTER (FIXED BACKGROUND SIZE) --- */
footer {
    /* 1. Dark Overlay + Image */
    background: 
        
        url('image/Foot.jpeg') !important;
    
    /* 2. SIZE ADJUSTMENT */
    /* 'cover' = Fills the whole area (might crop edges) */
    /* '100% 100%' = Stretches image to fit (might look squashed) */
    background-size: cover !important; 
    
    /* 3. POSITION ADJUSTMENT */
    /* 'center center' = Shows the middle of the image */
    /* 'center bottom' = Shows the bottom of the image (Good for skylines) */
    background-position: center center !important;
    
    background-repeat: no-repeat !important;
    animation: none !important; /* Stops conflicting animations */
    
    color: #94a3b8;
    padding: 6rem 10% 1rem;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 2rem;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.footer-col h3::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: var(--primary-gold);
    margin-top: 10px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 1.2rem;
    line-height: 1.6;
}

.contact-info i { color: var(--primary-gold); margin-top: 5px; }

.footer-links li { margin-bottom: 1rem; }
.footer-links a { transition: 0.3s; }
.footer-links a:hover { color: var(--primary-gold); padding-left: 5px; }

.recent-post {
    display: flex;
    gap: 15px;
    margin-bottom: 1.5rem;
    align-items: center;
}

.recent-post img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 4px;
}

.post-details a {
    color: var(--white);
    font-weight: 500;
    margin-bottom: 5px;
    display: block;
    transition: 0.3s;
}

.post-details a:hover { color: var(--primary-gold); }

.post-details span {
    font-size: 0.75rem;
    color: #64748b;
    text-transform: uppercase;
}

.subscribe-form {
    display: flex;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 1.5rem;
}

.subscribe-form input {
    flex: 1;
    padding: 15px;
    border: none;
    outline: none;
    color: var(--white);
    background: transparent;
}

.subscribe-form button {
    background: var(--primary-gold);
    color: var(--footer-bg);
    border: none;
    padding: 0 1.5rem;
    cursor: pointer;
    transition: 0.3s;
}

.subscribe-form button:hover { background: var(--white); }

.footer-bottom {
    position: relative;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Custom top border with left gap */
.footer-bottom::before {
    content: "";
    position: absolute;
    top: 0;
    left: 400px;       /* ← gap from LEFT side */
    right: 0;
    height: 1px;
    background: rgba(255,255,255,0.1);
}


.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    color: var(--white);
    border-radius: 50%;
    transition: 0.3s;
    margin-right: 10px;
    animation: float 4s ease-in-out infinite;
}

.social-icons a:hover {
    background: var(--primary-gold);
    color: var(--footer-bg);
    transform: translateY(-3px);
}

.scroll-top-btn {
    background: var(--primary-gold);
    color: var(--footer-bg);
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s;
    animation: bounceIcon 2s infinite;
}

.scroll-top-btn:hover { background: var(--white); transform: translateY(-3px); }

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .search-container { flex-direction: column; gap: 1rem; padding: 1.5rem; }
    .divider { display: none; }
    .btn-search { padding: 1rem; width: 100%; }
    nav { display: none; }
    .section { padding: 4rem 5%; }
    .developments-grid { grid-template-columns: 1fr; grid-auto-rows: 250px; }
    .dev-card:nth-child(3) { grid-row: span 1; }
    .footer-bottom { flex-direction: column; text-align: center; }
}
/* ================================
   FOOTER COLUMN POSITION ADJUSTMENT
   ================================ */

/* Contact Us */
.footer-content .footer-col:nth-child(1) {
    transform: translateX(35px) translateY(-10px);
}

/* Quick Links */
.footer-content .footer-col:nth-child(2) {
    transform: translateY(-5px);
}

/* Subscribe */
.footer-content .footer-col:nth-child(3) {
    transform: translateX(-55px) translateY(65px);
}
.footer-bottom .copyright {
    flex: 1;
    text-align: center;
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .search-container { flex-direction: column; gap: 1rem; padding: 1.5rem; }
    .divider { display: none; }
    .btn-search { padding: 1rem; width: 100%; }
    nav { display: none; }
    .section { padding: 4rem 5%; }
    .developments-grid { grid-template-columns: 1fr; grid-auto-rows: 250px; }
    .dev-card:nth-child(3) { grid-row: span 1; }
    .footer-bottom { flex-direction: column; text-align: center; }

    /* Reset footer column transforms on mobile */
    .footer-content .footer-col {
        transform: none !important;
    }
}
/* ================================
   SCROLL REVEAL (CSS FALLBACK)
   ================================ */

.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: 1s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Disable infinite animations once scroll animation is active */
.scroll-animate .testimonial-card,
.scroll-animate .stat-item h3,
.scroll-animate .social-icons a {
  animation: none !important;
}

/* --- NAVIGATION DROPDOWN (FIXED ALIGNMENT & SNAKE ANIMATION) --- */

/* 1. Parent Setup */
.dropdown-parent {
    position: relative;
}

/* 2. The Menu Container */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    width: 260px;
    
    /* RESET Global Nav Styles (Fixes the misalignment) */
    display: block !important;       /* Stops items from being side-by-side */
    gap: 0 !important;               /* Removes the big gap */
    padding: 0 !important;           /* Removes default padding */
    margin: 0 !important;
    
    /* Dark Glass Look */
    background: rgba(0, 0, 0, 0.9); 
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    
    border-radius: 2px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    
    /* Visibility Animation */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1001;
}

/* Show Menu on Hover */
.dropdown-parent:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* --- THE SNAKE BORDER ANIMATION --- */
/* Path: Top (R->L) -> Left (T->D) -> Bottom (L->R) -> Right (B->T) */

.d-border {
    position: absolute;
    background: var(--primary-gold);
    transition: 0.2s ease-in-out;
    z-index: 1002;
}

/* 1. Top Line: Right to Left */
.b-top { top: 0; right: 0; height: 2px; width: 0; }
.dropdown-parent:hover .b-top { width: 100%; transition-delay: 0s; }

/* 2. Left Line: Top to Down */
.b-left { top: 0; left: 0; width: 2px; height: 0; }
.dropdown-parent:hover .b-left { height: 100%; transition-delay: 0.2s; }

/* 3. Bottom Line: Left to Right */
.b-bottom { bottom: 0; left: 0; height: 2px; width: 0; }
.dropdown-parent:hover .b-bottom { width: 100%; transition-delay: 0.4s; }

/* 4. Right Line: Bottom to Up */
.b-right { bottom: 0; right: 0; width: 2px; height: 0; }
.dropdown-parent:hover .b-right { height: 100%; transition-delay: 0.6s; }

/* --- MENU ITEMS --- */
.dropdown-menu li {
    display: block !important;
    width: 100%;
    margin: 0 !important;
    opacity: 0; 
    transform: translateY(10px);
    transition: 0.3s ease;
}

/* Fade in items */
.dropdown-parent:hover .dropdown-menu li {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Delay (Items appear one by one) */
.dropdown-parent:hover .dropdown-menu li:nth-child(5) { transition-delay: 0.1s; } 
.dropdown-parent:hover .dropdown-menu li:nth-child(6) { transition-delay: 0.2s; } 
.dropdown-parent:hover .dropdown-menu li:nth-child(7) { transition-delay: 0.3s; } 
.dropdown-parent:hover .dropdown-menu li:nth-child(8) { transition-delay: 0.4s; } 
.dropdown-parent:hover .dropdown-menu li:nth-child(9) { transition-delay: 0.5s; }

/* Link Styling */
.dropdown-menu a {
    display: block;
    padding: 12px 25px;
    color: #ffffff !important; 
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); 
    text-align: left;
}

/* Remove main nav underline from these links */
.dropdown-menu a::after, .dropdown-menu a::before { display: none; }
.dropdown-parent > a::after { display: none; } 

/* Hover Effect */
.dropdown-menu a:hover {
    background: rgba(212, 175, 55, 0.15); 
    color: var(--primary-gold) !important;
    padding-left: 35px;
}