/* ==========================================================================
   SRINFRAA PROPERTY AGENCY - EXCLUSIVE PROPERTIES
   PREMIUM CSS DESIGN SYSTEM & FRAMEWORK
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap');

:root {
  /* Brand Color Palette - Matched 100% to Official Logo */
  --primary-gold: #E9B654; /* Exact Royal Metallic Gold from Logo */
  --light-gold: #F3CC7A;
  --dark-gold: #C79532;
  --gold-gradient: linear-gradient(135deg, #F7D78F 0%, #E9B654 50%, #C79532 100%);
  
  --dark-charcoal: #0E263A; /* Exact Sapphire Navy from Logo Background */
  --charcoal-bg: #0E263A;   /* Unified Logo Navy for All Dark Sections & Footer */
  --card-navy-bg: #122D44;  /* Rich Navy Surface Background */
  --blue-accent: #159BD7;
  --white: #FFFFFF;
  --off-white: #F4F7FA;
  --light-gray: #E2E8F0;
  --border-color: #CBD5E1;
  --text-dark: #0E263A;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  
  /* Typography */
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Shadows & Radius */
  --shadow-sm: 0 2px 8px rgba(14, 38, 58, 0.05);
  --shadow-md: 0 8px 24px rgba(14, 38, 58, 0.12);
  --shadow-lg: 0 16px 36px rgba(14, 38, 58, 0.18);
  --shadow-gold: 0 8px 22px rgba(233, 182, 84, 0.35);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 9999px;

  /* Transitions */
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Normalize */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100% !important;
  -ms-text-size-adjust: 100% !important;
  text-size-adjust: 100% !important;
  touch-action: pan-x pan-y !important;
  overflow-x: hidden !important;
  width: 100%;
}

body {
  overflow-x: hidden !important;
  width: 100%;
  max-width: 100vw;
  touch-action: pan-x pan-y !important;
}

body.no-scroll {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: 16px;
  outline: none;
  touch-action: manipulation;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--dark-charcoal);
  line-height: 1.25;
}

.heading-xl {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.heading-lg {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.heading-md {
  font-size: 1.5rem;
}

.heading-sm {
  font-size: 1.2rem;
}

.section-tagline {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary-gold);
  margin-bottom: 0.5rem;
}

.text-gold { color: var(--primary-gold); }
.text-muted { color: var(--text-muted); }
.text-white { color: var(--white); }

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-top: 0.75rem;
}

/* Button Component System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold-gradient);
  color: #091A29;
  font-weight: 800;
  border: none;
  box-shadow: 0 4px 18px rgba(233, 182, 84, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #FFE2A3 0%, #F3CC7A 50%, #D8A23D 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(233, 182, 84, 0.45);
}

.btn-dark {
  background-color: var(--dark-charcoal);
  color: var(--white);
}

.btn-dark:hover {
  background-color: #173854;
  color: var(--primary-gold);
  transform: translateY(-2px);
}

.btn-outline-dark {
  border-color: var(--dark-charcoal);
  color: var(--dark-charcoal);
  background: transparent;
}

.btn-outline-dark:hover {
  background-color: var(--dark-charcoal);
  color: var(--white);
}

.btn-outline-gold {
  border: 2px solid var(--primary-gold);
  color: var(--primary-gold);
  background: transparent;
  font-weight: 700;
}

.btn-outline-gold:hover {
  background: var(--gold-gradient);
  color: #091A29;
  border-color: transparent;
  box-shadow: 0 4px 18px rgba(233, 182, 84, 0.35);
}

.btn-outline-white {
  border: 2px solid #FFFFFF;
  color: #FFFFFF;
  background: transparent;
  font-weight: 700;
}

.btn-outline-white:hover {
  background: #FFFFFF;
  color: #0E263A;
  border-color: #FFFFFF;
  box-shadow: 0 4px 18px rgba(255, 255, 255, 0.3);
}



.btn-whatsapp {
  background-color: #25D366;
  color: #FFFFFF;
}

.btn-whatsapp:hover {
  background-color: #1EBE57;
  transform: translateY(-2px);
}

.btn-whatsapp-icon {
  background: rgba(37, 211, 102, 0.1);
  color: #25D366;
  padding: 0.6rem;
  border-radius: var(--radius-sm);
}

.btn-whatsapp-icon:hover {
  background: #25D366;
  color: #FFFFFF;
  svg { fill: #FFFFFF; }
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 1.1rem 2.2rem;
  font-size: 1.05rem;
}

/* Header & Navbar - Solid Sapphire Navy by default for all inner pages */
.header-sticky {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #0E263A; /* Solid Sapphire Navy for all inner pages */
  border-bottom: 1px solid rgba(233, 182, 84, 0.35);
  box-shadow: 0 4px 20px rgba(9, 26, 41, 0.6);
  transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}

.header-sticky.header-scrolled {
  box-shadow: 0 6px 25px rgba(9, 26, 41, 0.85);
  padding: 0.15rem 0;
}

/* ONLY on Landing Page (page-home): Transparent initial header, solid navy background on scroll */
body.page-home .header-sticky {
  position: fixed;
  background-color: transparent;
  border-bottom: 1px solid transparent;
  box-shadow: none;
}

