:root {
    --primary: #B39755;
    --primary-light: #d6c7a0;
    --primary-dark: #9a8249;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --dark-gray: #6c757d;
    --darker-gray: #495057;
    --secondary: #1a2a3a;
}

body {
    background-color: var(--white);
    font-family: 'Inter', sans-serif;
    color: #333;
}
/* Modern Navbar System */
.navbar {
  --gold-primary: #c5a338;
  --gold-hover: rgba(197, 163, 56, 0.12);
  --gold-active: rgba(197, 163, 56, 0.18);
  --text-primary: #1a1a1a;
  --text-secondary: #4a4a4a;
  
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 12px 5%;
  transition: 
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s ease,
    background 0.4s ease;
  z-index: 1000;
  backdrop-filter: blur(8px);
  background-color: rgba(255, 255, 255, 0.86);
}

.navbar-brand {
  font-weight: 800;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  color: var(--text-primary);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  transition: color 0.3s ease;
}

.navbar-brand::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-primary);
  transition: width 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.navbar-brand:hover {
  color: var(--gold-primary);
}

.navbar-brand:hover::after {
  width: 100%;
}

.navbar-nav {
  gap: 4px;
}

.navbar-nav .nav-link {
  font-weight: 600;
  color: var(--text-secondary);
  padding: 10px 18px;
  transition: 
    color 0.25s ease,
    background 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    transform 0.2s ease;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.navbar-nav .nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gold-primary);
  z-index: -1;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.navbar-nav .nav-link:hover {
  color: var(--text-primary);
  background: var(--gold-hover);
  transform: translateY(-2px);
}

.navbar-nav .nav-link.active {
  color: var(--gold-primary) !important;
  font-weight: 700;
  background: var(--gold-active);
  box-shadow: inset 0 0 0 1px rgba(197, 163, 56, 0.25);
}

.navbar-nav .nav-link.active::before {
  transform: scaleY(0.05);
}

/* Dynamic scroll effects */
.navbar.scrolled {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 8px 5%;
  background-color: rgba(255, 255, 255, 0.96);
}
/* Dropdown menu styling */
.navbar .dropdown-menu {
  background-color: #fff;
  border: none;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  padding: 0.5rem 0;
  min-width: 240px;
  transition: all 0.3s ease-in-out;
}

.navbar .dropdown-menu .dropdown-item {
  padding: 10px 20px;
  color: rgb(255, 157, 0);
  font-weight: 500;
  transition: background-color 0.2s, color 0.2s;
}

.navbar .dropdown-menu .dropdown-item:hover {
  background-color: rgb(255, 243, 220);
  color: #000;
  font-weight: 600;
  border-left: 4px solid rgb(255, 157, 0);
}

/* Dropdown arrow */
.navbar .nav-link.dropdown-toggle::after {
  border-top-color: rgb(255, 157, 0);
  margin-left: 6px;
}

/* Scrolled navbar dropdown behavior */
#navbar.scrolled .dropdown-menu .dropdown-item {
  color: #000;
}

#navbar.scrolled .dropdown-menu .dropdown-item:hover {
  background-color: rgb(255, 236, 202);
  color: rgb(255, 157, 0);
}

/* Fade-in dropdown animation */
.dropdown-menu {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.show > .dropdown-menu {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Mobile specific tweaks */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: #fff;
    border-radius: 0 0 12px 12px;
    padding: 1rem;
  }

  .navbar .nav-link,
  .navbar .dropdown-menu .dropdown-item {
    color: #000 !important;
  }

  .navbar .dropdown-menu {
    box-shadow: none;
    border-radius: 0;
    padding-left: 1rem;
  }

  .navbar .dropdown-menu .dropdown-item {
    padding: 8px 0;
    border-left: 3px solid transparent;
  }

  .navbar .dropdown-menu .dropdown-item:hover {
    background-color: transparent;
    color: rgb(255, 157, 0);
    border-left-color: rgb(255, 157, 0);
  }
}
/* Mobile enhancements */
@media (max-width: 768px) {
  .navbar {
    padding: 12px 7%;
    backdrop-filter: none;
    background-color: #fff;
  }
  
  .navbar-nav {
    gap: 2px;
    padding: 8px 0;
  }
  
  .navbar-nav .nav-link {
    padding: 12px 16px;
    border-radius: 8px;
    margin: 4px 0;
  }
  
  .navbar.scrolled {
    padding: 8px 7%;
  }
}
/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 150px 0;
    margin-bottom: 30px;
}

