/* 
  Jamie Realty Group - Custom Modern Design System
  Primary Theme: Luxury Real Estate - Midnight Navy & Champagne Gold
*/

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

:root {
  --primary: #0F2942;      /* Luxury Deep Navy */
  --primary-rgb: 15, 41, 66;
  --primary-dark: #071522;
  --accent: #C5A880;       /* Warm Champagne Gold */
  --accent-light: #DFCEB7;
  --accent-dark: #A5875E;
  --text-dark: #1E293B;    /* Charcoal */
  --text-light: #FFFFFF;
  --text-muted: #64748B;   /* Slate Gray */
  --bg-light: #F8FAFC;     /* Off-White */
  --bg-card: #FFFFFF;
  --border-color: #E2E8F0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 100%;
}

html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.3;
}

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

a:hover {
  color: var(--accent);
}

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

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95); /* Elegant White background with glassmorphic opacity */
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

header.scrolled {
  background: #FFFFFF; /* Solid white background for scroll contrast */
  box-shadow: var(--shadow-md);
  padding: 5px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 100%;
  margin: 0 auto;
  padding: 15px 36px;
  width: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: var(--transition);
}

header.scrolled .logo-img {
  height: 40px;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 15px;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.nav-item a {
  color: rgba(0, 0, 0, 0.8); /* Charcoal black links */
  font-weight: 500;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 4px;
  position: relative;
  white-space: nowrap;
}

.nav-item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition);
}

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

.nav-item a:hover,
.nav-item.active a {
  color: #000000; /* Solid black on hover/active */
}

.nav-contact-btn {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--primary-dark) !important;
  font-weight: 600 !important;
  padding: 10px 20px !important;
  border-radius: 30px;
  box-shadow: 0 4px 10px rgba(197, 168, 128, 0.2);
}

.nav-contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(197, 168, 128, 0.4);
}

.nav-contact-btn::after {
  display: none !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #000000; /* Black hamburger toggle button */
  font-size: 24px;
  cursor: pointer;
}

/* Homepage Flyer Banner Section */
.home-flyer-section {
  padding: 120px 20px 60px;
  background-color: var(--bg-light);
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
}

.home-flyer-wrap {
  max-width: min(1100px, 92vw);
  width: 100%;
}

.home-banner-flyer {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  display: block;
  transition: var(--transition);
}

.home-banner-flyer:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* Glassmorphic Search Container */
.search-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-lg);
  width: 100%;
}

.search-card h3 {
  color: var(--text-light);
  margin-bottom: 20px;
  font-size: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 10px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-light);
  margin-bottom: 6px;
  font-weight: 600;
}

