/* Aroraa Real Estate — Premium Design System */

/* CSS Custom Properties */
:root {
  --primary-color: #091c3a;
  --primary-light: #162c5c;
  --primary-dark: #051021;
  --secondary-color: #101c2e;
  --accent-color: #c9a55f;
  --accent-light: #fdfaf5;
  --accent-dark: #b38e4a;
  --text-dark: #19273c;
  --text-muted: #627282;
  --text-light: #94a1b2;
  --white: #ffffff;
  --light-bg: #f5f7f9;
  --gradient-primary: linear-gradient(135deg, #091c3a 0%, #162c5c 100%);
  --gradient-accent: linear-gradient(135deg, #c9a55f 0%, #dab97c 100%);
  --gradient-overlay: linear-gradient(
    135deg,
    rgba(9, 28, 58, 0.9) 0%,
    rgba(5, 16, 33, 0.7) 100%
  );
  --shadow-light: 0 4px 15px rgba(9, 28, 58, 0.05);
  --shadow-medium: 0 10px 30px rgba(9, 28, 58, 0.1);
  --shadow-large: 0 20px 40px rgba(9, 28, 58, 0.15);
  --shadow-xl: 0 30px 60px rgba(9, 28, 58, 0.2);
  --border-radius: 12px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --font-primary: "Lexend", sans-serif;
  --font-secondary: "Lexend", sans-serif;
  --font-accent: "Lexend", sans-serif;
}

/* Skip Links for Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary-color);
  color: white;
  padding: 8px;
  text-decoration: none;
  border-radius: 0 0 4px 4px;
  z-index: 1000;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-secondary);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--white);
  overflow-x: hidden;
  font-size: 16px;
  letter-spacing: -0.01em;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Prevent horizontal scrollbar */
html {
  overflow-x: hidden;
}

.container-fluid,
.container {
  max-width: 100%;
}

.row {
  margin-left: 0;
  margin-right: 0;
}

.col,
[class*="col-"] {
  padding-left: 15px;
  padding-right: 15px;
}

/* Ensure all images and content stay within bounds */
img,
video,
object,
embed {
  max-width: 100%;
  height: auto;
}

/* Fix any potential layout issues */
.w-100 {
  width: 100% !important;
  max-width: 100%;
}

/* Remove all scrollbars completely */
::-webkit-scrollbar {
  width: 0px;
  background: transparent;
  display: none;
}

::-webkit-scrollbar-thumb {
  background: transparent;
}

::-webkit-scrollbar-track {
  background: transparent;
}

/* For Firefox */
html {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

/* Additional overflow fixes */
* {
  max-width: 100%;
}

body,
html {
  overflow-x: hidden !important;
  width: 100%;
  max-width: 100%;
}

/* Ensure viewport doesn't exceed screen width */
.container,
.container-fluid {
  max-width: 100%;
}

section {
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 0.5em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}
h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}
h3 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
}
h4 {
  font-size: clamp(1.25rem, 2.5vw, 2rem);
}
h5 {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
}
h6 {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
}

p {
  margin-bottom: 1rem;
  font-weight: 400;
}

.lead {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 400;
  line-height: 1.6;
}

/* Text Utilities */
.text-white-75 {
  color: rgba(255, 255, 255, 0.75) !important;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-gold {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Custom Bootstrap Color Classes */
.text-primary {
  color: var(--primary-color) !important;
}
.text-secondary {
  color: var(--secondary-color) !important;
}
.text-accent {
  color: var(--accent-color) !important;
}
.bg-primary {
  background-color: var(--primary-color) !important;
}
.bg-primary-light {
  background-color: var(--accent-light) !important;
}

/* Subtle Button Styles */
.btn-primary {
  background: var(--gradient-primary);
  border: none;
  font-family: var(--font-accent);
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: var(--border-radius);
  transition: all var(--transition-medium);
  box-shadow: var(--shadow-medium);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.875rem;
  color: white !important;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-large);
  opacity: 0.9;
}

.btn-cta {
  background: var(--gradient-accent) !important;
  color: var(--primary-color) !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(201, 165, 95, 0.2) !important;
}

.btn-cta:hover {
  background: var(--accent-dark) !important;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 165, 95, 0.4) !important;
}

@media (max-width: 991px) {
  .btn-cta {
    width: 100%;
    margin-top: 1rem;
    padding: 1rem !important;
    text-align: center;
  }
}

.btn-accent {
  background: var(--gradient-accent);
  border: none;
  color: var(--text-dark);
  font-family: var(--font-accent);
  font-weight: 600;
  padding: 1rem 2.5rem;
  border-radius: var(--border-radius);
  transition: all var(--transition-medium);
  box-shadow: var(--shadow-medium);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.875rem;
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-large);
  color: var(--text-dark);
}

.btn-outline-primary {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
  font-family: var(--font-accent);
  font-weight: 600;
  padding: 0.875rem 2.25rem;
  border-radius: var(--border-radius);
  transition: all var(--transition-medium);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.875rem;
}

.btn-outline-primary:hover {
  background: var(--gradient-primary);
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-large);
}

.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: white;
  font-family: var(--font-accent);
  font-weight: 600;
  padding: 0.875rem 2rem;
  border-radius: var(--border-radius);
  backdrop-filter: blur(10px);
  transition: all var(--transition-medium);
}

.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.8);
  color: white;
  transform: translateY(-2px);
}

/* Navigation Styles */
.navbar-modern {
  padding: 1.5rem 0;
  transition: all var(--transition-medium);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1040;
  position: fixed;
  width: 100%;
  top: 0;
}

