.filter-item .filter-control { margin-top: 6px; }
/* Also apply to direct input/select inside .filter-item */
.filter-item > input,
.filter-item > select,
.filter-item .form-control,
.filter-item .form-select {
  margin-top: 6px;
}
:root {
    --brand-color: #1A0C4B;
    --brand-accent: #f3f1ff;
    --brand-border: #dcd6f7;
    --brand-gradient: linear-gradient(135deg, #1A0C4B, #35206f);
}

/* ===== MODERN FOOTER STYLES ===== */
.site-footer {
  background: linear-gradient(135deg, #1A0C4B 0%, #2a1580 100%);
  color: #fff;
  padding: 4rem 0 0;
  margin-top: 5rem;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.footer-content {
  padding-bottom: 2.5rem;
}

/* Brand Section */
.footer-brand {
  margin-bottom: 1.5rem;
}

.footer-logo {
  height: 65px;
  width: auto;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  margin-bottom: 1.25rem;
  transition: transform 0.3s ease;
}

.footer-logo:hover {
  transform: translateY(-2px);
}

.footer-desc {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 100%;
}

/* Footer Titles */
.footer-title {
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.9rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #f3f1ff, transparent);
  border-radius: 2px;
}

/* Quick Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
  padding-left: 0;
}

.footer-links a::before {
  content: '→';
  position: absolute;
  left: -20px;
  opacity: 0;
  transition: all 0.3s ease;
  color: #f3f1ff;
}

.footer-links a:hover {
  color: #fff;
  padding-left: 20px;
  transform: translateX(5px);
}

.footer-links a:hover::before {
  opacity: 1;
  left: 0;
}

/* Contact List */
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: #f3f1ff;
  opacity: 0.9;
}

.contact-list a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-list a:hover {
  color: #fff;
  text-decoration: underline;
}

/* Social Links */
.socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
}

.social-link:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  border-color: rgba(255,255,255,0.2);
}

.social-link .icon {
  display: block;
  transition: transform 0.3s ease;
}

.social-link:hover .icon {
  transform: scale(1.1);
}

/* Map Wrapper */
.map-wrapper {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.map-wrapper:hover {
  transform: translateY(-2px);
}

.map-wrapper iframe {
  border: none;
  display: block;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.75rem 0;
  margin-top: 2rem;
  background: rgba(0,0,0,0.1);
}

.copyright {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin: 0;
}

.motto {
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
  font-style: italic;
  margin: 0;
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 991px) {
  .site-footer {
    padding: 3rem 0 0;
  }
  
  .footer-content {
    padding-bottom: 2rem;
  }
  
  .map-wrapper {
    margin-top: 1rem;
  }
  
  .footer-bottom .row {
    text-align: center;
  }
  
  .footer-bottom .text-md-end {
    text-align: center !important;
    margin-top: 0.75rem;
  }
}

@media (max-width: 767px) {
  .site-footer {
    padding: 2.5rem 0 0;
    margin-top: 3rem;
  }
  
  .footer-desc {
    font-size: 0.9rem;
  }
  
  .footer-title {
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }
  
  .footer-links a,
  .contact-list li {
    font-size: 0.9rem;
  }
  
  .social-link {
    width: 40px;
    height: 40px;
  }
  
  .map-wrapper {
    margin-top: 1.5rem;
  }
  
  .motto {
    font-size: 0.8rem;
    margin-top: 0.5rem;
  }
}

@media (max-width: 767px) {
  .site-footer .map-wrapper { display: none; }
  .site-footer .footer-desc { max-width: 100%; }
}

/* === NAVBAR / HEADER === */
#mainNavbar {
    background-color: var(--brand-color); /* same as logo */
    padding: 1rem 2rem;
}

#mainNavbar .navbar-brand img.logo {
    height: 60px;
    width: auto;
    border-radius: 5px;
}

/* navbar links */
#mainNavbar .nav-link {
    color: white !important;
    font-weight: 500;
    margin-right: 20px;
    transition: 0.3s ease;
}

#mainNavbar .nav-link:hover {
    color: #FFD700 !important; /* gold accent - perfect contrast with purple theme */
    text-decoration: none;
    transform: translateY(-2px);
}

/* optional: hamburger icon color when collapsed */
.navbar-toggler {
    border-color: white !important;
}

.navbar-toggler-icon {
    filter: invert(1);
}

a {
    text-decoration: none !important;
}

/* Space out navbar links evenly */
#mainNavbar .navbar-nav {
    display: flex;
    justify-content: space-around; /* spreads them out evenly */
    align-items: center;
    width: 60%; /* adjust this to control how far apart they are */
}

/* Push links away from logo */
#mainNavbar .navbar-collapse {
    margin-left: auto;
}

@media (max-width: 991px) {
    #mainNavbar .navbar-nav {
        width: 100%;
        justify-content: center;
    }
}
/** === END NAVBAR / HEADER === */