body.page-home .header-sticky.header-scrolled {
  background-color: #0E263A;
  border-bottom: 1px solid rgba(233, 182, 84, 0.35);
  box-shadow: 0 6px 25px rgba(9, 26, 41, 0.85);
  padding: 0.15rem 0;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}

.brand-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo img {
  height: 64px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
  transition: transform 0.3s ease;
}

.brand-logo:hover img {
  transform: scale(1.03);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  margin: 0 auto; /* Centers the navigation links in the middle of the header */
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--white);
  position: relative;
  display: inline-flex;
  align-items: center;
  letter-spacing: 0.5px;
}

.nav-home-icon svg {
  display: block;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2.5px;
  background-color: var(--primary-gold);
  transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-gold);
}

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

.header-ctas {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-shrink: 0;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

/* Hero Section & Search Overlay with Cross-Fade Slideshow */
.hero-wrapper {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0E263A;
  color: var(--white);
  padding: 8.5rem 0 7rem 0;
  overflow: hidden;
}



.hero-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.0);
  transition: opacity 1.8s ease-in-out, transform 7s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1.06);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(14, 38, 58, 0.72) 0%, rgba(9, 26, 41, 0.88) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: 1.2rem;
}

.hero-content p.hero-subtitle {
  font-size: 1.35rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  margin-bottom: 3rem;
  letter-spacing: 0.5px;
}

/* Modern Tabbed Property Search Box */
.search-box-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  max-width: 1100px;
  margin: 0 auto;
  color: var(--text-dark);
}

.search-tabs {
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid var(--border-color);
}

.hero-tab {
  padding: 0.6rem 1.8rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-muted);
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.hero-tab.active {
  background-color: var(--dark-charcoal);
  color: var(--primary-gold);
}

.search-fields-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 1rem;
  padding: 1.2rem 1rem 0.8rem 1rem;
  align-items: center;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-align: left;
}

.form-label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-dark);
}

.form-control, .form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: var(--off-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 16px;
  color: var(--text-dark);
  transition: var(--transition-fast);
  touch-action: manipulation;
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary-gold);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(245, 160, 0, 0.15);
}

.search-btn-col {
  padding-top: 1.3rem;
}

/* Category Cards Section */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
}

.category-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 320px;
  display: flex;
  align-items: flex-end;
  background-color: var(--dark-charcoal);
}

.category-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
  transition: transform 0.5s ease;
}

.category-card:hover img {
  transform: scale(1.08);
  opacity: 0.6;
}

.category-card-overlay {
  position: relative;
  z-index: 2;
  padding: 2rem;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.9) 100%);
  width: 100%;
  color: var(--white);
}

.category-card h3 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.category-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* Property Cards System */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.property-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.property-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-gold);
}

.property-card-media {
  position: relative;
  height: 240px;
  overflow: hidden;
  background-color: var(--light-gray);
}

.property-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.property-card:hover .property-card-media img {
  transform: scale(1.06);
}

.property-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.8rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-pill);
}

.badge-gold {
  background-color: var(--primary-gold);
  color: var(--dark-charcoal);
}

.badge-dark {
  background-color: var(--dark-charcoal);
  color: var(--white);
}

.property-card-actions {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  gap: 0.5rem;
}

.btn-icon-fav, .btn-icon-compare {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-icon-fav:hover, .btn-icon-fav.active,
.btn-icon-compare:hover, .btn-icon-compare.active {
  background: var(--dark-charcoal);
  border: 1px solid var(--primary-gold);
}

.property-price-tag {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: var(--dark-charcoal);
  color: var(--primary-gold);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(245, 160, 0, 0.3);
}

.property-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.property-meta-top {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.prop-type-pill, .prop-cat-pill {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--off-white);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
}

.property-title {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
  line-height: 1.4;
}

.property-title a:hover {
  color: var(--primary-gold);
}

.property-location {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.property-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  padding: 0.8rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 1.2rem;
  text-align: center;
}

.spec-item {
  display: flex;
  flex-direction: column;
}

.spec-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}

.spec-val {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--dark-charcoal);
}

.property-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  gap: 0.5rem;
}

/* Trust Blocks & Features */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.trust-card {
  background: var(--off-white);
  padding: 2.2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  transition: var(--transition-fast);
}

.trust-card:hover {
  border-color: var(--primary-gold);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.trust-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: var(--dark-charcoal);
  color: var(--primary-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.trust-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

/* Home Loan Process Timeline (01 - 08) */
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.step-card {
  position: relative;
  background: var(--white);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.step-num {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 2.2rem;
  color: var(--primary-gold);
  line-height: 1;
  margin-bottom: 0.8rem;
}

.step-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.step-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Calculators Layout */
.calculator-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}

.calc-inputs-pane {
  padding: 3rem;
}

.calc-results-pane {
  background: var(--dark-charcoal);
  color: var(--white);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calc-results-pane h3 {
  color: var(--white);
  border-bottom: 1px solid #333;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

.result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
}

.result-label {
  color: #AAA;
  font-size: 0.95rem;
}

.result-val {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--white);
}

.result-highlight {
  font-size: 2.2rem;
  color: var(--primary-gold);
}

/* Visual EMI Breakdown Bar */
.calc-visual-bar {
  display: flex;
  height: 14px;
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin: 1.5rem 0;
  background: #333;
}

.bar-segment-principal {
  background: var(--primary-gold);
  height: 100%;
  transition: width 0.4s ease;
}

.bar-segment-interest {
  background: var(--blue-accent);
  height: 100%;
  transition: width 0.4s ease;
}

/* Property Detail Page Layout */
.property-detail-header {
  padding: 2.5rem 0 1.5rem 0;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 2rem;
}

.prop-header-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
}

.prop-detail-price {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--primary-gold);
}