.navbar-modern.scrolled {
  padding: 1rem 0;
  background-color: rgba(255, 255, 255, 0.95) !important;
  box-shadow: var(--shadow-medium);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

/* =============================================
   NON-HOME PAGE NAVBAR OFFSET
   Push first content section below fixed navbar
   ============================================= */
.about-hero,
.contact-hero {
  padding-top: 160px !important;
}

/* Property detail pages: override inline padding-top: 70px */
.property-page #main-content {
  padding-top: 140px !important;
}

/* Properties & Dubai listing pages: hero-section with py-5 (not home page) */
.hero-section.py-5 {
  padding-top: 160px !important;
}

/* Home Page Hero Offset */
#home.hero-section {
  padding-top: 160px !important;
}

/* =============================================
   TABLE BUTTONS: Blue Outline Style
   Overrides green btn-success in price tables
   ============================================= */
.price-table .btn-success {
  background: transparent !important;
  border: 2px solid var(--primary-color) !important;
  color: var(--primary-color) !important;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.price-table .btn-success:hover {
  background: var(--gradient-primary) !important;
  color: #fff !important;
  border-color: var(--primary-color) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-light);
}

.price-table .badge.bg-success {
  background: transparent !important;
  border: 2px solid var(--primary-color) !important;
  color: var(--primary-color) !important;
  font-weight: 600;
}

/* =============================================
   SAVE BUTTON: Red on Click (active state)
   ============================================= */
#shortlistBtn.saved {
  background: #dc3545 !important;
  border-color: #dc3545 !important;
  color: #fff !important;
}

#shortlistBtn.saved i {
  color: #fff !important;
}

/* Enhanced Brand Typography (Following Specification) */
.brand-urban {
  font-family: var(--font-accent); /* Poppins */
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--primary-color) !important;
}

.brand-investors {
  font-family: var(--font-secondary); /* Inter */
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--primary-color) !important;
}

.brand-logo {
  font-size: 2rem;
  transition: transform var(--transition-fast);
  text-decoration: none !important;
}

.brand-logo:hover {
  transform: scale(1.05);
  color: var(--primary-color) !important;
}

/* Enhanced Hamburger Menu */
.custom-toggler {
  padding: 0.5rem;
  border: none;
  background: none;
  position: relative;
  width: 30px;
  height: 30px;
}

.hamburger-line {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 5px 0;
  transition: all var(--transition-fast);
  border-radius: 2px;
}

.custom-toggler[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.custom-toggler[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}

.custom-toggler[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.navbar-nav .nav-link {
  font-family: var(--font-accent);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.75rem 1.25rem !important;
  transition: all var(--transition-fast);
  position: relative;
  border-radius: var(--border-radius);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active,
.navbar-nav .nav-link.nav-active {
  color: var(--primary-color) !important;
  background-color: rgba(30, 58, 138, 0.1);
}

/* Mobile Navbar Optimization */
@media (max-width: 991px) {
  .navbar-brand img {
    height: 40px !important;
  }
  .navbar-brand .brand-urban {
    font-size: 1.5rem !important;
  }
  .navbar-brand .brand-investors {
    font-size: 0.85rem !important;
    margin-top: 2px !important;
  }
  .navbar-modern {
    padding: 0.8rem 0 !important;
  }
  .navbar-modern.scrolled {
    padding: 0.5rem 0 !important;
  }
}


/* Subtle Animation Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Section with Building Images */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  /* Original navy blue base */
  background-color: #0b1c3c;
  z-index: 1;
}

#hero-slider-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  /* Each slide: visible for ~6s, overlap fade of ~2s, total 24s cycle */
  animation: heroSlideshow 24s infinite;
}

/* Stagger each slide with a negative delay so they pre-sync at page load */
.hero-bg-slide:nth-child(1) { animation-delay:   0s; z-index: 4; }
.hero-bg-slide:nth-child(2) { animation-delay:  -6s; z-index: 3; }
.hero-bg-slide:nth-child(3) { animation-delay: -12s; z-index: 2; }
.hero-bg-slide:nth-child(4) { animation-delay: -18s; z-index: 1; }

@keyframes heroSlideshow {
  /* Fade in */
  0%    { opacity: 0; }
  4%    { opacity: 1; }
  /* Stay visible for 6s slot */
  25%   { opacity: 1; }
  /* Fade out — overlaps with next slide fading in */
  33%   { opacity: 0; }
  /* Stay hidden until next cycle */
  100%  { opacity: 0; }
}


.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(30, 58, 138, 0.85) 0%,
    rgba(31, 41, 55, 0.75) 50%,
    rgba(15, 23, 42, 0.9) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
}

.hero-title {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 3rem;
  max-width: 90%;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
  animation: fadeInUp 1s ease-out 0.4s both;
  margin-top: 1rem;
}

/* Enhanced Hero Button for Single CTA */
.hero-buttons .btn-accent {
  position: relative;
  box-shadow: 0 10px 35px rgba(212, 165, 116, 0.4);
  transform: translateY(0);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid rgba(212, 165, 116, 0.3);
  backdrop-filter: blur(10px);
  font-size: 1rem;
  font-weight: 700;
  padding: 1.2rem 3rem;
  min-width: 280px;
}

.hero-buttons .btn-accent:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 50px rgba(212, 165, 116, 0.6);
  border-color: rgba(212, 165, 116, 0.5);
}

.hero-buttons .btn-accent::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.6s ease;
  z-index: 1;
}

.hero-buttons .btn-accent:hover::before {
  left: 100%;
}

/* Gold accent text — solid, no gradient clip (avoids rendering issues) */
.text-accent {
  color: var(--accent-color) !important;
  -webkit-text-fill-color: unset;
}

/* Gradient gold for headings only */
.text-gold-gradient {
  background: linear-gradient(135deg, #d4a574 0%, #f5c842 50%, #d4a574 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: goldShimmer 4s ease infinite;
}

@keyframes goldShimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* =============================================
   SCROLL PROGRESS BAR
   ============================================= */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent-color), #f5c842);
  z-index: 9999;
  transition: width 0.1s linear;
}