/* ===== MODERN HERO CAROUSEL ===== */
.modern-hero-carousel {
  position: relative;
  width: 100%;
  height: 85vh;
  min-height: 600px;
  max-height: 900px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.modern-hero-carousel .carousel-inner {
  height: 100%;
}

.modern-hero-carousel .carousel-item {
  height: 100%;
  position: relative;
}

/* Smooth fade transition */
.carousel-fade .carousel-item {
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.carousel-fade .carousel-item.active,
.carousel-fade .carousel-item-next.carousel-item-start,
.carousel-fade .carousel-item-prev.carousel-item-end {
  opacity: 1;
  position: relative;
}

.carousel-fade .carousel-item-next:not(.carousel-item-start),
.carousel-fade .carousel-item-prev:not(.carousel-item-end) {
  opacity: 0;
}

/* Image styling with zoom effect */
.modern-hero-carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 8s ease-out;
}

.modern-hero-carousel .carousel-item.active img {
  transform: scale(1.05);
}

/* Dark overlay for better text readability */
.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(26, 12, 75, 0.2) 0%,
    rgba(26, 12, 75, 0.4) 50%,
    rgba(0, 0, 0, 0.8) 100%
  );
  z-index: 1;
}

/* Modern caption styling */
.modern-caption {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  padding: 2rem 0;
  text-align: center;
  z-index: 2;
  background: transparent;
}

.modern-caption .container {
  max-width: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
}

.caption-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  animation: fadeInDown 0.8s ease;
  transition: all 0.3s ease;
  cursor: default;
}

.caption-badge:hover {
  background: linear-gradient(135deg, #1A0C4B 0%, #35206f 100%);
  border-color: #35206f;
  transform: scale(1.05);
}

.carousel-title {
  font-size: 4rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 1rem;
  text-shadow: 2px 4px 20px rgba(0, 0, 0, 0.8);
  letter-spacing: -1px;
  animation: fadeInUp 1s ease;
  line-height: 1.1;
  text-transform: capitalize;
  transition: all 0.3s ease;
  cursor: default;
}

.carousel-title:hover {
  color: #9b7ff7;
  text-shadow: 2px 4px 25px rgba(0, 0, 0, 0.9), 0 0 30px rgba(155, 127, 247, 0.7);
  transform: scale(1.02);
}

.carousel-subtitle {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2rem;
  text-shadow: 1px 2px 10px rgba(0, 0, 0, 0.7);
  animation: fadeInUp 1.2s ease;
  font-weight: 400;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  transition: all 0.3s ease;
  cursor: default;
}

.carousel-subtitle:hover {
  color: #9b7ff7;
  text-shadow: 1px 2px 15px rgba(0, 0, 0, 0.8), 0 0 20px rgba(155, 127, 247, 0.6);
}

.btn-carousel-cta {
  background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
  color: #1A0C4B;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 1.1rem 3rem;
  border-radius: 50px;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
  display: inline-block;
  animation: fadeInUp 1.4s ease;
  position: relative;
  overflow: hidden;
}

.btn-carousel-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s;
}

.btn-carousel-cta:hover::before {
  left: 100%;
}

.btn-carousel-cta:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 15px 40px rgba(155, 127, 247, 0.6), 0 0 20px rgba(155, 127, 247, 0.5);
  background: linear-gradient(135deg, #9b7ff7 0%, #b8a3ff 100%);
  color: #1A0C4B;
}

/* Modern indicators */
.modern-indicators {
  bottom: 1rem;
  z-index: 3;
  margin-bottom: 0;
}

.modern-indicators button {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.6);
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  margin: 0 4px;
  transition: all 0.3s ease;
  opacity: 1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.modern-indicators button.active {
  background-color: white;
  width: 24px;
  border-radius: 5px;
  border-color: white;
  box-shadow: 0 2px 12px rgba(255, 255, 255, 0.6);
}

.modern-indicators button:hover:not(.active) {
  background-color: rgba(255, 255, 255, 0.9);
  transform: scale(1.3);
}

/* Modern controls */
.modern-control {
  width: 65px;
  height: 65px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  border-radius: 50%;
  opacity: 0;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.2);
  z-index: 3;
}

.modern-hero-carousel:hover .modern-control {
  opacity: 0.9;
}

.modern-control:hover {
  opacity: 1 !important;
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-50%) scale(1.1);
}

