/* ==========================================================================
   PSR PROJECTS & CONSTRUCTIONS (I), LLP
   Luxury Glassmorphism Edition (Frosted Glass, Ambient Glows, Specular Highlights)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,600&family=Outfit:wght@300;400;500;600;700;800&family=Italiana&display=swap');

:root {
  --color-psr-blue: #1e2865;
  --color-psr-blue-hover: #141c48;
  --color-psr-blue-light: #2563eb;
  --color-red-accent: #a8202b;
  --color-red-accent-hover: #8e1923;
  --color-gold: #9a7432;
  --color-gold-light: #b4833e;
  --color-light-bg: #f5f4ef;
  --color-light-surface: #ffffff;
  
  /* Luxury Warm Pearl & Crystal Glassmorphism Variables */
  --glass-bg: rgba(255, 255, 255, 0.82);
  --glass-bg-hover: rgba(255, 255, 255, 0.95);
  --glass-bg-light: rgba(255, 255, 255, 0.65);
  --glass-border: rgba(226, 232, 240, 0.85);
  --glass-border-hover: rgba(44, 58, 140, 0.4);
  --glass-border-specular: rgba(255, 255, 255, 0.95);
  --glass-blur: blur(24px) saturate(180%);
  --glass-shadow: 0 16px 40px rgba(15, 23, 42, 0.05), 0 2px 6px rgba(15, 23, 42, 0.02);
  --glass-shadow-hover: 0 24px 50px rgba(30, 40, 101, 0.12), 0 4px 12px rgba(30, 40, 101, 0.06);

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-display: 'Italiana', serif;
  --font-sans: 'Outfit', -apple-system, sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

img {
  image-rendering: -webkit-optimize-contrast;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: #f5f4ef;
  color: #1e293b;
  overflow-x: hidden;
}

body {
  position: relative;
  min-height: 100vh;
  line-height: 1.6;
  background-color: #f5f4ef;
  background-image: 
    radial-gradient(at 0% 0%, rgba(44, 58, 140, 0.07) 0px, transparent 55%),
    radial-gradient(at 100% 15%, rgba(197, 168, 128, 0.11) 0px, transparent 50%),
    radial-gradient(at 15% 45%, rgba(168, 32, 43, 0.05) 0px, transparent 50%),
    radial-gradient(at 85% 75%, rgba(37, 99, 235, 0.06) 0px, transparent 50%),
    radial-gradient(at 30% 95%, rgba(212, 185, 150, 0.08) 0px, transparent 50%);
  background-attachment: fixed;
  color: #1e293b;
}

/* Ambient Glowing Aurora Blobs (Refracted through Frosted Glass) */
.glass-aurora-glow-1 {
  position: fixed;
  top: -10%;
  left: -10%;
  width: 55vw;
  height: 55vw;
  background: radial-gradient(circle, rgba(44, 58, 140, 0.08) 0%, rgba(44, 58, 140, 0) 70%);
  filter: blur(130px);
  z-index: 0;
  pointer-events: none;
  animation: floatOrb 22s ease-in-out infinite alternate;
}

.glass-aurora-glow-2 {
  position: fixed;
  top: 40%;
  right: -15%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(197, 168, 128, 0.12) 0%, rgba(197, 168, 128, 0) 70%);
  filter: blur(140px);
  z-index: 0;
  pointer-events: none;
  animation: floatOrb2 28s ease-in-out infinite alternate;
}

.glass-aurora-glow-3 {
  position: fixed;
  bottom: -15%;
  left: 20%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(168, 32, 43, 0.06) 0%, rgba(168, 32, 43, 0) 70%);
  filter: blur(150px);
  z-index: 0;
  pointer-events: none;
  animation: floatOrb3 35s ease-in-out infinite alternate;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.08); }
  100% { transform: translate(-30px, 80px) scale(0.95); }
}

@keyframes floatOrb2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-50px, -60px) scale(1.12); }
  100% { transform: translate(40px, 30px) scale(0.9); }
}

@keyframes floatOrb3 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -40px) scale(1.05); }
  100% { transform: translate(-60px, 20px) scale(1); }
}

/* Scroll Progress Bar at the top of the browser */
#scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #2c3a8c, #3b82f6, #a8202b, #e5c07b);
  width: 0%;
  z-index: 999;
  transition: width 0.1s ease-out;
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.5);
}