.form-control {
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  padding: 12px 15px;
  color: var(--text-dark);
  font-size: 14px;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.3);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.btn-primary {
  width: 100%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border: none;
  color: var(--primary-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(197, 168, 128, 0.4);
}

/* Page Layout Template */
.page-container {
  max-width: 100%;
  margin: 40px auto;
  padding: 0 36px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 36px;
  margin-top: 100px;
  width: 100%;
}

.full-width-container {
  max-width: 100%;
  margin: 40px auto;
  padding: 0 36px;
  margin-top: 100px;
  width: 100%;
}

.main-content {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 35px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.page-title {
  font-size: 36px;
  margin-bottom: 10px;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 15px;
  position: relative;
}

.page-subtitle {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 30px;
}

/* Sidebar Widgets */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.widget {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 25px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.widget-title {
  font-size: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Agent Card Widget */
.agent-card {
  text-align: center;
}

.agent-img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  margin: 0 auto 15px;
  border: 3px solid var(--accent);
  object-fit: cover;
  background-color: var(--primary);
  background-image: url('agent_headshot.png'), url('https://images.unsplash.com/photo-1573496359142-b8d87734a5a2?auto=format&fit=crop&w=300&q=80');
  background-size: cover;
  background-position: center top;
}

.agent-name {
  font-size: 20px;
  margin-bottom: 5px;
}

.agent-title {
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.agent-phone {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}

.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  transition: var(--transition);
}

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

/* Colorful Social Media Icons styling */
.social-icon[aria-label="Facebook"] {
  color: #1877F2;
  background-color: #E8F0FE;
}
.social-icon[aria-label="Facebook"]:hover {
  background-color: #1877F2;
  color: #FFFFFF;
}

.social-icon[aria-label="Instagram"] {
  color: #E1306C;
  background-color: #FDF0F5;
}
.social-icon[aria-label="Instagram"]:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #FFFFFF;
}

.social-icon[aria-label="YouTube"] {
  color: #FF0000;
  background-color: #FFEBEB;
}
.social-icon[aria-label="YouTube"]:hover {
  background-color: #FF0000;
  color: #FFFFFF;
}

.social-icon[aria-label="TikTok"] {
  color: #000000;
  background-color: #F1F1F1;
}
.social-icon[aria-label="TikTok"]:hover {
  background-color: #000000;
  color: #FFFFFF;
  box-shadow: -2px 2px 0 #00f2fe, 2px -2px 0 #fe0979; /* Glitch shadow effect */
}

.social-icon[aria-label="LinkedIn"] {
  color: #0A66C2;
  background-color: #E6F0FA;
}
.social-icon[aria-label="LinkedIn"]:hover {
  background-color: #0A66C2;
  color: #FFFFFF;
}

/* Mortgage Calculator Widget */
.calc-form .form-group label {
  color: var(--text-dark);
  font-size: 12px;
  font-weight: 600;
}

.calc-form .form-control {
  border: 1px solid var(--border-color);
  background: var(--bg-light);
}

.calc-result {
  margin-top: 20px;
  padding: 15px;
  background: rgba(197, 168, 128, 0.1);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  display: none;
}

.calc-result h4 {
  font-size: 14px;
  color: var(--text-dark);
  margin-bottom: 5px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
}

.calc-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
}

/* Properties Grid & Cards */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 20px;
}

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

.property-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.property-img-container {
  height: 220px;
  position: relative;
  background-color: var(--primary-dark);
  overflow: hidden;
}

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

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

.property-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--primary);
  color: var(--text-light);
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.property-price {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: rgba(15, 41, 66, 0.85);
  backdrop-filter: blur(8px);
  color: var(--text-light);
  padding: 6px 14px;
  font-size: 18px;
  font-weight: 700;
  border-radius: var(--radius-sm);
}