.modern-control .carousel-control-prev-icon,
.modern-control .carousel-control-next-icon {
  width: 26px;
  height: 26px;
  filter: brightness(0) invert(1);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive design */
@media (max-width: 992px) {
  .modern-hero-carousel {
    height: 70vh;
    min-height: 500px;
  }
  
  .carousel-title {
    font-size: 3rem;
  }
  
  .carousel-subtitle {
    font-size: 1.2rem;
  }
  
  .modern-caption {
    padding: 2rem 1rem;
  }
  
  .modern-caption .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

@media (max-width: 768px) {
  .modern-hero-carousel {
    height: 60vh;
    min-height: 450px;
  }
  
  .carousel-title {
    font-size: 2.2rem;
    letter-spacing: -0.5px;
  }
  
  .carousel-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .modern-caption {
    padding: 1.5rem 1rem;
  }
  
  .modern-caption .container {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  
  .btn-carousel-cta {
    font-size: 1rem;
    padding: 0.9rem 2.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  }
  
  .modern-control {
    width: 50px;
    height: 50px;
    opacity: 0.7;
  }
  
  .caption-badge {
    font-size: 0.75rem;
    padding: 0.4rem 1.2rem;
    margin-bottom: 1rem;
  }
}

@media (max-width: 576px) {
  .modern-hero-carousel {
    height: 55vh;
    min-height: 400px;
  }
  
  .modern-caption .container {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  
  .caption-badge {
    font-size: 0.7rem;
    padding: 0.35rem 1rem;
    margin-bottom: 0.75rem;
  }
  
  .carousel-title {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
  }
  
  .carousel-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
  }
  
  .btn-carousel-cta {
    font-size: 0.9rem;
    padding: 0.8rem 2rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    min-width: auto;
    white-space: nowrap;
  }
  
  .modern-control {
    width: 45px;
    height: 45px;
  }
  
  .modern-indicators button {
    width: 8px;
    height: 8px;
    margin: 0 4px;
  }
  
  .modern-indicators button.active {
    width: 35px;
  }
}

/** === END CAROUSEL CUSTOMIZATION === */

/* ===== CONTACT PAGE STYLES ===== */
.contact-header {
  background: linear-gradient(135deg, #1A0C4B 0%, #2a1580 100%);
  color: white;
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.contact-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.contact-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
  color: white;
}

.contact-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.contact-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(26, 12, 75, 0.1);
  padding: 3rem;
  margin-top: -3rem;
  position: relative;
  z-index: 1;
}

.contact-card-header {
  text-align: center;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid #f3f1ff;
}

.contact-card-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1A0C4B;
  margin-bottom: 1rem;
}

.contact-card-desc {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #faf9ff 0%, #f3f1ff 100%);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.contact-info-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(26, 12, 75, 0.15);
}

.contact-icon-wrapper {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  box-shadow: 0 4px 15px rgba(26, 12, 75, 0.1);
}

.contact-icon-wrapper.whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: white;
}

.contact-icon-wrapper.email {
  background: linear-gradient(135deg, #1A0C4B 0%, #2a1580 100%);
  color: white;
}

.contact-icon-wrapper.location {
  background: linear-gradient(135deg, #FF6B6B 0%, #EE5A6F 100%);
  color: white;
}

.contact-info-icon {
  width: 28px;
  height: 28px;
}

.contact-info-content h5 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1A0C4B;
  margin-bottom: 0.5rem;
}

.contact-link {
  color: #1A0C4B;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-link:hover {
  color: #2a1580;
  text-decoration: underline;
}

.contact-text {
  color: #555;
  font-size: 1.05rem;
  margin: 0;
  line-height: 1.6;
}

.contact-actions {
  text-align: center;
  padding-top: 2rem;
  border-top: 2px solid #f3f1ff;
}

@media (max-width: 768px) {
  .contact-header {
    padding: 2.5rem 0;
  }
  
  .contact-title {
    font-size: 1.75rem;
  }
  
  .contact-subtitle {
    font-size: 1rem;
    padding: 0 1rem;
  }
  
  .contact-card {
    padding: 2rem 1.5rem;
    margin-top: -2rem;
  }
  
  .contact-card-title {
    font-size: 1.5rem;
  }
  
  .contact-info-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .contact-info-item {
    padding: 1.25rem;
  }
}

/* Enhanced Property Filter Section */
#property-filter {
  background: linear-gradient(135deg, #1A0C4B 0%, #2a1580 100%);
  color: white;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

#property-filter::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.02)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.filter-header {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  z-index: 1;
  animation: fadeInDown 0.6s ease;
}

.filter-title {
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.filter-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  font-weight: 400;
}

.filter-form {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.filter-grid {
  display: grid;
  /* slightly larger min width so controls align more consistently */
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 28px;
  animation: fadeInUp 0.6s ease 0.2s both;
}

/* Force predictable columns on larger screens so Price Range and Property Type sit side-by-side */
@media (min-width: 992px) {
  .filter-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 768px) and (max-width: 991px) {
  .filter-grid { grid-template-columns: repeat(2, 1fr); }
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 20px;
  animation: fadeInUp 0.6s ease;
}

.filter-item {
  display: flex;
  flex-direction: column;
  position: relative;
  animation: fadeInUp 0.5s ease both;
  align-items: stretch;
}

.filter-item:nth-child(1) { animation-delay: 0.1s; }
.filter-item:nth-child(2) { animation-delay: 0.15s; }
.filter-item:nth-child(3) { animation-delay: 0.2s; }
.filter-item:nth-child(4) { animation-delay: 0.25s; }
.filter-item:nth-child(5) { animation-delay: 0.3s; }
.filter-item:nth-child(6) { animation-delay: 0.35s; }

.filter-item label {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.2px;
  transition: color 0.2s ease;
}
/* Ensure labels occupy consistent vertical space to align controls */
.filter-item label { min-height: 26px; }

.filter-item .filter-control { margin-top: 6px; }

.filter-item label svg.filter-icon {
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
}

.filter-icon {
  opacity: 0.85;
  transition: all 0.3s ease;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
}

.filter-item:hover .filter-icon {
  opacity: 1;
  transform: scale(1.1);
}

.filter-item input,
.filter-item select {
  padding: 10px 12px;
  height: 44px;
  min-height: 44px;
  border: 1.25px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  outline: none;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.06);
  color: white;
  transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(6px);
  font-weight: 400;
  width: 100%;
  box-sizing: border-box;
}

.filter-item input::placeholder {
  color: rgba(255, 255, 255, 0.45);
  font-weight: 400;
}

.filter-item input:focus,
.filter-item select:focus {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.filter-item select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath fill='rgba(255,255,255,0.6)' d='M7 10L2 5h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 48px;
}

.filter-item select option {
  background: #1A0C4B;
  color: white;
  padding: 10px;
}

/* Advanced Filters Animation */
.advanced-filters {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
              opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              margin-top 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 0;
}

.advanced-filters.show {
  max-height: 600px;
  opacity: 1;
  margin-top: 30px;
  animation: slideDownFade 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.advanced-filters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  padding: 35px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.advanced-filters-grid::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.advanced-filters-grid::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

@keyframes slideDownFade {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* See More Toggle Button */
.see-more-toggle {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 16px 28px;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.see-more-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.see-more-toggle.active {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.see-more-icon {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
}

.see-more-toggle.active .see-more-icon {
  transform: rotate(180deg);
}

.filter-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
  margin-top: 40px;
  animation: fadeInUp 0.6s ease 0.4s both;
}

.filter-actions .filter-btn,
.filter-actions .see-more-toggle {
  flex: 0 0 auto;
  white-space: nowrap;
}

/* Make sure See More and Filter sit next to each other with extra breathing room */
.filter-actions .see-more-toggle { padding: 12px 16px; border-radius: 8px; background: transparent; border: 1px solid rgba(26,12,75,0.08); color: #fff; }
.filter-actions .see-more-toggle:hover { background: rgba(255,255,255,0.03); }
.filter-actions .filter-btn { margin-left: 8px; }

.filter-btn,
.clear-btn {
  padding: 16px 36px;
  border: none;
  border-radius: 10px;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.filter-btn {
  background: #1A0C4B;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(26, 12, 75, 0.12);
}

.filter-btn:hover {
  background: #2a1580;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(26, 12, 75, 0.18);
}

.filter-btn:active {
  transform: translateY(0);
}

.clear-btn {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Make see-more appear as a compact outline button when inside the grid */
.filter-see-more-item { display: flex; align-items: center; }
.filter-see-more-item .see-more-toggle { padding: 12px 18px; border-radius: 8px; background: transparent; border: 1.2px solid rgba(255,255,255,0.12);} 

/* Reduce footer spacing so it sits closer to previous section */
.site-footer { margin-top: 0; padding-top: 2.25rem; }

/* Ensure filter inputs align */
.filter-item input,
.filter-item select { width: 100%; box-sizing: border-box; }


.clear-btn.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.clear-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.clear-btn svg,
.filter-btn svg {
  transition: transform 0.3s ease;
}

.clear-btn:hover svg,
.filter-btn:hover svg {
  transform: scale(1.1);
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- MOBILE FIXES --- */
@media (max-width: 768px) {
  #property-filter {
    padding: 50px 0;
  }
  
  .filter-header {
    margin-bottom: 35px;
  }
  
  .filter-title {
    font-size: 1.75rem;
  }
  
  .filter-subtitle {
    font-size: 0.9rem;
  }
  
  .filter-grid,
  .advanced-filters-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .filter-item {
    width: 100%;
  }
  
  .filter-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    flex-wrap: wrap;
  }
  
  .filter-btn,
  .clear-btn,
  .see-more-toggle {
    width: 100%;
    justify-content: center;
  }
  
  .advanced-filters-grid {
    padding: 25px 20px;
  }
  
  .carousel-image-wrapper,
  .modern-carousel img {
    height: 400px;
  }
  
  .carousel-title {
    font-size: 2rem;
  }
  
  .carousel-subtitle {
    font-size: 1.1rem;
  }
}
/** === END PROPERTY FILTER SECTION === */

/*Info Cards Section*/
#about-cards .info-card {
  background-color: #f5f5f5;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px 20px;
}

#about-cards .info-card .card-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

#about-cards .info-card h5 {
  color: #1A0C4B; 
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 1.2rem;
}

#about-cards .info-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
}

#about-cards .info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

/* MOBILE STYLING */
@media (max-width: 768px) {
  #about-cards .info-card {
    padding: 25px 15px;
  }

  #about-cards .info-card .card-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
  }

  #about-cards .info-card h5 {
    font-size: 1.1rem;
  }

  #about-cards .info-card p {
    font-size: 0.9rem;
  }
}
/** === END INFO CARDS SECTION === */