/* Custom Glass Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f8fafc;
}
::-webkit-scrollbar-thumb {
  background: rgba(44, 58, 140, 0.35);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(168, 32, 43, 0.7);
}

/* Typography Utility */
.font-serif {
  font-family: var(--font-serif);
}

.font-display {
  font-family: var(--font-display);
}

.font-sans {
  font-family: var(--font-sans);
}

.text-red-accent {
  color: var(--color-red-accent);
}

/* ====================================================
   CORE GLASSMORPHISM SYSTEM
   ==================================================== */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  position: relative;
}

/* Glass Specular Top Highlight (Simulates Beveled Glass Edge) */
.glass-panel::before,
.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.28) 50%, transparent 100%);
  pointer-events: none;
  border-radius: inherit;
}

.glass-panel-hover {
  transition: var(--transition-smooth);
}
.glass-panel-hover:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  box-shadow: var(--glass-shadow-hover);
  transform: translateY(-5px);
}

.glass-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  position: relative;
  transition: var(--transition-smooth);
}
.glass-card:hover {
  background: #ffffff;
  border-color: rgba(44, 58, 140, 0.35);
  box-shadow: 0 20px 45px rgba(44, 58, 140, 0.1), 0 2px 4px rgba(0, 0, 0, 0.02);
  transform: translateY(-5px);
}