/* =============================================
   TYPEWRITER EFFECT
   ============================================= */
.typewriter-text {
  display: inline;
}
.typewriter-cursor {
  display: inline-block;
  width: 3px;
  height: 1.1em;
  background: var(--accent-color);
  margin-left: 4px;
  vertical-align: middle;
  animation: blink 0.75s step-end infinite;
}
@keyframes blink {
  from, to { opacity: 1; }
  50% { opacity: 0; }
}

/* =============================================
   HERO ANIMATED BADGE
   ============================================= */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,165,95,0.15);
  border: 1px solid rgba(201,165,95,0.5);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-color);
  letter-spacing: 0.5px;
  animation: fadeInUp 1s ease-out 0.1s both;
  margin-bottom: 1.5rem;
}
.hero-badge .badge-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse-green 2s infinite;
}
@keyframes pulse-green {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.7; }
}

/* =============================================
   WHY CHOOSE ARORAA SECTION
   ============================================= */
.why-aroraa-section {
  background: linear-gradient(135deg, #091c3a 0%, #0b1c3c 50%, #162c5c 100%);
  position: relative;
  overflow: hidden;
}
.why-aroraa-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at 30% 50%, rgba(201,165,95,0.06) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 20%, rgba(201,165,95,0.04) 0%, transparent 50%);
  pointer-events: none;
}
.why-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(201,165,95,0.2);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
  position: relative;
  overflow: hidden;
  height: 100%;
}
.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent-color));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.why-card:hover::before { transform: scaleX(1); }
.why-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(201,165,95,0.4);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3), 0 0 30px rgba(201,165,95,0.08);
}
.why-card-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(201,165,95,0.15), rgba(201,165,95,0.05));
  border: 1px solid rgba(201,165,95,0.3);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.75rem;
  color: var(--accent-color);
  transition: all 0.3s ease;
}
.why-card:hover .why-card-icon {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent-color));
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(201,165,95,0.3);
}
.why-card h5 { color: #fff; font-weight: 700; margin-bottom: 0.75rem; }
.why-card p { color: rgba(255,255,255,0.6); font-size: 0.9rem; line-height: 1.7; margin: 0; }

/* =============================================
   TESTIMONIAL CAROUSEL
   ============================================= */
/* Testimonials Section Redesign */
.testimonials-section {
  background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
  position: relative;
  overflow: hidden;
  color: #19273c;
  padding: 3.5rem 0;
  scroll-margin-top: 110px;
}

/* Eyebrow & Headers */
.testimonials-section .badge-eyebrow {
  background: rgba(201, 165, 95, 0.12) !important;
  border: 1px solid rgba(201, 165, 95, 0.4) !important;
  color: #b38e4a !important;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  text-transform: uppercase;
}

.testimonials-section .section-title {
  color: #091c3a !important;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.testimonials-section .section-subtitle {
  color: #627282 !important;
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto;
}

/* Carousel Container & Wrap */
.testimonial-carousel-container {
  z-index: 2;
  position: relative;
  padding: 0 50px; /* Leave space for navigation buttons outside */
}

.testimonial-carousel-wrap {
  width: 100%;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.testimonial-slide {
  flex-shrink: 0;
  padding: 0 10px;
}

/* Premium Card Design */
.premium-testimonial-card {
  background: #ffffff;
  border: 1px solid rgba(201, 165, 95, 0.18);
  border-radius: 24px;
  padding: 1.75rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.4s ease;
  position: relative;
  box-shadow: 0 10px 30px rgba(9, 28, 58, 0.05);
}

.premium-testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(9, 28, 58, 0.1), 0 0 20px rgba(201, 165, 95, 0.05);
  border-color: rgba(201, 165, 95, 0.35);
}

/* Card Header */
.card-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.google-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.google-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.verified-text {
  color: #627282;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2px;
}

.stars-container {
  display: flex;
  gap: 2px;
}

.stars-container i {
  color: #d4b272 !important;
  font-size: 11px;
}

/* Card Body */
.card-body-content {
  flex-grow: 1;
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
}

.review-text-body {
  font-size: 15px;
  line-height: 1.7;
  color: #19273c;
  margin-bottom: 0.5rem;
  font-style: italic;
  font-weight: 300;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-full-btn {
  color: #c9a55f !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  align-self: flex-start;
  transition: opacity 0.2s ease;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.read-full-btn:hover {
  color: #b38e4a !important;
}

/* Card Reviewer Section */
.card-reviewer-row {
  display: flex;
  align-items: center;
  border-top: 1px solid rgba(9, 28, 58, 0.08);
  padding-top: 1.25rem;
}

.reviewer-avatar-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #091c3a, #162c5c);
  border: 1.5px solid #c9a55f;
  color: #c9a55f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.reviewer-info {
  display: flex;
  flex-direction: column;
}

.reviewer-name {
  font-size: 16px;
  font-weight: 600;
  color: #091c3a;
  line-height: 1.2;
}

.reviewer-title {
  font-size: 13px;
  color: #627282;
  margin-top: 2px;
}

/* Premium Controls */
.testimonial-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(201, 165, 95, 0.3);
  color: #091c3a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(9, 28, 58, 0.08);
  transition: all 0.3s ease;
}

.testimonial-nav-btn:hover {
  background: #091c3a;
  border-color: #091c3a;
  color: #ffffff;
}

.testimonial-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.testimonial-nav-btn i {
  font-size: 16px;
  color: #091c3a;
  transition: color 0.3s ease;
}

.testimonial-nav-btn:hover i {
  color: #ffffff;
}

.testimonial-nav-btn.prev-btn {
  left: 0;
}

.testimonial-nav-btn.next-btn {
  right: 0;
}

/* Premium Modal Styling */
.premium-modal-content {
  background: #ffffff !important;
  border: 1px solid rgba(201, 165, 95, 0.3) !important;
  border-radius: 24px !important;
  box-shadow: 0 25px 50px rgba(9, 28, 58, 0.15) !important;
}

@media (max-width: 767px) {
  .testimonial-carousel-container {
    padding: 0 10px;
  }
  .testimonial-nav-btn {
    display: none; /* Hide buttons on mobile touch screens for gesture navigation */
  }
}


/* =============================================
   FLOATING WHATSAPP BUTTON
   ============================================= */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 25px;
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.6rem;
  text-decoration: none;
  z-index: 999;
  box-shadow: 0 6px 25px rgba(37,211,102,0.4);
  transition: all 0.3s ease;
  animation: whatsappPulse 3s infinite;
}
.whatsapp-float:hover {
  transform: scale(1.12);
  color: #fff;
  box-shadow: 0 10px 35px rgba(37,211,102,0.6);
}
@keyframes whatsappPulse {
  0%,100% { box-shadow: 0 6px 25px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 6px 35px rgba(37,211,102,0.7), 0 0 0 10px rgba(37,211,102,0.1); }
}