/*Why Choose Us Section*/
#why-choose-us {
  background-color: #1A0C4B; /* navbar color */
  color: white;
}

#why-choose-us .section-title {
  font-size: 2rem;
  font-weight: 700;
}

#why-choose-us h5 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
}

#why-choose-us p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #ffffffdd; /* slightly lighter for readability */
}

#why-choose-us .why-icon {
  width: 60px;
  height: 60px;
}

@media (max-width: 768px) {
  #why-choose-us .why-icon {
    width: 50px;
    height: 50px;
  }

  #why-choose-us h5 {
    font-size: 1.1rem;
  }

  #why-choose-us p {
    font-size: 0.9rem;
  }
}

/** === END WHY CHOOSE US SECTION === */

/* Property Listings Section */
/* === PROPERTY LIST / CARDS === */
/* Property List Container */
#propertyList {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 40px 0;
}

/* Heading */
#propertyList h3 {
  width: 100%;
  text-align: center;
  color: #1A0C4B;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 24px;
}

/* Individual Cards */
#propertyList .card {
  width: 360px; /* bigger card */
  border: none;
  border-radius: 12px;
  box-shadow: 0 6px 25px rgba(0,0,0,0.12); /* slightly stronger shadow */
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #fff;
}

#propertyList .card:hover {
  transform: translateY(-10px); /* a bit more lift on hover */
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}