.property-details {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.property-address {
  font-size: 18px;
  font-family: 'Playfair Display', serif;
  margin-bottom: 5px;
  color: var(--primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.property-city {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.property-specs {
  display: flex;
  gap: 15px;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 10px 0;
  margin-bottom: 15px;
  font-size: 13px;
}

.property-specs span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
}

.property-specs strong {
  color: var(--text-dark);
}

.property-excerpt {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 44px;
}

.property-card-btn {
  width: 100%;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  color: var(--primary);
  font-weight: 600;
  padding: 10px 0;
  text-align: center;
  border-radius: var(--radius-sm);
  display: block;
  margin-top: auto;
  transition: var(--transition);
}

.property-card-btn:hover {
  background: var(--primary);
  color: var(--text-light);
  border-color: var(--primary);
}

/* Listings Search Bar Layout */
.listings-filter-bar {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
  align-items: end;
}

/* Interactive Details Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 21, 34, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  padding: 20px;
}

.modal.active {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: scale(0.9);
  transition: var(--transition);
}

.modal.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  font-size: 20px;
  box-shadow: var(--shadow-sm);
  color: var(--primary);
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--primary);
  color: var(--text-light);
}

.modal-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.modal-body {
  padding: 40px;
}

.modal-header-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 25px;
  margin-bottom: 25px;
}

.modal-title h2 {
  font-size: 32px;
  margin-bottom: 5px;
}

.modal-price-tag {
  font-size: 32px;
  font-weight: 700;
  color: var(--accent-dark);
}

.modal-specs-list {
  display: flex;
  gap: 25px;
  margin-bottom: 25px;
  font-size: 16px;
}

.modal-specs-list span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-description {
  margin-bottom: 30px;
  line-height: 1.8;
  font-size: 15px;
  color: #475569;
}

.modal-actions {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
}

/* Home Page Testimonial Section */
.testimonials-section {
  background: #FFFFFF; /* White background */
  color: var(--text-dark);
  padding: 80px 20px;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.testimonials-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 36px;
  width: 100%;
}

.testimonials-section h2 {
  color: var(--primary);
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 30px;
  width: 100%;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--bg-light); /* Soft light gray card background */
  border: 1px solid var(--border-color);
  padding: 35px 30px;
  border-radius: var(--radius-md);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.testimonial-stars {
  color: var(--accent-dark);
  font-size: 18px;
  margin-bottom: 15px;
}

.testimonial-text {
  font-size: 14px;
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.6;
  color: var(--text-dark);
}

.testimonial-author {
  font-weight: 600;
  color: var(--accent-dark);
  margin-top: auto;
}

/* Contact / Lead Inquiry Forms */
.lead-form-section {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  margin-top: 30px;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.lead-form .btn-primary {
  padding: 16px;
  font-size: 16px;
  margin-top: 10px;
}

/* Communities Widget Grid */
.communities-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.communities-list li a {
  display: block;
  padding: 6px 12px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  font-size: 13px;
  border: 1px solid var(--border-color);
  text-align: center;
}

.communities-list li a:hover {
  background: var(--primary);
  color: var(--text-light);
}

/* Footer Section */
footer {
  background: #FFFFFF;
  color: rgba(0, 0, 0, 0.7);
  padding: 80px 20px 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-grid {
  max-width: 100%;
  margin: 0 auto 60px auto;
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(320px, 1fr);
  gap: 60px;
  padding: 0 36px;
  width: 100%;
}

.footer-col h3 {
  color: #000000;
  font-size: 20px;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent);
}

.footer-col p {
  margin-bottom: 15px;
  font-size: 14px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: rgba(0, 0, 0, 0.7);
  font-size: 14px;
}

.footer-col ul li a:hover {
  color: #000000;
  padding-left: 5px;
}

.footer-bottom {
  max-width: 100%;
  margin: 0 auto;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 25px 36px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(0, 0, 0, 0.6);
  width: 100%;
}

.footer-bottom a {
  color: rgba(0, 0, 0, 0.5) !important;
  transition: var(--transition);
}

.footer-bottom a:hover {
  color: #000000 !important;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }
  .page-container {
    grid-template-columns: 1fr;
  }
  .lead-form-section {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 1150px) {
  .menu-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 75px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 75px);
    background: #FFFFFF; /* White mobile menu background */
    flex-direction: column;
    padding: 40px 20px;
    transition: var(--transition);
    align-items: stretch;
  }
  .nav-menu.active {
    left: 0;
  }
  .nav-item a {
    font-size: 18px;
    display: block;
    padding: 15px 0;
    text-align: center;
    color: #000000; /* Solid black links on mobile menu */
    border-bottom: 1px solid rgba(0, 0, 0, 0.08); /* Dark divider instead of light */
  }
  .nav-contact-btn {
    margin-top: 20px;
  }
  .hero-text h2 {
    font-size: 32px;
  }
  .page-title {
    font-size: 28px;
  }
  .modal-header-section {
    flex-direction: column;
    gap: 15px;
  }
  .modal-actions {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  #office-intro {
    grid-template-columns: 1fr !important;
    text-align: center;
    gap: 25px !important;
  }
  #office-intro .intro-photo-col {
    max-width: 320px;
    margin: 0 auto;
  }
}

/* Agents Grid & Team Roster */
.agents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 25px;
}

.team-agent-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 25px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-agent-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.team-agent-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid var(--accent);
  object-fit: cover;
  object-position: center top;
  margin-bottom: 15px;
  background-color: var(--primary);
}

.team-agent-name {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 4px;
}

.team-agent-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.team-agent-license {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 15px;
}

.team-agent-contact {
  font-size: 12.5px;
  color: var(--text-dark);
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  text-align: left;
  border-top: 1px solid var(--border-color);
  padding-top: 15px;
}

.team-agent-contact span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.team-agent-contact i {
  color: var(--accent-dark);
  width: 14px;
}

.team-agent-bio {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
  text-align: left;
  margin-top: 5px;
}

/* Admin Panel Styles */
.upload-zone:hover {
  background: rgba(197, 168, 128, 0.08) !important;
  border-color: var(--accent-dark) !important;
}