/* Mobile sticky CTA bar */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  background: #fff;
  border-top: 1px solid rgba(9,28,58,0.1);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  padding: 10px 16px;
  gap: 10px;
}
@media (max-width: 767px) {
  .mobile-cta-bar { display: flex; }
  body { padding-bottom: 70px; }
  .whatsapp-float { display: none; }
}
.mobile-cta-bar .btn { flex: 1; font-size: 0.85rem; padding: 10px 8px; border-radius: 10px; font-weight: 700; }

/* Dubai Experience Banner */
.dubai-banner {
  background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent-color) 100%);
  border-radius: 16px;
  padding: 1rem 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 25px rgba(201,165,95,0.3);
}

/* About Section - No Scroll Animations */
.about-image-wrapper {
  overflow: hidden;
  border-radius: var(--border-radius);
}

.about-image-wrapper img {
  transition: transform var(--transition-slow);
}

.about-image-wrapper:hover img {
  transform: scale(1.05);
}

.about-badge {
  top: 20px;
  right: 20px;
}

.stat-item {
  padding: 1rem;
  border-radius: var(--border-radius);
  transition: all var(--transition-fast);
}

.stat-item:hover {
  background-color: var(--accent-light);
  transform: translateY(-2px);
}

.property-card {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: all var(--transition-medium);
  box-shadow: var(--shadow-medium);
  position: relative;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}

.property-card > div:last-child {
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
}

.property-card > div:last-child .btn {
  margin-top: auto !important;
}

.property-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 45px rgba(9, 28, 58, 0.15), 0 0 25px rgba(212, 178, 114, 0.15);
  background: rgba(255, 255, 255, 0.95);
}

.property-image {
  height: 280px;
  overflow: hidden;
  position: relative;
}

.property-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

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

.property-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  font-family: var(--font-primary);
}

/* Form Styling */
.form-control,
.form-select {
  border: 2px solid rgba(30, 58, 138, 0.1);
  border-radius: var(--border-radius-lg);
  padding: 1rem 1.25rem;
  font-size: 1rem;
  transition: all var(--transition-medium);
  background-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
  background-color: white;
  outline: none;
}

.form-label {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

/* Property Finder Section */
.property-finder-card {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.95),
    rgba(248, 250, 252, 0.9)
  );
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius-xl);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.property-finder-card .form-control,
.property-finder-card .form-select,
.property-finder-card .search-btn {
  border-radius: 50px !important;
}

.property-finder-card .input-group {
  border-radius: 50px;
  overflow: hidden;
  border: 2px solid rgba(30, 58, 138, 0.1);
}

.property-finder-card .input-group .form-control,
.property-finder-card .input-group .input-group-text {
  border: none !important;
  border-radius: 0 !important;
}

.property-finder-card .input-group-text {
  background-color: white !important;
  padding-left: 1.25rem;
}

/* Hot Projects Carousel */
.hot-projects-carousel {
  position: relative;
  overflow: hidden;
  padding: 2rem 0;
}

.projects-container {
  display: flex;
  gap: 1rem;
  transition: transform var(--transition-medium);
}