.gallery-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.main-image-box {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 460px;
  cursor: pointer;
}

.main-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumbs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.gallery-thumb {
  height: 140px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  opacity: 0.8;
  transition: var(--transition-fast);
}

.gallery-thumb.active, .gallery-thumb:hover {
  opacity: 1;
  outline: 3px solid var(--primary-gold);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-content-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2.5rem;
}

.detail-section-block {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin-bottom: 2rem;
}

.detail-section-block h2 {
  font-size: 1.35rem;
  border-bottom: 2px solid var(--light-gray);
  padding-bottom: 0.8rem;
  margin-bottom: 1.5rem;
}

.specs-grid-full {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.2rem;
}

.spec-box {
  background: var(--off-white);
  padding: 1rem;
  border-radius: var(--radius-sm);
}

.amenities-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.amenity-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  font-weight: 500;
}

/* Sidebar Contact Card */
.sticky-sidebar-card {
  position: sticky;
  top: 100px;
  background: var(--dark-charcoal);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid #333;
}

.sticky-sidebar-card h3 {
  color: var(--white);
  margin-bottom: 0.4rem;
}

.sidebar-expert-info {
  margin: 1.2rem 0;
  padding: 1rem 0;
  border-top: 1px solid #333;
  border-bottom: 1px solid #333;
}

/* Dark Section Background */
.bg-dark-charcoal {
  background-color: var(--dark-charcoal);
  color: var(--white);
}

.bg-dark-charcoal h1, .bg-dark-charcoal h2, .bg-dark-charcoal h3 {
  color: var(--white);
}

.bg-off-white {
  background-color: var(--off-white);
}

/* Floating Comparison Bar */
.compare-floating-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--dark-charcoal);
  color: var(--white);
  border-top: 2px solid var(--primary-gold);
  padding: 1rem 0;
  z-index: 999;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.compare-floating-bar.is-visible {
  transform: translateY(0);
}

.compare-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.9);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: none;
  color: #FFF;
  font-size: 2.5rem;
  cursor: pointer;
}

/* Footer Section - Premium Pure White Theme with Dark Navy & Gold Typography */
.footer-main {
  background-color: #FFFFFF;
  color: var(--text-dark);
  padding-top: 4.5rem;
  border-top: 4px solid var(--primary-gold);
  box-shadow: 0 -10px 30px rgba(14, 38, 58, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  color: #475569;
  margin: 0.8rem 0 1.2rem 0;
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Footer Logo Curved Dark Navy Container */
.footer-logo-box {
  display: inline-block;
  background-color: #0E263A;
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(233, 182, 84, 0.35);
  box-shadow: 0 6px 20px rgba(14, 38, 58, 0.18);
}

.footer-logo-box img {
  height: 65px;
  width: auto;
  display: block;
}

.footer-col h4 {
  color: var(--dark-charcoal);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary-gold);
  border-radius: 2px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #475569;
  font-size: 0.93rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary-gold);
  padding-left: 4px;
}

.footer-bottom {
  background: #F8FAFC;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border-color);
  color: #64748B;
  font-size: 0.88rem;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Breadcrumbs */
.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.breadcrumb-nav a:hover {
  color: var(--primary-gold);
}

.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--off-white);
  border-radius: var(--radius-md);
  border: 1px stroke var(--border-color);
  grid-column: 1 / -1;
}

.empty-state h3 {
  margin: 1rem 0 0.5rem 0;
}

/* Scroll To Top (Positioned Bottom Left to leave Bottom Right for WhatsApp) */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 44px;
  height: 44px;
  background: var(--dark-charcoal);
  color: var(--primary-gold);
  border: 1px solid var(--primary-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-fast);
  z-index: 900;
}

.scroll-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* Compact Floating WhatsApp Button (Bottom Right Corner) */
.whatsapp-float-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1050;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #25D366;
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
  animation: pulseWhatsapp 2.5s infinite;
}

.whatsapp-float-btn span {
  display: none;
}

.whatsapp-float-btn svg {
  fill: #FFFFFF;
  width: 25px;
  height: 25px;
  flex-shrink: 0;
}

.whatsapp-float-btn:hover {
  background-color: #1EBE57;
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.6);
  color: #FFFFFF;
}

@keyframes pulseWhatsapp {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Spinner Animation */
@keyframes spin {
  to { transform: rotate(360deg); }
}
.spinner {
  animation: spin 1s linear infinite;
}