.admin-list-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-light);
  transition: var(--transition);
}

.admin-list-item:hover {
  border-color: var(--accent);
  background: var(--bg-card);
}

.admin-list-img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
}

.admin-list-details {
  flex: 1;
}

.admin-list-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

.admin-list-title {
  font-size: 11px;
  color: var(--text-muted);
}

.admin-list-actions {
  display: flex;
  gap: 8px;
}

.admin-action-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  font-size: 14px;
  transition: var(--transition);
}

.admin-action-btn.edit {
  color: var(--primary);
}

.admin-action-btn.edit:hover {
  color: var(--accent);
}

.admin-action-btn.delete {
  color: #EF4444;
}

.admin-action-btn.delete:hover {
  color: #DC2626;
}

/* Homepage Office Intro Two-Column Redesign */
#office-intro {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 50px;
}

#office-intro .intro-photo-col {
  max-width: 300px;
  width: 100%;
  justify-self: center;
}

#office-intro .intro-photo-col img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Careers & Recruiting Page Styles */
.careers-hero {
  padding: 140px 20px 80px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--text-light);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.careers-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(197, 168, 128, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.careers-hero h1 {
  font-size: 42px;
  color: var(--accent);
  margin-bottom: 15px;
}

.careers-hero p {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.9;
}

.careers-benefits-section {
  padding: 60px 36px;
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
}

.careers-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.career-benefit-card {
  background: var(--bg-card);
  padding: 30px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.career-benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.career-benefit-card i {
  font-size: 32px;
  color: var(--accent);
  margin-bottom: 20px;
}

.career-benefit-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--primary);
}

.career-benefit-card p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Medium screens navigation adjustment */
@media (min-width: 769px) and (max-width: 1200px) {
  .nav-menu {
    gap: 12px;
  }
  .nav-item a {
    font-size: 11px;
    letter-spacing: 0.5px;
    padding: 8px 2px;
  }
  .nav-contact-btn {
    padding: 8px 12px !important;
  }
}

.logo-link {
  display: flex;
  align-items: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--primary);
  letter-spacing: 0.5px;
  text-decoration: none;
}

.logo-link:hover {
  color: var(--accent);
}

.agent-logo-container {
  margin: 0 auto 20px auto;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.agent-widget-logo {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  opacity: 0.95;
}

/* Document Forms Page Styles */
.forms-hero {
  padding: 140px 20px 80px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--text-light);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.forms-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(197, 168, 128, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.forms-hero h1 {
  font-size: 42px;
  color: var(--accent);
  margin-bottom: 15px;
}

.forms-hero p {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.9;
}

.forms-section-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

@media (max-width: 768px) {
  .forms-section-container {
    grid-template-columns: 1fr;
  }
}

.form-category-block {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.form-category-block h3 {
  font-size: 24px;
  color: var(--primary);
  margin-bottom: 25px;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.document-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.document-link-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 20px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  text-decoration: none;
}

.document-link-item:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  background: #FFF;
  box-shadow: var(--shadow-sm);
}

.document-link-item i.file-icon {
  font-size: 24px;
  color: var(--accent-dark);
}

.document-info {
  flex: 1;
}

.document-title-text {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 2px;
}

.document-meta-text {
  font-size: 11.5px;
  color: var(--text-muted);
}

.document-download-btn {
  color: var(--accent-dark);
  font-size: 16px;
  transition: var(--transition);
}

.document-link-item:hover .document-download-btn {
  color: var(--primary);
  transform: translateX(3px);
}

/* Agent/Open House Resources Card */
.agent-resources-card {
  background: linear-gradient(135deg, var(--bg-card), var(--bg-light));
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  padding: 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  margin-bottom: 40px;
}

.agent-resources-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent);
}

.agent-resources-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.resources-card-content {
  display: flex;
  align-items: center;
  gap: 25px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.resources-icon-wrapper {
  background: rgba(197, 168, 128, 0.1);
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 28px;
}

.resources-text {
  flex: 1;
  min-width: 250px;
}

.resources-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--primary);
  margin-bottom: 6px;
}