#propertyList .card img {
  width: 100%;
  height: 220px; /* taller image for bigger card */
  object-fit: cover;
}

#propertyList .card-body {
  padding: 25px; /* more padding inside card */
}

#propertyList .card-title {
  font-size: 1.3rem; /* bigger title */
  font-weight: 700;
  color: #1A0C4B;
  margin-bottom: 15px;
}

#propertyList .card-text {
  font-size: 1rem; /* slightly bigger text */
  color: #333;
  margin-bottom: 15px;
}

#propertyList .btn-primary {
  background-color: #1A0C4B;
  border: none;
  width: 100%;
  font-weight: 600;
  padding: 12px;
  font-size: 1rem;
}

#propertyList .btn-primary:hover {
  background-color: #2a1580;
}

/* Responsive fix */
@media (max-width: 768px) {
  #propertyList {
    flex-direction: column;
    align-items: center;
    padding: 40px 0;
  }

  #propertyList .card {
    width: 95%; /* nearly full width on mobile */
  }

  #propertyList h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
  }
}
/** === END PROPERTY LIST / CARDS === */

/* More Properties Card - Clean & Modern */
.more-properties-card {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: #ffffff;
  color: #1A0C4B;
  height: 100%;
  display: block !important;
  flex-direction: column;
  min-height: auto;
  border: 1px solid rgba(26, 12, 75, 0.1);
}

.more-properties-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(26, 12, 75, 0.12);
  border-color: rgba(26, 12, 75, 0.2);
}

.more-properties-card .card-body {
  padding: 20px 16px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.more-properties-card .card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1A0C4B;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}

.more-properties-card .card-text {
  font-size: 0.85rem;
  color: rgba(26, 12, 75, 0.7);
  line-height: 1.5;
  margin-bottom: 16px;
}

.more-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.more-properties-card .btn-sale,
.more-properties-card .btn-rent {
  background-color: #1A0C4B;
  color: white;
  border: 1.5px solid #1A0C4B;
  border-radius: 10px;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  letter-spacing: 0.2px;
  flex: 1;
  min-width: 120px;
  box-shadow: 0 2px 6px rgba(26, 12, 75, 0.15);
}

.more-properties-card .btn-sale:hover,
.more-properties-card .btn-rent:hover {
  background-color: #35206f;
  border-color: #35206f;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 3px 12px rgba(26, 12, 75, 0.25);
}
/** === END MORE PROPERTIES CARD === */

/*About Us Section*/
/* Modern About Us Styling */
#about-us {
  background: linear-gradient(135deg, #faf9ff 0%, #ffffff 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

#about-us::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(26,12,75,0.03)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
  opacity: 0.5;
}

/* Shared About / Vision styles */
.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 60px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
  padding: 0 2rem;
}

.about-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
  width: 100%;
}

.about-text {
  flex: 1;
  min-width: 300px;
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(26, 12, 75, 0.08);
  transition: all 0.3s ease;
}

.about-text:hover {
  box-shadow: 0 15px 50px rgba(26, 12, 75, 0.12);
  transform: translateY(-5px);
}

.about-image {
  flex: 1;
  text-align: center;
  min-width: 300px;
}

.about-image img {
  max-width: 100%;
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(26, 12, 75, 0.15);
  object-fit: cover;
  transition: all 0.4s ease;
}

.about-image img:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 60px rgba(26, 12, 75, 0.2);
}

/* Headings */
.about-title {
  color: #1A0C4B;
  font-weight: 800;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  line-height: 1.2;
  position: relative;
  padding-bottom: 1rem;
}

.about-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #1A0C4B, #35206f);
  border-radius: 2px;
}

.vision-section h2 {
  color: #1A0C4B;
  font-weight: 800;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  line-height: 1.2;
  position: relative;
  padding-bottom: 1rem;
}

.vision-section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #1A0C4B, #35206f);
  border-radius: 2px;
}