.hero-section h1 {
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section p {
    font-size: 1.2rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Filter Section */
.filter-section {
    background-color: var(--white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1.5rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.filter-btn {
    background-color: var(--white);
    color: var(--darker-gray);
    border: 1px solid #dee2e6;
    border-radius: 30px;
    padding: 8px 20px;
    margin: 5px;
    transition: all 0.3s;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.filter-btn i {
    margin-right: 8px;
}

.section-title {
    position: relative;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    color: var(--darker-gray);
    font-weight: 600;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary);
}

/* Property Cards */
.property-card {
    border-radius: 10px;
    overflow: hidden;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 25px;
    height: 100%;
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s;
}

.property-card:hover .card-img-top {
    transform: scale(1.05);
}

.badge-custom {
    background-color: var(--primary);
    position: absolute;
    top: 15px;
    left: 15px;
    font-weight: 500;
    padding: 5px 12px;
    border-radius: 4px;
    color: white;
}

.badge-rent {
    background-color: #28a745;
}

.property-price {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.4rem;
    margin-top: 10px;
}

.property-location {
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.property-features {
    border-top: 1px solid #eee;
    padding-top: 15px;
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
}

.feature {
    text-align: center;
}

.feature i {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.feature span {
    display: block;
    font-size: 0.9rem;
    color: var(--dark-gray);
}

.btn-primary-custom {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-primary-custom:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Stats Section */
.stats-box {
    background: linear-gradient(135deg, rgba(179, 151, 85, 0.1) 0%, rgba(179, 151, 85, 0.05) 100%);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    margin-bottom: 30px;
    transition: transform 0.3s;
}

.stats-box:hover {
    transform: translateY(-5px);
}

.stats-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.stats-label {
    font-size: 1rem;
    color: var(--darker-gray);
    font-weight: 500;
}

/* City Filter */
.city-filter {
    margin-bottom: 25px;
}

.city-btn {
    background-color: var(--white);
    border: 1px solid #dee2e6;
    border-radius: 30px;
    padding: 5px 15px;
    margin: 5px;
    transition: all 0.3s;
}

.city-btn:hover,
.city-btn.active {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* Search Bar */
.search-bar {
    background-color: var(--white);
    border-radius: 50px;
    padding: 10px 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.search-bar .input-group {
    border-radius: 50px;
    overflow: hidden;
}

.search-bar input {
    border: none;
    background: transparent;
    width: 100%;
    padding: 5px 10px;
}

.search-bar input:focus {
    outline: none;
}

.search-bar button {
    background: var(--primary);
    border: none;
    color: white;
    padding: 8px 25px;
    border-radius: 30px;
    transition: all 0.3s;
}

.search-bar button:hover {
    background: var(--primary-dark);
}

.property-type {
    display: inline-block;
    background: rgba(179, 151, 85, 0.1);
    color: var(--primary);
    padding: 3px 12px;
    border-radius: 30px;
    font-size: 0.85rem;
    margin-top: 5px;
}

/* Pagination */
.pagination-custom .page-link {
    color: var(--primary);
    border: 1px solid #dee2e6;
    margin: 0 5px;
    border-radius: 50% !important;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-custom .page-item.active .page-link {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
}

.pagination-custom .page-link:hover {
    background-color: rgba(179, 151, 85, 0.1);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 60px 20px;
    border-radius: 10px;
    margin: 50px 0;
}

.cta-section h2 {
    font-weight: 700;
}



/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 100px 0;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .filter-btn, .city-btn {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
    
    .stats-box {
        padding: 15px;
    }
    
    .stats-number {
        font-size: 2rem;
    }
    
    .property-features {
        flex-direction: column;
    }
    
    .feature {
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 80px 0;
    }
    
    .search-bar {
        padding: 8px 15px;
    }
    
    .search-bar button {
        padding: 6px 15px;
    }
    
    .property-card {
        margin-bottom: 30px;
    }
}
.footer-dark {
    background-color: var(--dark); /* fixed dark color for footer */
    color: white;
    position: relative;
    overflow: hidden;
}

.footer-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark, #d1a845));
}

/* ========== Social Icons ========== */
.social-icon {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-decoration: none;
}

.social-icon:hover {
    background-color: var(--primary, #e7c873);
    color: var(--secondary, #1e1e2f);
    transform: translateY(-5px);
}

/* ========== Highlighted Text ========== */
.highlight {
    position: relative;
    z-index: 1;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 12px;
    background: rgba(231, 200, 115, 0.3);
    z-index: -1;
    transform: skewX(-15deg);
}

/* ========== Scroll Animations ========== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== Custom Utility Classes ========== */
.bg-custom-light {
    background-color: var(--light, #f8f9fa) !important;
}

.bg-deep-blue {
    background-color: var(--secondary, #1e1e2f);
}

.ptb-6 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

.mb-6 {
    margin-bottom: 5rem !important;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
}

/* ========== Navbar ========== */
.navbar-nav {
    align-items: center;
}

/* ========== Responsive Fixes ========== */
@media (max-width: 768px) {
    .display-title {
        font-size: 2.8rem;
    }

    .hero-section {
        padding: 120px 0 80px;
    }

    .stats-number {
        font-size: 2.8rem;
    }

    .stats-section {
        padding: 40px 20px;
    }

    .testimonial-card {
        padding: 30px 20px;
    }

    .navbar-collapse {
        background-color: #fff;
        padding: 15px;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .stats-item {
        padding: 20px 15px;
    }
}