.project-card {
  flex: 0 0 320px;
  background: linear-gradient(145deg, #ffffff, #f8fafc);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all var(--transition-medium);
  position: relative;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(30, 58, 138, 0.15);
  color: inherit;
}

.project-number {
  position: absolute;
  top: 15px;
  left: 15px;
  width: 35px;
  height: 35px;
  background: var(--gradient-accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  z-index: 2;
  box-shadow: 0 4px 15px rgba(212, 165, 116, 0.4);
}

.project-image-container {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

.project-card:hover .project-image {
  transform: scale(1.05);
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(30, 58, 138, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-medium);
  color: var(--primary-color);
  font-size: 1.2rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.carousel-nav:hover {
  background: var(--primary-color);
  color: white;
  box-shadow: 0 15px 35px rgba(30, 58, 138, 0.3);
}

.carousel-prev {
  left: -25px;
}
.carousel-next {
  right: -25px;
}

/* Insights Cards */
.insight-card {
  position: relative;
  transition: all var(--transition-medium);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.insight-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Investment Opportunity Section */
.investment-highlight {
  box-shadow: 0 20px 40px rgba(212, 165, 116, 0.2);
  border: 2px solid rgba(212, 165, 116, 0.3);
  backdrop-filter: blur(15px);
  border-radius: var(--border-radius-lg);
  position: relative;
  overflow: hidden;
}

/* Responsive Design */
@media (max-width: 991.98px) {
  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem) !important;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .property-card {
    margin-bottom: 2rem;
  }
}

@media (max-width: 767.98px) {
  .navbar-nav {
    padding: 1rem 0;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius);
    margin-top: 1rem;
    box-shadow: var(--shadow-medium);
  }

  .hero-buttons {
    text-align: center;
  }

  .hero-buttons .btn-accent {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    min-width: auto;
  }
}

@media (max-width: 575.98px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-title {
    font-size: clamp(1.75rem, 10vw, 2.5rem) !important;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Enhanced Responsive Design for Better Mobile Experience */
@media (max-width: 1199.98px) {
  .display-2 {
    font-size: 3rem;
  }

  .display-4 {
    font-size: 2.5rem;
  }

  .hero-buttons .btn-accent {
    padding: 0.8rem 2rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 991.98px) {
  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem) !important;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .property-card {
    margin-bottom: 2rem;
  }

  .navbar-nav .btn-cta {
    margin: 1rem 0;
    width: 100%;
    text-align: center;
  }

  .feature-card,
  .amenity-card {
    margin-bottom: 1.5rem;
  }

  .contact-info-card {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .navbar-nav {
    padding: 1rem 0;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius);
    margin-top: 1rem;
    box-shadow: var(--shadow-medium);
  }

  .hero-buttons {
    text-align: center;
  }

  .hero-buttons .btn-accent {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    min-width: auto;
  }

  .display-2 {
    font-size: 2.5rem;
  }

  .display-4 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .search-field {
    margin-bottom: 1rem;
  }

  .advanced-filters-content {
    padding-top: 1rem !important;
  }

  .filter-results-info {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .property-content {
    padding: 1.5rem !important;
  }

  .contact-hero .display-3 {
    font-size: 2.5rem;
  }

  footer .col-lg-3 {
    margin-bottom: 2rem;
  }
}

@media (max-width: 575.98px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-title {
    font-size: clamp(1.75rem, 10vw, 2.5rem) !important;
  }

  .display-2 {
    font-size: 2rem;
  }

  .display-4 {
    font-size: 1.75rem;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
  }

  .btn-lg {
    padding: 0.8rem 1.8rem;
    font-size: 0.875rem;
  }

  .btn-accent,
  .btn-primary {
    padding: 0.8rem 1.5rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .property-card .badge {
    font-size: 0.7rem;
  }

  .property-content h4 {
    font-size: 1.25rem;
  }

  .contact-hero .display-3 {
    font-size: 2rem;
  }

  .map-container {
    height: 300px !important;
  }

  .accordion-button {
    padding: 1rem;
    font-size: 0.9rem;
  }

  .accordion-body {
    padding: 1rem;
  }
}

/* Extra Small Devices */
@media (max-width: 400px) {
  .hero-title {
    font-size: clamp(1.5rem, 12vw, 2rem) !important;
  }

  .display-2 {
    font-size: 1.75rem;
  }

  .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
  }

  .property-content {
    padding: 1rem !important;
  }

  .property-content h4 {
    font-size: 1.1rem;
  }

  .property-features .col-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* High Resolution Screens */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }

  .display-2 {
    font-size: 4rem;
  }

  .hero-title {
    font-size: clamp(3rem, 5vw, 5rem) !important;
  }
}

/* Touch Device Specific Improvements */
@media (hover: none) and (pointer: coarse) {
  .btn:hover {
    transform: none;
  }

  .service-card-modern:hover {
    transform: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.03);
  }

  .service-card-modern:hover::before {
    transform: scaleX(0);
  }

  .property-card:hover {
    transform: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  /* Larger touch targets for mobile */
  .nav-link {
    padding: 0.75rem 1rem !important;
    font-size: 1.1rem;
  }

  .btn {
    min-height: 44px; /* Minimum touch target size */
  }

  .form-control,
  .form-select {
    min-height: 44px;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .hero-section,
  .property-finder-section,
  footer {
    display: none;
  }

  body {
    padding-top: 0;
  }

  .container {
    max-width: 100%;
    padding: 0;
  }

  .property-card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ddd;
  }
}

/* ===============================================
   SERVICES SECTION - MODERN DESIGN
   =============================================== */

.services-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e8f1ff 100%);
  position: relative;
}

.services-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(
      circle at 20% 50%,
      rgba(59, 130, 246, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(30, 58, 138, 0.05) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.service-badge {
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.1) 0%,
    rgba(30, 58, 138, 0.1) 100%
  );
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: 2px solid rgba(59, 130, 246, 0.2);
}

/* Service Card Modern Design */
.service-card-modern {
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.03);
}

.service-card-modern::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6 0%, #1e3a8a 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card-modern:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.3);
}

.service-card-modern:hover::before {
  transform: scaleX(1);
}

/* Service Number */
.service-number {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 50px;
  height: 50px;
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.1) 0%,
    rgba(30, 58, 138, 0.1) 100%
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--primary-color);
  font-family: var(--font-accent);
  transition: all 0.3s ease;
}

.service-card-modern:hover .service-number {
  background: var(--primary-color);
  color: white;
  transform: rotate(360deg) scale(1.1);
}

/* Service Icon Wrapper */
.service-icon-wrapper {
  position: relative;
}

.service-icon-modern {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #3b82f6 0%, #1e3a8a 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-icon-modern i {
  font-size: 2rem;
  color: white;
  transition: all 0.3s ease;
}

.service-card-modern:hover .service-icon-modern {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4);
}

.service-card-modern:hover .service-icon-modern i {
  transform: scale(1.1);
}

/* Service Features List */
.service-features li {
  display: flex;
  align-items: flex-start;
  font-size: 0.9375rem;
  color: var(--text-dark);
  transition: all 0.2s ease;
}

.service-features li i {
  font-size: 1.125rem;
  margin-top: 2px;
  transition: all 0.2s ease;
}

.service-features li:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