/* Text */
.about-text p {
  font-size: 1.1rem;
  line-height: 1.9;
  color: #444;
  margin-bottom: 1.5rem;
  text-align: justify;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-text p strong {
  color: #1A0C4B;
  font-weight: 700;
}

/* Vision Section */
.about-section.vision-section {
  background: white;
  padding: 5rem 0;
  position: relative;
}

.vision-section .about-container {
  background: transparent;
}

.vision-section .about-text {
  order: 2;
}

.vision-section .about-image {
  order: 1;
}

.vision-section .about-image img {
  max-width: 100%;
  width: 100%;
  max-width: 500px;
}

/* Mobile */
@media (max-width: 768px) {
  #about-us {
    padding: 3rem 0;
  }
  
  .about-section.vision-section {
    padding: 3rem 0;
  }
  
  .about-container,
  .about-flex {
    flex-direction: column;
    gap: 30px;
    padding: 0 1rem;
  }

  .about-text {
    padding: 2rem 1.5rem;
    min-width: 100%;
  }

  .about-image {
    margin-bottom: 0;
    min-width: 100%;
  }
  
  .about-image img {
    max-width: 100%;
  }
  
  .about-title,
  .vision-section h2 {
    font-size: 2rem;
    text-align: center;
  }
  
  .about-title::after,
  .vision-section h2::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .about-text p {
    font-size: 1rem;
    text-align: left;
  }
  
  .vision-section .about-text {
    order: 2;
  }
  
  .vision-section .about-image {
    order: 1;
  }
}

@media (max-width: 480px) {
  #about-us {
    padding: 2rem 0;
  }
  
  .about-section.vision-section {
    padding: 2rem 0;
  }
  
  .about-text {
    padding: 1.5rem 1rem;
  }
  
  .about-title,
  .vision-section h2 {
    font-size: 1.75rem;
  }
  
  .about-text p {
    font-size: 0.95rem;
    line-height: 1.7;
  }
}

/** === END ABOUT US SECTION === */

/*Reviews Section*/
#reviews {
  background: linear-gradient(135deg, #faf9ff 0%, #ffffff 100%);
  text-align: center;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

#reviews::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(26,12,75,0.03)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
  opacity: 0.5;
}

.reviews-section-spacing {
  margin-top: 0;
  padding: 5rem 0;
  background: linear-gradient(135deg, #faf9ff 0%, #ffffff 100%);
  position: relative;
}

.reviews-section-spacing::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(26,12,75,0.03)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
  opacity: 0.5;
}

#reviews .section-title {
  color: #1A0C4B;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

#reviews .container {
  position: relative;
  z-index: 1;
}

.reviews-carousel {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0 50px;
}

.reviews-wrapper {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  flex: 1;
  padding: 10px 0;
}

.review-card {
  flex: 0 0 320px;
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 30px rgba(26, 12, 75, 0.1);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(26, 12, 75, 0.05);
}

.review-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(26, 12, 75, 0.15);
}

.review-card p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: #555;
  line-height: 1.8;
  font-style: italic;
  position: relative;
  padding: 0 0.5rem;
}

.review-card p::before {
  content: '"';
  font-size: 3rem;
  color: #1A0C4B;
  opacity: 0.2;
  position: absolute;
  top: -1rem;
  left: -0.5rem;
  font-family: Georgia, serif;
}