/* Glass Pills & Chips */
.glass-pill {
  background: rgba(241, 245, 249, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(203, 213, 225, 0.8);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  color: #1e293b;
}

/* ====================================================
   BUTTONS & BADGES
   ==================================================== */
.btn-brochure-red {
  background: linear-gradient(135deg, #e03444 0%, #c82333 100%);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 25px rgba(224, 52, 68, 0.55), inset 0 1px 2px rgba(255, 255, 255, 0.4);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-brochure-red:hover {
  background: linear-gradient(135deg, #f03d4e 0%, #d62b3b 100%);
  box-shadow: 0 14px 35px rgba(224, 52, 68, 0.8), inset 0 1px 3px rgba(255, 255, 255, 0.6);
  transform: translateY(-2px) scale(1.02);
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 2.5rem;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border-bottom: 1px solid rgba(226, 232, 240, 0.95);
  padding: 0.85rem 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

/* Nav Dropdown Glass Menu */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(30px) saturate(200%);
  -webkit-backdrop-filter: blur(30px) saturate(200%);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 1.25rem;
  padding: 0.85rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75), inset 0 1px 1px rgba(255, 255, 255, 0.18);
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ====================================================
   GLASS BUTTONS WITH SPECULAR SHINE
   ==================================================== */
.btn-brand {
  background: linear-gradient(135deg, #1e2865 0%, #2c3a8c 60%, #3a4eb5 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff !important;
  font-weight: 600;
  padding: 0.8rem 1.85rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 25px rgba(30, 40, 101, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.4);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  transition: var(--transition-smooth);
}
.btn-brand:hover {
  background: linear-gradient(135deg, #27347e 0%, #3648a8 100%);
  box-shadow: 0 14px 35px rgba(30, 40, 101, 0.45), inset 0 1px 2px rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.btn-red {
  background: linear-gradient(135deg, #a8202b 0%, #c52936 60%, #dc2626 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff !important;
  font-weight: 600;
  padding: 0.8rem 1.85rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 25px rgba(168, 32, 43, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.4);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  transition: var(--transition-smooth);
}
.btn-red:hover {
  background: linear-gradient(135deg, #be2633 0%, #dc2626 100%);
  box-shadow: 0 14px 35px rgba(168, 32, 43, 0.5), inset 0 1px 2px rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, rgba(197, 168, 128, 0.95) 0%, rgba(170, 139, 97, 0.95) 100%);
  backdrop-filter: blur(12px);
  color: #0c0e12;
  font-weight: 600;
  padding: 0.8rem 1.85rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 8px 25px rgba(197, 168, 128, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.45);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-smooth);
}
.btn-gold:hover {
  box-shadow: 0 12px 35px rgba(197, 168, 128, 0.5);
  transform: translateY(-2px);
}

.btn-outline-gold {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #1e293b;
  border: 1.5px solid rgba(197, 168, 128, 0.7);
  box-shadow: 0 4px 15px rgba(197, 168, 128, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.9);
  font-weight: 600;
  padding: 0.8rem 1.85rem;
  border-radius: 0.85rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  transition: var(--transition-smooth);
}
.btn-outline-gold:hover {
  background: #ffffff;
  border-color: #9a7432;
  color: #9a7432;
  box-shadow: 0 8px 25px rgba(197, 168, 128, 0.3);
  transform: translateY(-2px);
}

.badge-luxury {
  background: rgba(44, 58, 140, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(44, 58, 140, 0.22);
  box-shadow: 0 1px 2px rgba(44, 58, 140, 0.08);
  color: #2c3a8c;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

/* ====================================================
   GLASSY FLOATING ACTIONS (ENQUIRE NOW & CHAT BUBBLE)
   ==================================================== */

/* Fixed Vertical "ENQUIRE NOW" Tab on Right Edge (Frosted Acrylic Glass) */
#floating-enquire-tab {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(168, 32, 43, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #ffffff;
  padding: 1.15rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  border-radius: 0.75rem 0 0 0.75rem;
  border-left: 1px solid rgba(255, 255, 255, 0.35);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  z-index: 150;
  box-shadow: -6px 0 25px rgba(168, 32, 43, 0.55), inset 1px 0 1px rgba(255, 255, 255, 0.3);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
#floating-enquire-tab:hover {
  background: rgba(188, 36, 48, 0.98);
  padding-right: 0.75rem;
  box-shadow: -8px 0 35px rgba(168, 32, 43, 0.8), inset 1px 0 2px rgba(255, 255, 255, 0.5);
}

/* Floating Circular Chat Bubble on Bottom Right (Frosted Acrylic Sphere) */
#floating-chat-bubble {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(168, 32, 43, 0.92) 0%, rgba(135, 22, 31, 0.95) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 14px 35px rgba(168, 32, 43, 0.6), inset 0 2px 4px rgba(255, 255, 255, 0.45);
  cursor: pointer;
  z-index: 150;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
#floating-chat-bubble:hover {
  transform: scale(1.12);
  box-shadow: 0 20px 45px rgba(168, 32, 43, 0.85), inset 0 2px 5px rgba(255, 255, 255, 0.6);
  border-color: rgba(255, 255, 255, 0.6);
}

/* ====================================================
   UNIQUE SCROLLING EFFECT ANIMATIONS
   ==================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Modals with Deep Glass Blur Backdrop */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* Glass Form Inputs */
.glass-input {
  background: #ffffff !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: var(--transition-smooth);
}
.glass-input:focus {
  background: #ffffff !important;
  border-color: #2c3a8c !important;
  box-shadow: 0 0 0 3px rgba(44, 58, 140, 0.15) !important;
}

input[type="range"] {
  accent-color: #3b82f6;
}

/* ==========================================================================
   Delicate Animated Background Wire Wave Effect
   ========================================================================== */
.wire-wave-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.wire-wave-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.animated-wire-line-1 {
  stroke-dasharray: 600 300;
  animation: wireFlow1 24s linear infinite, wireFloat1 10s ease-in-out infinite alternate;
  will-change: stroke-dashoffset, transform;
}

.animated-wire-line-2 {
  stroke-dasharray: 500 250;
  animation: wireFlow2 32s linear infinite reverse, wireFloat2 13s ease-in-out infinite alternate;
  will-change: stroke-dashoffset, transform;
}

.animated-wire-line-3 {
  stroke-dasharray: 750 350;
  animation: wireFlow3 40s linear infinite, wireFloat1 16s ease-in-out infinite alternate;
  will-change: stroke-dashoffset, transform;
}

@keyframes wireFlow1 {
  0% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: -1800;
  }
}

@keyframes wireFlow2 {
  0% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: 1500;
  }
}

@keyframes wireFlow3 {
  0% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: -2200;
  }
}

@keyframes wireFloat1 {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-14px);
  }
  100% {
    transform: translateY(10px);
  }
}

@keyframes wireFloat2 {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(16px);
  }
  100% {
    transform: translateY(-12px);
  }
}