.service-features li:hover i {
  transform: scale(1.2);
}

/* Highlight Card */
.service-card-highlight {
  background: linear-gradient(135deg, #3b82f6 0%, #1e3a8a 100%) !important;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.service-card-highlight::before {
  background: linear-gradient(90deg, #d4a574 0%, #f59e0b 100%);
}

.service-card-highlight .service-icon-modern {
  background: white !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.service-card-highlight:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 50px rgba(30, 58, 138, 0.4);
}

.bg-gradient {
  background: linear-gradient(135deg, #3b82f6 0%, #1e3a8a 100%);
}

/* Responsive Design */
@media (max-width: 991px) {
  .service-card-modern {
    margin-bottom: 1.5rem;
  }

  .service-icon-modern {
    width: 70px;
    height: 70px;
  }

  .service-icon-modern i {
    font-size: 1.75rem;
  }

  .service-number {
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }
}

@media (max-width: 767px) {
  .service-badge {
    font-size: 0.75rem;
    padding: 0.4rem 1.2rem;
  }

  .service-icon-modern {
    width: 60px;
    height: 60px;
  }

  .service-icon-modern i {
    font-size: 1.5rem;
  }

  .service-number {
    width: 40px;
    height: 40px;
    font-size: 0.875rem;
    top: 1rem;
    right: 1rem;
  }

  .service-card-modern {
    padding: 1.5rem !important;
  }
}

/* ===============================================
   END SERVICES SECTION
   =============================================== */

/* Services Page Elegant Styling */
.services-hero {
  background: linear-gradient(
      135deg,
      rgba(30, 58, 138, 0.95) 0%,
      rgba(31, 41, 55, 0.9) 50%,
      rgba(15, 23, 42, 0.95) 100%
    ),
    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;
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
}

.services-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.services-hero .container {
  position: relative;
  z-index: 2;
}

.service-card {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.95),
    rgba(248, 250, 252, 0.9)
  );
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
  transition: all var(--transition-medium);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(30, 58, 138, 0.2);
  border-color: rgba(212, 165, 116, 0.3);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transition: transform var(--transition-medium);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-content {
  position: relative;
  z-index: 2;
  padding-right: 3.5rem; /* Space for the floating icon */
}

.service-title {
  font-family: var(--font-primary);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.service-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.service-icon {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  background: linear-gradient(
    135deg,
    rgba(30, 58, 138, 0.1),
    rgba(212, 165, 116, 0.1)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.2rem;
  transition: all var(--transition-medium);
}

.service-card:hover .service-icon {
  background: var(--gradient-primary);
  color: white;
  transform: scale(1.1);
}

.btn-outline-accent {
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
  background: transparent;
  font-family: var(--font-accent);
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  transition: all var(--transition-medium);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-outline-accent:hover {
  background: var(--gradient-accent);
  color: var(--text-dark);
  border-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(212, 165, 116, 0.3);
}

/* Enhanced Process Steps */
.process-step {
  background: linear-gradient(145deg, #ffffff, #f8fafc);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem 1.5rem;
  text-align: center;
  border: 1px solid rgba(30, 58, 138, 0.1);
  transition: all var(--transition-medium);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  height: 100%;
}

.process-step:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(30, 58, 138, 0.2);
  border-color: var(--accent-color);
}

.process-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent, rgba(212, 165, 116, 0.05));
  opacity: 0;
  transition: opacity var(--transition-medium);
}

.process-step:hover::before {
  opacity: 1;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 2;
  transition: all var(--transition-medium);
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

.process-step:hover .step-number {
  background: var(--gradient-accent);
  color: var(--text-dark);
  transform: scale(1.15);
  box-shadow: 0 8px 25px rgba(212, 165, 116, 0.4);
}

.process-step .process-icon {
  margin-bottom: 1.5rem;
  transition: all var(--transition-medium);
}

.process-step:hover .process-icon {
  transform: scale(1.1);
  color: var(--accent-color);
}

.process-step h4 {
  font-family: var(--font-primary);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.process-step p {
  line-height: 1.6;
  position: relative;
  z-index: 2;
  font-size: 0.95rem;
}

/* Services Hero Enhancements */
.services-hero {
  background: linear-gradient(
      135deg,
      rgba(30, 58, 138, 0.95) 0%,
      rgba(31, 41, 55, 0.9) 50%,
      rgba(15, 23, 42, 0.95) 100%
    ),
    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;
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.services-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.services-hero .container {
  position: relative;
  z-index: 2;
  padding-bottom: 2rem;
}

.services-hero .hero-content {
  padding-right: 2rem;
  margin-bottom: 0;
}

.services-hero .section-title {
  font-family: var(--font-primary);
  font-weight: 600;
  letter-spacing: -0.5px;
}

/* Improved section spacing */
.services-hero + section {
  margin-top: -5rem;
  padding-top: 8rem;
  position: relative;
  z-index: 3;
}

.services-hero + section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3rem;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(248, 250, 252, 0.8) 70%,
    #f8fafc 100%
  );
  z-index: -1;
}

@media (max-width: 991px) {
  .services-hero {
    background-attachment: scroll;
    min-height: 80vh;
  }

  .services-hero .hero-content {
    padding-right: 0;
    margin-bottom: 3rem;
  }

  .services-hero + section {
    margin-top: -3rem;
    padding-top: 6rem;
  }
}

.step-title {
  font-family: var(--font-primary);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.step-description {
  color: var(--text-muted);
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

/* Enhanced Footer Styling */
.footer {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: white;
  padding: 4rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--accent-color),
    transparent
  );
}

.footer-brand {
  font-family: var(--font-primary);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color) !important;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

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

/* Global Footer Link Styling (targets all footer lists across all pages) */
.footer ul li a,
footer ul li a {
  color: rgba(255, 255, 255, 0.7) !important;
  text-decoration: none !important;
  transition: all var(--transition-fast) !important;
  position: relative;
  display: inline-block;
}

.footer ul li a:hover,
footer ul li a:hover {
  color: var(--accent-color) !important;
  transform: translateX(5px);
}

.footer ul li a::before,
footer ul li a::before {
  content: "";
  position: absolute;
  left: -15px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: width var(--transition-fast);
}

.footer ul li a:hover::before,
footer ul li a:hover::before {
  width: 10px;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white !important;
  transition: all var(--transition-medium);
  backdrop-filter: blur(10px);
}

.social-link:hover {
  background: var(--accent-color);
  color: var(--primary-color) !important;
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 25px rgba(30, 58, 138, 0.4);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

/* Enhanced Contact Form */
.contact-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e5e7eb 100%);
  padding: 5rem 0;
}

.contact-form {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.95),
    rgba(248, 250, 252, 0.9)
  );
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 25px 50px rgba(30, 58, 138, 0.15);
  border-radius: var(--border-radius-xl);
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.contact-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
}

.contact-form .form-control,
.contact-form .form-select {
  padding: 0.6rem 1rem;
  font-size: 0.95rem;
}

.contact-form .form-label {
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
}

.contact-info {
  background: var(--gradient-primary);
  color: white;
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.contact-info::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  animation: contactGlow 8s ease-in-out infinite;
}

@keyframes contactGlow {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(1.1) rotate(180deg);
  }
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  font-size: 1.2rem;
  transition: all var(--transition-medium);
}