.review-card h5 {
  font-weight: 700;
  color: #1A0C4B;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.review-card .stars {
  color: #FFB800;
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.carousel-btn {
  background: linear-gradient(135deg, #1A0C4B 0%, #35206f 100%);
  color: white;
  border: none;
  padding: 12px 18px;
  cursor: pointer;
  border-radius: 12px;
  font-size: 1.5rem;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  box-shadow: 0 4px 15px rgba(26, 12, 75, 0.3);
  transition: all 0.3s ease;
}

.carousel-btn:hover {
  background: linear-gradient(135deg, #35206f 0%, #1A0C4B 100%);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(26, 12, 75, 0.4);
}

.carousel-btn.prev {
  left: 0;
}

.carousel-btn.next {
  right: 0;
}

.carousel-btn:hover {
  background-color: #2a1580;
}

.reviews-wrapper::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

/* Mobile adjustments */
@media (max-width: 768px) {
  #reviews,
  .reviews-section-spacing {
    padding: 3rem 0;
  }
  
  #reviews .section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
  
  .reviews-carousel {
    padding: 0 40px;
  }
  
  .review-card {
    flex: 0 0 85%;
    min-width: 85%;
    padding: 1.5rem;
  }
  
  .review-card p {
    font-size: 0.95rem;
  }
  
  .carousel-btn {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
    padding: 8px 12px;
    border-radius: 10px;
  }
  
  .carousel-btn.prev {
    left: -10px;
  }
  
  .carousel-btn.next {
    right: -10px;
  }
  
  #reviews,
  .reviews-section-spacing {
    padding: 50px 0;
    margin-top: 40px;
  }
}


.upload-btn {
  border-color: #ffffff;
  color: #ffffff;
}

.upload-btn:hover,
.upload-btn:focus {
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

@media (max-width: 991px) {
  .upload-btn {
    width: 100%;
    margin-top: 1rem;
    border-radius: 999px;
    border-width: 2px;
    background-color: rgba(255, 255, 255, 0.08);
    padding: 0.65rem 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }

  .upload-btn:hover,
  .upload-btn:focus {
    background-color: rgba(255, 255, 255, 0.2);
  }
}

.featured-upload-label {
  width: 100%;
  margin: 30px 0 10px;
  text-align: center;
}

.featured-upload-label h4 {
  font-weight: 700;
  color: #1A0C4B;
  margin-bottom: 5px;
}

.featured-upload-label p {
  color: #666;
  margin-bottom: 0;
}

.uploaded-card img {
  height: 230px;
  object-fit: cover;
}

.property-badge {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
}

.property-badge.badge-sale {
  background-color: #e8f5e9;
  color: #1b5e20;
}

.property-badge.badge-rent {
  background-color: #e3f2fd;
  color: #0d47a1;
}

.empty-state {
  width: 100%;
  text-align: center;
  padding: 40px 20px;
  border: 1px dashed #c5c5c5;
  border-radius: 12px;
  color: #555;
  background-color: #fafafa;
}

.modal .form-label {
  font-weight: 600;
}

.modal .form-check-label {
  font-weight: 500;
}

.modal-content {
  border: none;
  border-radius: 18px;
  box-shadow: 0 25px 60px rgba(26, 12, 75, 0.15);
  overflow: hidden;
}

.modal-header {
  background: var(--brand-gradient);
  color: #fff;
  border-bottom: none;
  padding: 1.5rem 1.75rem;
}

.modal-header .btn-close {
  filter: invert(1);
  opacity: 0.8;
}

.modal-header .btn-close:hover {
  opacity: 1;
}

.modal-title {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.modal-body {
  padding: 1.75rem;
  background: #fff;
}

.modal-footer {
  border-top: none;
  padding: 1.5rem 1.75rem;
  background: #faf9ff;
}

.modal .form-control,
.modal .form-select {
  border-radius: 12px;
  border: 1px solid var(--brand-border);
  background-color: var(--brand-accent);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.modal .form-control:focus,
.modal .form-select:focus {
  border-color: var(--brand-color);
  box-shadow: 0 0 0 0.15rem rgba(26, 12, 75, 0.18);
}

.modal .form-check-input:checked {
  background-color: var(--brand-color);
  border-color: var(--brand-color);
}

.modal .btn-primary {
  background-color: var(--brand-color);
  border-color: var(--brand-color);
  border-radius: 999px;
  padding: 0.6rem 1.6rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.modal .btn-primary:hover,
.modal .btn-primary:focus {
  background-color: #2a1580;
  border-color: #2a1580;
}

.modal .btn-secondary {
  border-radius: 999px;
}

#loginError {
  border: none;
  background-color: #fdecea;
  color: #c62828;
}

.modal .small {
  color: #7a739b;
}

/* Upload Modal Height Fix */
#uploadModal .modal-dialog {
  max-height: 90vh;
  margin: 1.75rem auto;
}

#uploadModal .modal-content {
  max-height: 85vh;
}

#uploadModal .modal-body {
  max-height: calc(85vh - 200px);
  overflow-y: auto;
}

/* Delete Button Styling */
.delete-property-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: rgba(220, 53, 69, 0.9);
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.3s ease, background-color 0.3s ease;
}

.card:hover .delete-property-btn {
  opacity: 1;
}

.delete-property-btn:hover {
  background-color: rgba(220, 53, 69, 1);
}

/* Modern Property Cards - Clean & Polished */
.card.uploaded-card {
  position: relative;
  border: none;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: white;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(26, 12, 75, 0.08);
}

.card.uploaded-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(26, 12, 75, 0.12);
  border-color: rgba(26, 12, 75, 0.15);
}

.card.uploaded-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

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

.card.uploaded-card .card-body {
  padding: 16px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  background: white;
}

.card.uploaded-card .card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1A0C4B;
  margin-bottom: 8px;
  line-height: 1.3;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: -0.2px;
}

.card.uploaded-card .card-text {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.5;
  margin-bottom: 10px;
  flex-grow: 1;
}

.card.uploaded-card .card-text strong {
  font-size: 1.35rem;
  color: #1A0C4B;
  font-weight: 700;
  display: block;
  margin-top: 10px;
  letter-spacing: -0.4px;
}

.card.uploaded-card .btn-primary {
  background: linear-gradient(135deg, #1A0C4B 0%, #35206f 100%);
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  margin-top: auto;
  width: 100%;
  letter-spacing: 0.2px;
  box-shadow: 0 2px 8px rgba(26, 12, 75, 0.12);
}

.card.uploaded-card .btn-primary:hover {
  background: linear-gradient(135deg, #35206f 0%, #1A0C4B 100%);
  transform: translateY(-1px);
  box-shadow: 0 3px 15px rgba(26, 12, 75, 0.2);
}

/* Separated buttons - Edit on top-left, Delete on top-right */
.edit-property-btn {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.95);
  border: 1.5px solid rgba(13, 110, 253, 0.25);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  opacity: 0;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  color: #0d6efd;
  z-index: 10;
}

.delete-property-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.95);
  border: 1.5px solid rgba(220, 53, 69, 0.25);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  opacity: 0;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  color: #dc3545;
  z-index: 10;
}