.resources-text p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.resources-btn {
  width: auto;
  margin-top: 0;
  padding: 12px 25px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

/* ========================================================================== */
   11. Floating Chat Widget
   ========================================================================== */
.chat-widget {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 9999;
  font-family: 'Montserrat', sans-serif;
  opacity: 0;
  transform: translateY(100px) scale(0.8);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.chat-widget.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.chat-toggle-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid var(--accent);
  color: var(--accent);
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  position: relative;
  transition: var(--transition);
  outline: none;
}

.chat-toggle-btn:hover {
  transform: scale(1.08) translateY(-2px);
  background: var(--primary-dark);
  color: var(--accent-light);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.25);
}

.chat-notification-dot {
  position: absolute;
  top: 0;
  right: 0;
  width: 14px;
  height: 14px;
  background-color: #E11D48; /* Vibrant red notification dot */
  border-radius: 50%;
  border: 2px solid var(--primary);
  animation: pulseDot 2s infinite;
  display: none;
}

.chat-notification-dot.active {
  display: block;
}

@keyframes pulseDot {
  0% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.7);
  }
  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 8px rgba(225, 29, 72, 0);
  }
  100% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(225, 29, 72, 0);
  }
}

.chat-card {
  position: absolute;
  bottom: 75px;
  right: 0;
  width: 350px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
  transform-origin: bottom right;
}

.chat-widget.open .chat-card {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.chat-card-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 16px 20px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--accent);
}

.chat-card-agent {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-card-avatar-wrapper {
  position: relative;
  width: 42px;
  height: 42px;
}

.chat-card-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
  background-color: var(--primary-dark);
}

.chat-card-status-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 11px;
  height: 11px;
  background: #22C55E; /* Live active green */
  border: 2px solid var(--primary-dark);
  border-radius: 50%;
}

.chat-card-info h4 {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 2px;
  color: var(--accent-light);
}

.chat-card-info span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  gap: 4px;
}

.chat-card-close-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  transition: var(--transition);
}

.chat-card-close-btn:hover {
  color: var(--accent);
  transform: scale(1.1);
}

.chat-card-body {
  padding: 20px;
  max-height: 380px;
  overflow-y: auto;
  background: var(--bg-light);
}

.chat-card-msg {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}

.chat-card-msg-bubble {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 12px 16px;
  border-radius: 4px 16px 16px 16px;
  color: var(--text-dark);
  font-size: 13.5px;
  line-height: 1.5;
  box-shadow: var(--shadow-sm);
}

.chat-card-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
}

.chat-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
}

.chat-action-btn.sms-btn {
  background: var(--accent);
  color: var(--primary-dark);
  border: 1px solid var(--accent);
}

.chat-action-btn.sms-btn:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(197, 168, 128, 0.3);
}