.contact-item:hover .contact-icon {
  background: var(--accent-color);
  color: var(--text-dark);
  transform: scale(1.1);
}

/* Enhanced Typography */
.section-title {
  font-family: var(--font-primary);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--gradient-accent);
  border-radius: 2px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* Enhanced Button Hover Effects */
.btn {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all var(--transition-medium);
  z-index: -1;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

/* Enhanced Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--accent-dark));
}

/* Elegant Selection Styling */
::selection {
  background: rgba(30, 58, 138, 0.2);
  color: var(--text-dark);
}

::-moz-selection {
  background: rgba(30, 58, 138, 0.2);
  color: var(--text-dark);
}

/* Enhanced Card Shadows */
.card,
.property-card,
.service-card,
.insight-card {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all var(--transition-medium);
}

.card:hover,
.property-card:hover,
.service-card:hover,
.insight-card:hover {
  box-shadow: 0 12px 40px rgba(30, 58, 138, 0.15);
}

/* Elegant Dividers */
.section-divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--accent-color),
    transparent
  );
  margin: 3rem 0;
  opacity: 0.5;
}

/* Enhanced Badge Styling */
.badge {
  font-family: var(--font-accent);
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  position: relative;
  overflow: hidden;
}

.badge::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left var(--transition-medium);
}

.badge:hover::before {
  left: 100%;
}

/* Premium Modal Styling */
.modal-content {
  border: none;
  border-radius: var(--border-radius-xl);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(20px);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.95),
    rgba(248, 250, 252, 0.9)
  );
}

.modal-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 2rem 2rem 1rem;
}

.modal-body {
  padding: 1rem 2rem;
}

.modal-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding: 1rem 2rem 2rem;
}

/* Enhanced Alert Styling */
.alert {
  border: none;
  border-radius: var(--border-radius-lg);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.alert::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: currentColor;
}