.card:hover .edit-property-btn,
.card:hover .delete-property-btn {
  opacity: 1;
}

/* Make entire card clickable for featured properties */
.card-link-wrapper {
  display: block;
  text-decoration: none;
  color: inherit;
  width: 100%;
  height: 100%;
}

.card-link-wrapper:hover {
  text-decoration: none;
  color: inherit;
}

.card-link-wrapper img {
  display: block;
  width: 100%;
}

.card-link-wrapper .card-body {
  display: flex;
  flex-direction: column;
}

.edit-property-btn:hover {
  background: #0d6efd;
  color: white;
  transform: scale(1.05);
  border-color: #0d6efd;
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

.delete-property-btn:hover {
  background: #dc3545;
  color: white;
  transform: scale(1.05);
  border-color: #dc3545;
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

@media (max-width: 768px) {
  .property-action-buttons {
    top: 8px;
    right: 8px;
    gap: 6px;
  }
  
  .edit-property-btn,
  .delete-property-btn {
    padding: 6px 10px;
    font-size: 0.7rem;
  }
}

/* Modern Cards Grid */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  padding: 20px 0;
  justify-items: center;
}

#dynamicFeaturedAnchor {
  display: contents;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
  .cards {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 15px 0;
    justify-items: center;
  }
  
  #dynamicFeaturedAnchor {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  
  .card.uploaded-card {
    border-radius: 16px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    width: 100%;
  }
  
  .card.uploaded-card:hover {
    transform: translateY(-4px) scale(1);
    box-shadow: 0 8px 25px rgba(26, 12, 75, 0.15);
  }
  
  .card.uploaded-card img {
    height: 200px;
  }
  
  .card.uploaded-card .card-body {
    padding: 16px;
  }
  
  .card.uploaded-card .card-title {
    font-size: 1.15rem;
    margin-bottom: 8px;
  }
  
  .card.uploaded-card .card-text {
    font-size: 0.85rem;
    margin-bottom: 10px;
  }
  
  .card.uploaded-card .card-text strong {
    font-size: 1.35rem;
    margin-top: 10px;
  }
  
  .card.uploaded-card .btn-primary {
    padding: 10px 20px;
    font-size: 0.9rem;
    border-radius: 10px;
  }
  
  .edit-property-btn {
    top: 10px;
    left: 10px;
    padding: 6px 10px;
    font-size: 0.7rem;
    border-radius: 8px;
  }
  
  .delete-property-btn {
    top: 10px;
    right: 10px;
    padding: 6px 10px;
    font-size: 0.7rem;
    border-radius: 8px;
  }
  
  .more-properties-card {
    min-height: auto;
    width: 100%;
    max-width: 100%;
  }
  
  .more-properties-card .card-title {
    font-size: 1.25rem;
  }
  
  .more-properties-card .card-text {
    font-size: 0.85rem;
  }
  
  .more-btns {
    flex-direction: column;
    width: 100%;
  }
  
  .more-properties-card .btn-sale,
  .more-properties-card .btn-rent {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .cards {
    gap: 16px;
    padding: 8px 0;
  }
  
  .card.uploaded-card img {
    height: 180px;
  }
  
  .card.uploaded-card .card-body {
    padding: 14px;
  }
  
  .card.uploaded-card .card-title {
    font-size: 1.1rem;
  }
  
  .card.uploaded-card .card-text {
    font-size: 0.8rem;
  }
  
  .card.uploaded-card .card-text strong {
    font-size: 1.25rem;
  }
}

/* Modern Property Pages Header */
.property-page-header {
  background: linear-gradient(135deg, #1A0C4B 0%, #35206f 100%);
  color: white;
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.property-page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
  opacity: 0.5;
}

.property-page-header .container {
  position: relative;
  z-index: 1;
}

.page-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: white;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.2);
}

.page-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin: 0;
}

.header-stats {
  display: flex;
  gap: 2rem;
  justify-content: flex-end;
}

.stat-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.15);
  padding: 1.5rem 2rem;
  border-radius: 16px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-4px);
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.5rem;
}

.property-listings-section {
  background: #f8f9fa;
  min-height: 60vh;
}

.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  background: white;
  border-radius: 16px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.empty-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.empty-state h3 {
  color: #1A0C4B;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.empty-state p {
  color: #666;
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .property-page-header {
    padding: 3rem 0;
  }
  
  .page-title {
    font-size: 2rem;
  }
  
  .page-subtitle {
    font-size: 1rem;
  }
  
  .header-stats {
    justify-content: center;
    margin-top: 2rem;
  }
  
  .stat-item {
    padding: 1rem 1.5rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .property-listings-section {
    padding: 2rem 0;
  }
}

@media (max-width: 480px) {
  .property-page-header {
    padding: 2rem 0;
  }
  
  .page-title {
    font-size: 1.6rem;
  }
  
  .page-subtitle {
    font-size: 0.9rem;
  }
  
  .stat-item {
    padding: 0.875rem 1.25rem;
  }
  
  .stat-number {
    font-size: 1.75rem;
  }
  
  .empty-state {
    padding: 3rem 1.5rem;
  }
  
  .empty-icon {
    font-size: 3rem;
  }
}