/* ==========================================================================
   Luxury Warm Pearl & Crystal Architectural Theme Overrides
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  color: #0d1527;
  letter-spacing: -0.015em;
}

/* Universal text contrast on warm alabaster pearl background */
.navbar a.text-gray-300 {
  color: #334155 !important;
}
.navbar a.text-gray-300:hover, 
.navbar a.text-white:hover {
  color: #1e2865 !important;
}
.navbar a.text-white {
  color: #0d1527 !important;
}

.nav-dropdown-menu {
  background: rgba(255, 255, 255, 0.98) !important;
  border-color: rgba(214, 211, 201, 0.9) !important;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08) !important;
}
.nav-dropdown-menu a strong {
  color: #0d1527 !important;
}
.nav-dropdown-menu a span {
  color: #64748b !important;
}
.nav-dropdown-menu a:hover {
  background-color: rgba(44, 58, 140, 0.06) !important;
}

.text-gray-300 {
  color: #334155 !important;
}
.text-gray-400 {
  color: #64748b !important;
}
.text-gray-500 {
  color: #64748b !important;
}

/* Ensure text is deep slate/charcoal unless in colored CTA buttons */
.text-white:not(.btn-brand *):not(.btn-red *):not(.btn-brand):not(.btn-red):not(#floating-enquire-tab):not(.badge-luxury *):not(.badge-brand):not(button[class*="bg-"]):not(a[class*="bg-"]):not(.badge-residential):not(.badge-commercial):not([class*="bg-blue-600"]):not([class*="bg-[#e0434f]"]):not([class*="bg-[#a8202b]"]) {
  color: #0d1527 !important;
}

/* Refined border colors for warm alabaster background */
.border-white\/10, 
.border-white\/20, 
.border-white\/15, 
.border-white\/5 {
  border-color: rgba(214, 211, 201, 0.85) !important;
}

/* Soft translucent card backgrounds */
.bg-white\/5, 
.bg-white\/\[0\.04\], 
.bg-white\/\[0\.03\] {
  background-color: rgba(255, 255, 255, 0.8) !important;
  border-color: rgba(214, 211, 201, 0.85) !important;
}

/* Contact and calculator glass panels on warm alabaster */
.glass-panel {
  background: rgba(255, 255, 255, 0.9) !important;
  border-color: rgba(226, 222, 212, 0.9) !important;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.05), 0 2px 6px rgba(15, 23, 42, 0.02) !important;
}

/* Quick Floating Enquire Tab styling */
#floating-enquire-tab {
  box-shadow: -4px 0 25px rgba(168, 32, 43, 0.4) !important;
}

/* ==========================================================================
   3D Cover Flow Projects Carousel (Light Luxury Theme, Square Corners, +20% Size)
   ========================================================================== */
.coverflow-viewport {
  perspective: 1200px;
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 560px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  touch-action: pan-y;
}

@media (max-width: 768px) {
  .coverflow-viewport {
    height: 450px;
    max-width: 100%;
  }
}

.coverflow-card {
  position: absolute;
  width: 432px;
  height: 528px;
  border-radius: 0px; /* Square modern architectural corners */
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.18), 0 4px 12px rgba(15, 23, 42, 0.08);
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.65s ease, filter 0.65s ease;
  transform-style: preserve-3d;
  will-change: transform, opacity, filter;
  cursor: pointer;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
}

@media (max-width: 768px) {
  .coverflow-card {
    width: 324px;
    height: 396px;
    border-radius: 0px;
  }
}

.coverflow-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* 3D States */
.coverflow-card.active {
  transform: translateX(0) translateZ(90px) rotateY(0deg) scale(1);
  z-index: 10;
  opacity: 1;
  filter: grayscale(0%);
  border: 1.5px solid rgba(30, 40, 101, 0.3);
  box-shadow: 0 35px 75px rgba(15, 23, 42, 0.28), 0 10px 30px rgba(30, 40, 101, 0.18);
  cursor: default;
}

.coverflow-card.prev {
  transform: translateX(-70%) translateZ(-40px) rotateY(38deg) scale(0.85);
  z-index: 5;
  opacity: 0.65;
  filter: grayscale(100%) contrast(108%);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14);
}