.alert-success {
  background: rgba(16, 185, 129, 0.1);
  color: #065f46;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.alert-info {
  background: rgba(59, 130, 246, 0.1);
  color: #1e40af;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.alert-warning {
  background: rgba(245, 158, 11, 0.1);
  color: #92400e;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.alert-danger {
  background: rgba(239, 68, 68, 0.1);
  color: #991b1b;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Enhanced Navigation */
.navbar-nav .nav-link {
  position: relative;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transform: translateX(-50%);
  transition: width var(--transition-fast);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after,
.navbar-nav .nav-link.nav-active::after {
  width: 80%;
}

/* Elegant Testimonial Cards */
.testimonial-card {
  background: linear-gradient(145deg, #ffffff, #f8fafc);
  border: 1px solid rgba(30, 58, 138, 0.1);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  position: relative;
  transition: all var(--transition-medium);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: var(--accent-color);
  font-family: var(--font-primary);
  line-height: 1;
  opacity: 0.3;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(30, 58, 138, 0.12);
}

.testimonial-author {
  display: flex;
  align-items: center;
  margin-top: 1.5rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 1rem;
  object-fit: cover;
  border: 2px solid var(--accent-color);
}

.author-info h6 {
  margin: 0;
  color: var(--text-dark);
  font-weight: 600;
}

.author-info small {
  color: var(--text-muted);
}

/* Focus States for Accessibility */
.btn:focus,
.form-control:focus,
.form-select:focus,
.nav-link:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

/* Enhanced Visual Hierarchy */
.section-spacing {
  padding: 5rem 0;
}

.section-spacing-sm {
  padding: 3rem 0;
}

.section-spacing-lg {
  padding: 7rem 0;
}

/* Enhanced Content Spacing */
.content-spacing > * + * {
  margin-top: 1.5rem;
}

.content-spacing-sm > * + * {
  margin-top: 1rem;
}

.content-spacing-lg > * + * {
  margin-top: 2rem;
}

/* Enhanced Grid Layouts */
.elegant-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.elegant-grid-sm {
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.elegant-grid-lg {
  gap: 3rem;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

/* Enhanced Text Styles */
.text-elegant {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-dark);
  font-weight: 400;
}

.text-elegant-light {
  color: var(--text-muted);
}

.text-elegant-accent {
  color: var(--accent-color);
  font-weight: 600;
}

/* Ensure icons have proper visibility on primary backgrounds */
i[class*="fa"] {
  color: inherit;
}

/* Enhanced Spacing Utilities */
.spacer-xs {
  height: 1rem;
}
.spacer-sm {
  height: 2rem;
}
.spacer-md {
  height: 3rem;
}
.spacer-lg {
  height: 4rem;
}
.spacer-xl {
  height: 5rem;
}

/* Enhanced Container Styles */
.elegant-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.elegant-container-sm {
  max-width: 1200px;
}

.elegant-container-lg {
  max-width: 1600px;
}

/* Enhanced Animation Classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Fade In Animations */
.animate-fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-fade-in-up.animated {
  opacity: 1;
  transform: translateY(0);
}

.animate-fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-fade-in-right.animated {
  opacity: 1;
  transform: translateX(0);
}

.animate-delay-1 {
  transition-delay: 0.1s;
}

.animate-delay-2 {
  transition-delay: 0.2s;
}

.animate-delay-3 {
  transition-delay: 0.3s;
}

/* About Page Specific Styles */
.about-stat {
  transition: transform 0.3s ease;
}

.about-stat:hover {
  transform: scale(1.05);
}

.about-hero-image img,
.team-image-container img {
  transition: transform 0.4s ease;
}

.about-hero-image:hover img,
.team-image-container:hover img {
  transform: scale(1.05);
}

/* Property Filtering Enhancements */
.property-card.filtered-out {
  display: none !important;
}

.filter-results-info {
  margin-bottom: 2rem;
  padding: 1.25rem 1.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-weight: 500;
}

#results-count {
  font-weight: 700;
  color: var(--accent-color);
}

.clear-filters-btn {
  background-color: var(--accent-color);
  border: none;
  color: var(--text-dark);
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  transition: all var(--transition-fast);
}

.clear-filters-btn:hover {
  background-color: var(--accent-dark);
  transform: translateY(-1px);
}

/* Advanced Filters Toggle */
.advanced-filters-toggle {
  text-decoration: none;
  font-weight: 500;
}

.advanced-filters-toggle:hover {
  text-decoration: none;
}

.toggle-icon {
  transition: transform var(--transition-fast);
}

.advanced-filters-toggle[aria-expanded="true"] .toggle-icon {
  transform: rotate(180deg);
}

/* Responsive adjustments for filters */
@media (max-width: 768px) {
  .property-finder-card {
    padding: 1.5rem !important;
  }

  .search-field {
    margin-bottom: 1rem;
  }

  .advanced-filters-content {
    padding-top: 1.5rem !important;
  }
}

/* Custom Icon Hover */
a:hover .fab, a:hover .fas,
.hover-icon-gold:hover i,
.social-links a:hover i {
  color: var(--accent-color) !important;
  transition: color 0.3s ease;
}

/* Mobile Marquee for Partners Section */
@media (max-width: 767.98px) {
  .partner-marquee-container {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    position: relative;
  }
  
  .partner-marquee-track {
    display: inline-flex !important;
    animation: partner-marquee 15s linear infinite;
    gap: 1.5rem !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    flex-wrap: nowrap !important;
  }
  
  .partner-col {
    flex: 0 0 auto !important;
    width: 160px !important;
    padding: 0 !important;
  }

  @keyframes partner-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 0.75rem)); }
  }
}

/* Enable dropdown on hover for desktop */
@media (min-width: 992px) {
  .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }
}

/* Remove dropdown toggle caret/arrow */
.dropdown-toggle::after {
  display: none !important;
}

/* =============================================
   PROPERTY PAGE HERO UPGRADES
   ============================================= */
.hero-img-container {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-img-container:hover {
  box-shadow: 0 15px 35px rgba(201, 165, 95, 0.15);
  border-color: rgba(201, 165, 95, 0.3);
  transform: translateY(-2px);
}

.hero-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-img-container:hover img {
  transform: scale(1.05);
}

.hero-main-img-wrapper {
  height: 440px;
}

.hero-sub-img-wrapper {
  height: 212px;
}

@media (max-width: 991.98px) {
  .hero-main-img-wrapper {
    height: 320px;
  }
  .hero-sub-img-wrapper {
    height: 150px;
  }
}

@media (max-width: 575.98px) {
  .hero-main-img-wrapper {
    height: 240px;
  }
  .hero-sub-img-wrapper {
    height: 110px;
  }
}

.hero-img-overlay-caption {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(11, 28, 60, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: 30px;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 500;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  width: fit-content;
  max-width: calc(100% - 32px);
}

.hero-img-overlay-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(11, 28, 60, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(201, 165, 95, 0.3);
  padding: 6px 14px;
  border-radius: 30px;
  color: #c9a55f;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  pointer-events: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-img-overlay-button {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(11, 28, 60, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid #c9a55f;
  padding: 10px 20px;
  border-radius: 30px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  z-index: 10;
}

.hero-img-overlay-button:hover {
  background: #c9a55f;
  color: #0b1c3c;
  box-shadow: 0 6px 24px rgba(201, 165, 95, 0.4);
  transform: translate(-50%, -2px);
}

/* Responsive Overlays & Save Button Custom Interaction */
@media (max-width: 767.98px) {
  .hero-img-overlay-caption {
    display: none !important; /* Hide overlay caption on mobile/tablet to avoid obscuring the main image */
  }
  .hero-img-overlay-badge {
    font-size: 0.65rem !important;
    padding: 4px 10px !important;
    bottom: 8px !important;
    left: 8px !important;
  }
  .hero-img-overlay-button {
    font-size: 0.72rem !important;
    padding: 6px 12px !important;
  }
}

#shortlistBtn.btn-danger {
  background: #dc3545 !important;
  border-color: #dc3545 !important;
  color: #ffffff !important;
}

#shortlistBtn.btn-danger i {
  color: #ffffff !important;
}