.chat-action-btn.call-btn {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.chat-action-btn.call-btn:hover {
  background: var(--primary);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(15, 41, 66, 0.2);
}

/* Responsive adjustments for tiny displays */
@media (max-width: 400px) {
  .chat-card {
    width: calc(100vw - 40px);
    right: -10px;
  }
}

/* Hide third-party tracker widgets (Widgetbe, BDX, ShowingNew) */
iframe[src*="widgetbe.com"],
iframe[src*="showingnew.com"],
iframe[src*="newhomesource.com"],
iframe[src*="newhomesourceprofessional.com"],
iframe[src*="bdx.com"],
iframe[src*="bdxworld.com"],
iframe[src*="zondahome.com"],
iframe[name*="widgetCta"],
iframe[id*="widgetCta"],
[id*="widgetbe"],
[class*="widgetbe"],
[id*="showingnew"],
[class*="showingnew"],
[id*="bdx"],
[class*="bdx"],
[id*="newhomesource"],
[class*="newhomesource"],
[id^="cta"],
[class^="cta"],
[id*="ctaDesktop"],
[id*="ctaMobile"],
[class*="ctaDesktop"],
[class*="ctaMobile"],
[class*="ctaTransition"],
[class*="ctaClosed"],
[class*="ctaDefault"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
}


/* ==========================================================================
   Interactive Neighborhood Guides Styling
   ========================================================================== */

/* Hero Header */
.neighborhood-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 60px 40px;
  border-radius: var(--radius-lg);
  color: var(--text-light);
  text-align: center;
  margin-bottom: 40px;
  border: 1px solid rgba(197, 168, 128, 0.2);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.neighborhood-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(197, 168, 128, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.neighborhood-hero h1 {
  color: var(--accent);
  font-size: 42px;
  margin-bottom: 15px;
  font-family: 'Playfair Display', serif;
}

.neighborhood-hero p {
  font-size: 16px;
  max-width: 700px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 300;
  line-height: 1.6;
}

/* Regional Navigation Selector */
.region-selector {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.region-btn {
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  color: var(--primary);
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 600;
  padding: 12px 35px;
  border-radius: 40px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.region-btn:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.region-btn.active {
  background: var(--primary);
  color: var(--text-light);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

/* Sub Navigation Selector for Individual Neighborhoods */
.neighborhood-selector-container {
  background: var(--bg-card);
  padding: 10px;
  border-radius: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.neighborhood-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 24px;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition);
}

.neighborhood-btn:hover {
  color: var(--primary);
  background: rgba(15, 41, 66, 0.05);
}

.neighborhood-btn.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--primary-dark);
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(197, 168, 128, 0.2);
}

/* Neighborhood Content Cards & Animations */
.neighborhood-content-panel {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.neighborhood-content-panel.active {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  opacity: 1;
}

@media (max-width: 991px) {
  .neighborhood-content-panel.active {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.neighborhood-info-left {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.neighborhood-info-right {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* Luxury Stats Grid */
.neighborhood-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.neighborhood-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
}

.neighborhood-stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--primary);
}

.neighborhood-stat-icon {
  font-size: 24px;
  color: var(--accent-dark);
  margin-bottom: 10px;
}

.neighborhood-stat-value {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  font-family: 'Playfair Display', serif;
  margin-bottom: 5px;
}

.neighborhood-stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  font-weight: 600;
}

/* Narrative Card */
.neighborhood-card-narrative {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.neighborhood-card-narrative h2 {
  font-size: 28px;
  margin-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
}

.neighborhood-card-narrative p {
  font-size: 15px;
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 15px;
}

/* Feature Bullet Lists */
.features-list-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 25px;
  box-shadow: var(--shadow-sm);
}

.features-list-card h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: var(--primary);
}

.features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.features-list li {
  font-size: 14.5px;
  position: relative;
  padding-left: 28px;
  color: var(--text-dark);
}

.features-list li i {
  position: absolute;
  left: 0;
  top: 4px;
  color: var(--accent-dark);
  font-size: 15px;
}

/* Commute Matrix Widget */
.commute-matrix-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 25px;
  box-shadow: var(--shadow-sm);
}

.commute-matrix-card h3 {
  font-size: 18px;
  margin-bottom: 15px;
}

.commute-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px dashed var(--border-color);
}

.commute-row:last-child {
  border-bottom: none;
}

.commute-destination {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.commute-time-badge {
  background: var(--bg-light);
  color: var(--primary);
  border: 1px solid var(--border-color);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
}

.commute-method {
  font-size: 11px;
  color: var(--text-muted);
}

/* Comparison Matrix Section */
.comparison-section {
  margin-top: 60px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  box-shadow: var(--shadow-md);
}

.comparison-section h2 {
  font-size: 28px;
  text-align: center;
  margin-bottom: 15px;
}

.comparison-section p {
  text-align: center;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 30px auto;
  font-size: 14px;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 800px;
}

.comparison-table th {
  background: var(--primary);
  color: var(--text-light);
  font-family: 'Playfair Display', serif;
  font-size: 14.5px;
  font-weight: 600;
  padding: 15px 20px;
  border-bottom: 2px solid var(--accent);
}

.comparison-table td {
  padding: 15px 20px;
  border-bottom: 1px solid var(--border-color);
  font-size: 14px;
  color: var(--text-dark);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:nth-child(even) {
  background: var(--bg-light);
}

.comparison-table tr:hover {
  background: rgba(197, 168, 128, 0.05);
}

.comparison-table .bullet-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 30px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.comparison-table .badge-queens {
  background: rgba(15, 41, 66, 0.1);
  color: var(--primary);
}

.comparison-table .badge-li {
  background: rgba(197, 168, 128, 0.25);
  color: var(--accent-dark);
}

/* Call to Action Grid Section */
.neighborhood-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-top: 50px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

@media (max-width: 850px) {
  .neighborhood-cta {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px 20px;
  }
}

.neighborhood-cta-text h3 {
  color: white;
  font-size: 32px;
  margin-bottom: 15px;
}

.neighborhood-cta-text p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  line-height: 1.6;
}

.neighborhood-cta-form {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 25px;
}

/* ==========================================================================
   Global Full-Screen & Reactive UI Dashboard Framework
   ========================================================================== */

.admin-full-wrapper {
  min-height: 100vh;
  width: 100%;
  padding: 24px 32px;
  box-sizing: border-box;
  background: #f1f5f9;
}

.main-content-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

/* Fluid Page Header Card */
.page-header-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  padding: 24px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 24px;
}