.coverflow-card.next {
  transform: translateX(70%) translateZ(-40px) rotateY(-38deg) scale(0.85);
  z-index: 5;
  opacity: 0.65;
  filter: grayscale(100%) contrast(108%);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14);
}

.coverflow-card.hidden-left {
  transform: translateX(-140%) translateZ(-120px) rotateY(45deg) scale(0.7);
  z-index: 1;
  opacity: 0;
  pointer-events: none;
}

.coverflow-card.hidden-right {
  transform: translateX(140%) translateZ(-120px) rotateY(-45deg) scale(0.7);
  z-index: 1;
  opacity: 0;
  pointer-events: none;
}

.coverflow-nav-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 0, 0, 0.14);
  color: #1e2865;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 25;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
}
.coverflow-nav-btn:hover {
  background: #a8202b;
  border-color: #a8202b;
  color: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 14px 30px rgba(168, 32, 43, 0.35);
}

/* ====================================================
   LUXURY COMMERCIAL LEASING CALCULATOR STYLING
   ==================================================== */
.luxury-range-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 9999px;
  background: #e2e8f0;
  outline: none;
  transition: all 0.25s ease;
  cursor: pointer;
  position: relative;
}

.luxury-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  border: 3.5px solid #1e2865;
  box-shadow: 0 4px 14px rgba(30, 40, 101, 0.35), 0 0 0 4px rgba(37, 99, 235, 0.12);
  cursor: grab;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.2s ease, border-color 0.2s ease;
}

.luxury-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.22);
  border-color: #a8202b;
  box-shadow: 0 6px 18px rgba(168, 32, 43, 0.45), 0 0 0 6px rgba(168, 32, 43, 0.15);
}

.luxury-range-slider::-webkit-slider-thumb:active {
  cursor: grabbing;
  transform: scale(1.1);
  box-shadow: 0 2px 10px rgba(168, 32, 43, 0.6), 0 0 0 8px rgba(168, 32, 43, 0.2);
}

.luxury-range-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  border: 3.5px solid #1e2865;
  box-shadow: 0 4px 14px rgba(30, 40, 101, 0.35), 0 0 0 4px rgba(37, 99, 235, 0.12);
  cursor: grab;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.luxury-range-slider::-moz-range-thumb:hover {
  transform: scale(1.22);
  border-color: #a8202b;
  box-shadow: 0 6px 18px rgba(168, 32, 43, 0.45), 0 0 0 6px rgba(168, 32, 43, 0.15);
}

.number-display-hero {
  font-family: var(--font-sans);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.number-display-pill {
  font-family: var(--font-sans);
  font-weight: 800;
  letter-spacing: -0.015em;
  font-variant-numeric: tabular-nums;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

/* 3 Distinct Vibrant Colors for Sliders & Thumbs */
.slider-blue::-webkit-slider-thumb {
  border-color: #2563eb !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.45), 0 0 0 4px rgba(37, 99, 235, 0.15) !important;
}
.slider-blue::-webkit-slider-thumb:hover {
  border-color: #1d4ed8 !important;
  box-shadow: 0 6px 20px rgba(29, 78, 216, 0.6), 0 0 0 6px rgba(37, 99, 235, 0.25) !important;
}
.slider-blue::-moz-range-thumb {
  border-color: #2563eb !important;
}

.slider-emerald::-webkit-slider-thumb {
  border-color: #059669 !important;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.45), 0 0 0 4px rgba(5, 150, 105, 0.15) !important;
}
.slider-emerald::-webkit-slider-thumb:hover {
  border-color: #047857 !important;
  box-shadow: 0 6px 20px rgba(4, 120, 87, 0.6), 0 0 0 6px rgba(5, 150, 105, 0.25) !important;
}
.slider-emerald::-moz-range-thumb {
  border-color: #059669 !important;
}

.slider-amber::-webkit-slider-thumb {
  border-color: #d97706 !important;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.45), 0 0 0 4px rgba(217, 119, 6, 0.15) !important;
}
.slider-amber::-webkit-slider-thumb:hover {
  border-color: #b45309 !important;
  box-shadow: 0 6px 20px rgba(180, 83, 9, 0.6), 0 0 0 6px rgba(217, 119, 6, 0.25) !important;
}
.slider-amber::-moz-range-thumb {
  border-color: #d97706 !important;
}