.page-title {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--primary);
  font-size: 28px;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.3px;
}

.page-subtitle {
  color: var(--text-muted);
  font-size: 13.5px;
  margin: 5px 0 0 0;
}

/* Full Width Directory / Data Card */
.directory-card, .dashboard-container-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  padding: 24px 30px;
  width: 100%;
  box-sizing: border-box;
}

/* Reactive Sticky-Header Table Wrapper */
.table-responsive-wrapper {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: #ffffff;
  max-height: calc(100vh - 300px);
  min-height: 400px;
  overflow-y: auto;
  position: relative;
}

/* Reactive Filter Toolbar */
.filter-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1.5px solid var(--border-color);
}

.filter-search-group {
  position: relative;
  flex: 1 1 360px;
  min-width: 260px;
}

.filter-search-group i.search-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 15px;
  pointer-events: none;
}

.filter-search-group input {
  width: 100%;
  padding: 11px 40px 11px 42px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 14px;
  outline: none;
  transition: var(--transition);
  box-sizing: border-box;
  background: #ffffff;
}

.filter-search-group input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.18);
}

.filter-search-group .clear-search-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px;
  display: none;
  font-size: 15px;
}

.filter-selects-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.filter-select {
  padding: 10px 14px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 13.5px;
  outline: none;
  background: #ffffff;
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
}

.filter-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.18);
}

/* Quick Filter Chips (1-Click Reactive Toggles) */
.quick-chips-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 16px;
}

.quick-chip {
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  border-radius: 20px;
  padding: 5px 13px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.quick-chip:hover {
  background: #f8fafc;
  color: var(--primary);
  border-color: #cbd5e1;
}

.quick-chip.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.filter-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 10px;
}

.results-count-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--primary);
  font-size: 13.5px;
}

.reset-filters-btn {
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.reset-filters-btn:hover {
  background: #f1f5f9;
  color: #ef4444;
  border-color: #fca5a5;
}

/* Badges & Tags */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 6px;
  line-height: 1.3;
}

.badge-active {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.badge-inactive {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.badge-type {
  background: rgba(15, 41, 66, 0.06);
  color: var(--primary);
  border: 1px solid rgba(15, 41, 66, 0.12);
}

.badge-pref {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
}

.badge-lang {
  background: #fdf4ff;
  color: #9333ea;
  border: 1px solid #f0abfc;
}

/* Action Buttons */
.action-btn {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  color: var(--primary);
  cursor: pointer;
  font-size: 13px;
  padding: 7px 11px;
  border-radius: var(--radius-sm);
  margin-left: 5px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.action-btn:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.action-btn.delete {
  color: #ef4444;
  border-color: #fee2e2;
}

.action-btn.delete:hover {
  background: #ef4444;
  color: #ffffff;
  border-color: #ef4444;
}

/* Dashboard Tool Card Micro-Animations */
.dashboard-card {
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s ease;
}

.dashboard-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg) !important;
  border-color: rgba(197, 168, 128, 0.5) !important;
}

@media (max-width: 1024px) {
  .admin-full-wrapper {
    padding: 16px 20px;
  }
}

@media (max-width: 768px) {
  .admin-full-wrapper {
    padding: 12px 10px;
  }
  .filter-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .filter-selects-group {
    width: 100%;
  }
  .filter-select {
    flex: 1;
  }
}

