/* ==========================================================================
   ESTATE MANTRAA - COMPONENTS STYLESHEET
   Property Cards, Search Widgets, Modals, Forms, Tabs, Badges & Interactive UI
   ========================================================================== */

/* ==========================================================================
   HERO SEARCH PANEL
   ========================================================================== */
.hero-search-panel {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 24px 30px 30px;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(15, 27, 51, 0.05);
  max-width: 1040px;
  margin: 0 auto;
  color: var(--text-main);
  text-align: left;
}

.search-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 16px;
}

.search-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  background: var(--bg-subtle);
  color: var(--brand-navy);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.search-tab-btn:hover {
  background: rgba(0, 188, 212, 0.1);
  color: var(--brand-cyan-dark);
}

.search-tab-btn.active {
  background: var(--brand-navy);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.search-form-grid {
  display: grid;
  grid-template-columns: 1.5fr 1.2fr 1.1fr 1fr auto;
  gap: 16px;
  align-items: flex-end;
}

.search-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.search-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.search-label i {
  color: var(--brand-cyan-dark);
}

.search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input, .search-select {
  width: 100%;
  height: 48px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  background: #ffffff;
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 500;
  transition: all var(--transition-fast);
  outline: none;
}

.search-input:focus, .search-select:focus {
  border-color: var(--brand-cyan-dark);
  box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.15);
}

.search-select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
  padding-right: 36px;
  cursor: pointer;
}

/* ==========================================================================
   CATEGORY CARDS
   ========================================================================== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  height: 220px;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-cyan);
}

.category-card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

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

.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 27, 51, 0.2) 0%, rgba(15, 27, 51, 0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  color: #ffffff;
  z-index: 1;
}

.category-card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 10px;
  transition: all var(--transition-fast);
}

.category-card:hover .category-card-icon {
  background: var(--grad-cta);
  transform: scale(1.1);
}

.category-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.category-card-count {
  font-size: 0.8rem;
  color: #cbd5e1;
  font-weight: 500;
}

/* ==========================================================================
   PROPERTY CARDS (MASTER GRID & LIST)
   ========================================================================== */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.property-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}

.property-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(0, 188, 212, 0.4);
}

.property-img-wrapper {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: #e2e8f0;
}

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

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

.property-badges-top {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  z-index: 2;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
}

.badge-featured {
  background: var(--grad-cta);
  color: #ffffff;
}

.badge-verified {
  background: #0284c7;
  color: #ffffff;
}

.badge-sale {
  background: var(--brand-navy);
  color: #ffffff;
}

.badge-rent {
  background: var(--brand-purple);
  color: #ffffff;
}

.badge-rera {
  background: #059669;
  color: #ffffff;
}

.btn-shortlist-heart {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: none;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 2;
  box-shadow: var(--shadow-sm);
}

.btn-shortlist-heart:hover {
  background: #ffffff;
  color: var(--brand-magenta);
  transform: scale(1.15);
}

.btn-shortlist-heart.active {
  background: #ffffff;
  color: var(--brand-magenta);
  box-shadow: 0 0 10px rgba(233, 30, 99, 0.4);
}

.btn-shortlist-heart.active i {
  font-weight: 900;
}

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

.property-price-wrap {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}

.property-price {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--brand-orange);
  font-family: var(--font-heading);
}

.property-status-tag {
  font-size: 0.775rem;
  font-weight: 600;
  color: var(--brand-cyan-dark);
  background: rgba(0, 188, 212, 0.08);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.property-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 6px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.property-title a:hover {
  color: var(--brand-cyan-dark);
}

.property-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.property-location i {
  color: var(--brand-magenta);
  font-size: 0.9rem;
}

.property-specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 18px;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-navy);
}

.spec-item i {
  color: var(--brand-cyan);
  font-size: 0.95rem;
}

.property-card-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.property-card-actions .btn {
  flex: 1;
}

/* ==========================================================================
   WHY CHOOSE US / TRUST SECTION
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.why-card {
  background: #ffffff;
  padding: 36px 30px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--brand-cyan);
}

.why-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(0, 188, 212, 0.12) 0%, rgba(123, 31, 162, 0.12) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--brand-cyan-dark);
  margin-bottom: 22px;
  transition: all var(--transition-fast);
}

.why-card:hover .why-icon-wrap {
  background: var(--grad-cta);
  color: #ffffff;
  transform: rotate(6deg) scale(1.05);
}

.why-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 10px;
}

.why-card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   STATS COUNTERS
   ========================================================================== */
.stats-banner {
  background: var(--grad-estate);
  color: #ffffff;
  padding: 50px 0;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 0 16px;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.stat-number {
  font-size: clamp(2.2rem, 3.8vw, 3rem);
  font-weight: 900;
  font-family: var(--font-heading);
  background: linear-gradient(135deg, #ffffff 0%, #ffd54f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.95rem;
  color: #cbd5e1;
  font-weight: 500;
}

/* ==========================================================================
   FILTER SIDEBAR & CONTROLS (FOR PROPERTIES.HTML)
   ========================================================================== */
.filter-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 32px;
  align-items: flex-start;
}

.filter-sidebar {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 96px;
}

.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 20px;
}

.filter-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-navy);
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-reset-filters {
  background: none;
  border: none;
  color: var(--brand-magenta);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.filter-group {
  margin-bottom: 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

.filter-group:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.filter-group-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-checkbox-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.custom-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-main);
  user-select: none;
}

.custom-checkbox input {
  width: 17px;
  height: 17px;
  accent-color: var(--brand-orange);
  cursor: pointer;
}

.filter-results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  background: #ffffff;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.results-count {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}

.results-count strong {
  color: var(--brand-navy);
}

.sort-and-view {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ==========================================================================
   PROPERTY DETAIL PAGE GALLERY & LIGHTBOX
   ========================================================================== */
.detail-gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 14px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 40px;
  position: relative;
}

.gallery-main {
  grid-row: span 2;
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.gallery-sub {
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.gallery-main:hover .gallery-img, .gallery-sub:hover .gallery-img {
  transform: scale(1.04);
}

.btn-view-all-photos {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(15, 27, 51, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.btn-view-all-photos:hover {
  background: var(--grad-cta);
  border-color: transparent;
  transform: translateY(-2px);
}

/* Lightbox Modal System */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(7, 21, 47, 0.96);
  z-index: 25000;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 20px;
  user-select: none;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 92vw;
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 88vw;
  max-height: 78vh;
  border-radius: var(--radius-lg);
  object-fit: contain;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  transition: transform 0.2s ease;
}

.lightbox-close, .lightbox-close-btn, #lightboxClose {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 25005;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lightbox-prev, .lightbox-nav-btn.prev, #lightboxPrev {
  position: fixed;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 25005;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lightbox-next, .lightbox-nav-btn.next, #lightboxNext {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 25005;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lightbox-close:hover, .lightbox-close-btn:hover, #lightboxClose:hover {
  background: var(--grad-cta);
  border-color: transparent;
  transform: scale(1.08);
}

.lightbox-prev:hover, .lightbox-nav-btn.prev:hover, #lightboxPrev:hover,
.lightbox-next:hover, .lightbox-nav-btn.next:hover, #lightboxNext:hover {
  background: var(--grad-cta);
  border-color: transparent;
  transform: translateY(-50%) scale(1.08);
}

#lightboxCounter, .lightbox-counter {
  color: #ffffff;
  margin-top: 14px;
  font-weight: 600;
  font-size: 0.95rem;
  background: rgba(0, 0, 0, 0.65);
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   PROPERTY DETAIL LAYOUT & COMPONENTS
   ========================================================================== */
.property-detail-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: flex-start;
}

.detail-header-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
}

.detail-title {
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  font-weight: 800;
  color: var(--brand-navy);
  margin: 6px 0 10px;
  line-height: 1.25;
  font-family: var(--font-heading);
}

.detail-location {
  font-size: 1.02rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.detail-price {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 900;
  color: var(--brand-orange);
  font-family: var(--font-heading);
  line-height: 1.1;
  white-space: nowrap;
}

.detail-price-sqft {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 4px;
  text-align: right;
}

/* ==========================================================================
   PROPERTY SPECIFICATIONS CAROUSEL & CARDS
   ========================================================================== */
.specs-carousel-container {
  position: relative;
  width: 100%;
  margin-bottom: 36px;
  display: flex;
  align-items: center;
}

.specs-carousel-viewport {
  width: 100%;
  overflow: hidden;
  position: relative;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  padding: 4px 0;
  mask-image: linear-gradient(to right, transparent, black 16px, black calc(100% - 16px), transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 16px, black calc(100% - 16px), transparent);
}

.specs-carousel-viewport:active {
  cursor: grabbing;
}

.detail-specs-bar.specs-carousel-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 14px;
  width: max-content;
  margin-bottom: 0;
  will-change: transform;
}

.specs-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
  color: var(--brand-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
  opacity: 0.9;
}

.specs-carousel-arrow:hover {
  background: var(--brand-navy);
  color: #ffffff;
  border-color: var(--brand-navy);
  opacity: 1;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.2);
}

.specs-arrow-prev {
  left: -16px;
}

.specs-arrow-next {
  right: -16px;
}

@media (max-width: 768px) {
  .specs-carousel-arrow {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }
  .specs-arrow-prev {
    left: -8px;
  }
  .specs-arrow-next {
    right: -8px;
  }
}

.spec-highlight-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  flex: 0 0 220px;
  width: 220px;
  min-width: 220px;
  user-select: none;
}

.spec-highlight-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-cyan);
}

@media (max-width: 768px) {
  .spec-highlight-card {
    flex: 0 0 200px;
    width: 200px;
    min-width: 200px;
    padding: 14px;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .spec-highlight-card {
    flex: 0 0 185px;
    width: 185px;
    min-width: 185px;
    padding: 12px 14px;
    gap: 10px;
  }
}

.spec-highlight-card .spec-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(14, 165, 233, 0.1);
  color: var(--brand-cyan-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.spec-highlight-card .spec-text-box {
  min-width: 0;
}

.spec-highlight-card .spec-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
  display: block;
}

.spec-highlight-card strong {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-navy);
  display: block;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.detail-section-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 30px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
}

.detail-section-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 10px;
}

.detail-section-title i {
  color: var(--brand-cyan-dark);
}

.detail-desc-text {
  font-size: 1rem;
  color: var(--text-main);
  line-height: 1.7;
  margin: 0;
}

.detail-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 32px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  margin-bottom: 32px;
}

.detail-card-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 10px;
}

.detail-card-title i {
  color: var(--brand-cyan-dark);
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.amenity-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand-navy);
  transition: all var(--transition-fast);
}

.amenity-pill i {
  color: var(--brand-cyan-dark);
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
}

.amenity-pill:hover {
  background: #ffffff;
  border-color: var(--brand-cyan);
  box-shadow: var(--shadow-sm);
  color: var(--brand-orange);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table tr {
  border-bottom: 1px solid var(--border-light);
}

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

.specs-table th {
  text-align: left;
  padding: 12px 0;
  color: var(--text-muted);
  font-weight: 500;
  width: 40%;
  font-size: 0.95rem;
}

.specs-table td {
  padding: 12px 0;
  color: var(--brand-navy);
  font-weight: 600;
  font-size: 0.95rem;
}

.calc-result-box {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 22px;
  text-align: center;
  margin-top: 20px;
  box-shadow: var(--shadow-md);
}

.calc-emi-amount {
  font-size: 2.2rem;
  font-weight: 900;
  color: #38bdf8;
  font-family: var(--font-heading);
  margin: 6px 0;
}

/* Sticky Contact Agent Sidebar Card */
.contact-agent-sidebar {
  position: sticky;
  top: 96px;
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 30px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   FORMS & ENQUIRY INPUTS
   ========================================================================== */
.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-navy);
  margin-bottom: 6px;
}

.form-label span.req {
  color: var(--brand-magenta);
}

.form-control {
  width: 100%;
  height: 46px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  background: #ffffff;
  color: var(--text-main);
  font-size: 0.95rem;
  outline: none;
  transition: all var(--transition-fast);
}

textarea.form-control {
  height: auto;
  min-height: 100px;
  resize: vertical;
}

.form-control:focus {
  border-color: var(--brand-cyan-dark);
  box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.15);
}

/* Modal Popup Framework */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 27, 51, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 20000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-backdrop.active {
  display: flex;
}

.modal-dialog {
  background: #ffffff;
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.35);
  animation: modalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--border-light);
  overflow: hidden;
  position: relative;
}

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

.modal-header {
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  background: #ffffff;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin: 0;
  display: flex;
  align-items: center;
}

.modal-close {
  background: var(--bg-subtle);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.modal-close:hover {
  background: #fee2e2;
  color: #ef4444;
}

.modal-body {
  padding: 20px 24px 24px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1 1 auto;
  max-height: calc(90vh - 75px);
}

/* ==========================================================================
   NEW PROJECT LAUNCH FLOATING NOTIFICATION POPUP
   ========================================================================== */
.new-project-popup {
  position: fixed;
  bottom: 100px;
  right: 24px;
  z-index: 1400;
  max-width: 320px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.16), 0 0 0 1px rgba(226, 232, 240, 0.9);
  border: 1px solid #e2e8f0;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), opacity 0.3s ease;
  animation: floatNotification 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.new-project-popup:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.22);
}

.new-project-popup.dismissed {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.95);
}

.new-project-popup-inner {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.new-project-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.new-project-live-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: #ecfeff;
  color: var(--brand-cyan-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  border: 1px solid rgba(0, 188, 212, 0.3);
}

.new-project-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  width: 22px;
  height: 22px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.new-project-close-btn:hover {
  background: #fee2e2;
  color: #ef4444;
}

.new-project-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.new-project-icon-box {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #07152f 0%, #0a2558 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00bcd4;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.new-project-details {
  flex: 1;
  min-width: 0;
}

.new-project-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin: 0 0 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.new-project-subtitle {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0 0 4px;
  line-height: 1.3;
}

.new-project-link-text {
  font-size: 0.78rem;
  font-weight: 700;
  color: #0284c7;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

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

/* ==========================================================================
   FLOATING WHATSAPP BUTTON & CHAT LAUNCHER
   ========================================================================== */
.whatsapp-floating-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  z-index: 1500;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
}

.whatsapp-floating-btn:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
  color: #ffffff;
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: var(--brand-navy);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-md);
}

.whatsapp-floating-btn:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ==========================================================================
   TOAST NOTIFICATION SYSTEM
   ========================================================================== */
.toast-container {
  position: fixed;
  top: 90px;
  right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  color: var(--brand-navy);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--brand-cyan);
  box-shadow: var(--shadow-xl);
  font-size: 0.95rem;
  font-weight: 600;
  min-width: 300px;
  max-width: 420px;
  animation: toastSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transition: all 0.3s ease;
}

.toast.success { border-left-color: #10b981; }
.toast.info { border-left-color: var(--brand-cyan); }
.toast.warning { border-left-color: var(--brand-orange); }

@keyframes toastSlideIn {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ==========================================================================
   EMI LOAN CALCULATOR WIDGET
   ========================================================================== */
.calculator-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 32px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.calc-result-box {
  background: var(--grad-estate);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  margin-top: 24px;
}

.calc-emi-amount {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffd54f;
  font-family: var(--font-heading);
  margin: 6px 0;
}

/* ==========================================================================
   ESTATE MANTRAA FLOATING AI CHAT ASSISTANT
   ========================================================================== */
.ai-assistant-root {
  position: relative;
  z-index: 1600;
}

/* Floating Trigger Button (Bottom-Left) */
.ai-floating-btn {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 62px;
  height: 62px;
  border-radius: var(--radius-full);
  background: var(--brand-navy);
  border: none;
  cursor: pointer;
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.35), 0 0 0 2px rgba(14, 165, 233, 0.4);
  transition: all var(--transition-normal);
  padding: 3px;
  text-decoration: none;
}

.ai-floating-btn::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #0ea5e9, #6366f1, #e11d48);
  z-index: -1;
  opacity: 0.85;
  animation: aiRingPulse 3s infinite linear;
}

@keyframes aiRingPulse {
  0% { transform: rotate(0deg); opacity: 0.7; }
  50% { opacity: 1; filter: blur(1px); }
  100% { transform: rotate(360deg); opacity: 0.7; }
}

.ai-floating-btn-inner {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-full);
  background: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: #ffffff;
}

.ai-btn-icon {
  font-size: 1.5rem;
  background: linear-gradient(135deg, #38bdf8, #a855f7, #f43f5e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: transform var(--transition-fast);
}

.ai-floating-btn:hover {
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 16px 36px rgba(14, 165, 233, 0.45);
}

.ai-floating-btn:hover .ai-btn-icon {
  transform: scale(1.15) rotate(10deg);
}

.ai-floating-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: linear-gradient(135deg, #0ea5e9, #4f46e5);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: var(--radius-full);
  border: 2px solid #0f172a;
  display: flex;
  align-items: center;
  gap: 3px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.ai-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
  animation: aiDotPulse 1.8s infinite;
}

@keyframes aiDotPulse {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.ai-floating-tooltip {
  position: absolute;
  left: 74px;
  background: var(--brand-navy);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-10px);
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 6px;
  border-left: 3px solid var(--brand-cyan);
}

.ai-floating-btn:hover .ai-floating-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Chat Window Modal (Bottom-Left) */
.ai-chat-window {
  position: fixed;
  bottom: 102px;
  left: 30px;
  width: 430px;
  max-width: calc(100vw - 40px);
  height: 640px;
  max-height: calc(100vh - 125px);
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.28), 0 0 0 1px rgba(226, 232, 240, 0.9);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(24px) scale(0.95);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1550;
  font-family: var(--font-body);
}

.ai-chat-window.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* Header */
.ai-chat-header {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.ai-chat-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #0ea5e9, #6366f1, #e11d48);
}

.ai-header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ai-header-avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0ea5e9, #4f46e5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #ffffff;
  position: relative;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.4);
}

.ai-online-indicator {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid #0f172a;
}

.ai-header-titles {
  display: flex;
  flex-direction: column;
}

.ai-header-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
}

.ai-header-status {
  font-size: 0.75rem;
  color: #94a3b8;
  margin: 2px 0 0;
  display: flex;
  align-items: center;
  gap: 5px;
}

.ai-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
}

.ai-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ai-header-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #e2e8f0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 0.9rem;
}

.ai-header-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transform: scale(1.05);
}

/* Quick Action Chips Bar */
.ai-quick-chips-bar {
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
  padding: 8px 12px;
  overflow: hidden;
}

.ai-chips-scroll {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
}

.ai-chips-scroll::-webkit-scrollbar {
  display: none;
}

.ai-quick-chip {
  flex-shrink: 0;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: var(--brand-navy);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.ai-quick-chip i {
  color: var(--brand-cyan);
  font-size: 0.8rem;
}

.ai-quick-chip:hover {
  background: var(--brand-navy);
  color: #ffffff;
  border-color: var(--brand-navy);
  transform: translateY(-1px);
}

.ai-quick-chip:hover i {
  color: #38bdf8;
}

/* Chat Messages Stream */
.ai-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #f8fafc;
  scroll-behavior: smooth;
}

.ai-msg {
  display: flex;
  gap: 10px;
  max-width: 100%;
  animation: aiMsgIn 0.25s ease-out;
}

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

.ai-msg-avatar {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0ea5e9, #4f46e5);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.ai-msg-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: calc(100% - 42px);
}

.ai-msg-bot .ai-msg-bubble {
  background: #ffffff;
  color: #1e293b;
  border: 1px solid #e2e8f0;
  border-radius: 4px 16px 16px 16px;
  padding: 12px 14px;
  font-size: 0.88rem;
  line-height: 1.5;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.ai-msg-user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.ai-msg-user .ai-msg-content {
  align-items: flex-end;
  max-width: 85%;
}

.ai-msg-user .ai-msg-bubble {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border-radius: 16px 4px 16px 16px;
  padding: 10px 14px;
  font-size: 0.88rem;
  line-height: 1.45;
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.2);
}

.ai-msg-bubble p {
  margin: 0 0 6px 0;
}

.ai-msg-bubble p:last-child {
  margin-bottom: 0;
}

.ai-msg-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  background: #f1f5f9;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  margin-top: 8px !important;
  border-left: 3px solid var(--brand-cyan);
}

.ai-msg-time {
  font-size: 0.68rem;
  color: #94a3b8;
  padding: 0 4px;
}

/* Typing Indicator */
.ai-typing-container {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 4px 16px 10px;
  background: #f8fafc;
}

.ai-typing-bubble {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 4px 14px 14px 14px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.ai-typing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #64748b;
  animation: aiTypingBounce 1.4s infinite ease-in-out;
}

.ai-typing-dot:nth-child(2) { animation-delay: 0.2s; }
.ai-typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes aiTypingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-5px); opacity: 1; }
}

/* Property Cards Inside Chat */
.ai-property-cards-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

.ai-prop-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
  transition: all var(--transition-fast);
}

.ai-prop-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.ai-prop-img-wrap {
  position: relative;
  width: 100%;
  height: 140px;
  background: #0f172a;
}

.ai-prop-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ai-prop-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  color: #38bdf8;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.ai-prop-heart-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  border: none;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: all var(--transition-fast);
}

.ai-prop-heart-btn.active {
  color: #ef4444;
  background: #fee2e2;
}

.ai-prop-info {
  padding: 12px;
}

.ai-prop-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.ai-prop-price {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brand-navy);
}

.ai-prop-type-tag {
  background: #e0f2fe;
  color: #0369a1;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.ai-prop-title {
  font-size: 0.92rem;
  font-weight: 700;
  margin: 0 0 4px 0;
  line-height: 1.3;
}

.ai-prop-title a {
  color: var(--brand-navy);
  text-decoration: none;
}

.ai-prop-title a:hover {
  color: var(--brand-cyan);
}

.ai-prop-loc {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0 0 8px 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.ai-prop-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.75rem;
  color: #475569;
  padding: 6px 0;
  border-top: 1px dashed #e2e8f0;
  border-bottom: 1px dashed #e2e8f0;
  margin-bottom: 10px;
}

.ai-prop-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.ai-btn-action {
  font-size: 0.76rem;
  font-weight: 600;
  padding: 6px 8px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-decoration: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.ai-btn-view {
  background: #f1f5f9;
  color: var(--brand-navy);
  border: 1px solid #cbd5e1;
}

.ai-btn-view:hover {
  background: var(--brand-navy);
  color: #ffffff;
}

.ai-btn-compare {
  background: #ede9fe;
  color: #5b21b6;
}

.ai-btn-compare:hover {
  background: #ddd6fe;
}

.ai-btn-visit {
  background: #e0f2fe;
  color: #0369a1;
}

.ai-btn-visit:hover {
  background: #bae6fd;
}

.ai-btn-wa {
  background: #25d366;
  color: #ffffff;
}

.ai-btn-wa:hover {
  background: #1eb957;
  color: #ffffff;
}

/* Wizard Options */
.ai-wizard-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ai-wizard-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 6px;
}

.ai-opt-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: var(--brand-navy);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.ai-opt-btn:hover {
  background: #f0f9ff;
  border-color: var(--brand-cyan);
  color: var(--brand-navy);
  transform: translateX(3px);
}

/* Checklist */
.ai-checklist {
  list-style: none;
  padding: 0;
  margin: 8px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.84rem;
}

.ai-button-row, .ai-post-search-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.ai-btn-sm {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: var(--brand-navy);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.ai-btn-sm:hover {
  background: var(--brand-navy);
  color: #ffffff;
  border-color: var(--brand-navy);
}

.ai-btn-accent {
  background: linear-gradient(135deg, #0ea5e9, #4f46e5);
  color: #ffffff;
  border: none;
}

.ai-btn-accent:hover {
  background: linear-gradient(135deg, #0284c7, #4338ca);
  color: #ffffff;
}

/* Comparison Matrix */
.ai-compare-container {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ai-compare-table-wrap {
  overflow-x: auto;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  background: #ffffff;
}

.ai-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.76rem;
  text-align: left;
}

.ai-compare-table th, .ai-compare-table td {
  padding: 8px 10px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

.ai-compare-table th {
  background: #f8fafc;
  color: var(--brand-navy);
  font-weight: 700;
  white-space: nowrap;
}

.ai-cell-highlight {
  color: #0369a1;
  font-weight: 700;
}

.ai-tag-status {
  background: #dcfce7;
  color: #166534;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.ai-compare-verdict {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-md);
  padding: 10px 12px;
  font-size: 0.82rem;
  line-height: 1.4;
  color: #166534;
}

/* EMI Calculator Widget */
.ai-emi-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px;
  margin-top: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.ai-emi-head, .ai-locality-head, .ai-lead-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--brand-navy);
}

.ai-emi-head h4, .ai-locality-head h4, .ai-lead-head h4 {
  margin: 0;
  font-size: 0.96rem;
  font-family: var(--font-heading);
  font-weight: 700;
}

.ai-emi-sliders {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}

.ai-emi-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ai-emi-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #475569;
}

.ai-emi-field input[type="range"] {
  width: 100%;
  accent-color: var(--brand-cyan);
  cursor: pointer;
}

.ai-emi-result-box {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 12px;
  text-align: center;
  margin-bottom: 8px;
}

.ai-emi-monthly-label {
  font-size: 0.75rem;
  color: #94a3b8;
  display: block;
}

.ai-emi-monthly-val {
  font-size: 1.5rem;
  font-weight: 800;
  color: #38bdf8;
  font-family: var(--font-heading);
  display: block;
  margin: 2px 0;
}

.ai-emi-breakdown-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 8px;
  margin-top: 6px;
  font-size: 0.75rem;
}

.ai-emi-breakdown-row span {
  color: #94a3b8;
  display: block;
}

.ai-emi-breakdown-row strong {
  color: #ffffff;
}

.ai-emi-disclaimer {
  display: flex;
  gap: 6px;
  font-size: 0.72rem;
  color: #64748b;
  line-height: 1.35;
  background: #f8fafc;
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
}

.ai-emi-disclaimer i {
  color: #f59e0b;
  margin-top: 2px;
  flex-shrink: 0;
}

.ai-emi-action-row {
  display: flex;
  justify-content: center;
}

/* Locality Guide */
.ai-locality-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px;
  margin-top: 6px;
}

.ai-locality-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}

.ai-stat-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 8px;
  text-align: center;
}

.ai-stat-label {
  font-size: 0.72rem;
  color: #64748b;
  display: block;
}

.ai-stat-val {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-navy);
}

.ai-locality-details {
  font-size: 0.82rem;
  line-height: 1.45;
  color: #334155;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}

/* In-Chat Forms (Site Visit / Callback) */
.ai-lead-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px;
  margin-top: 6px;
}

.ai-lead-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0 0 12px 0;
  line-height: 1.35;
}

.ai-inchat-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ai-form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ai-form-group label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #475569;
}

.ai-form-input, .ai-form-select {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  color: var(--brand-navy);
  background: #ffffff;
  outline: none;
  transition: border-color var(--transition-fast);
}

.ai-form-input:focus, .ai-form-select:focus {
  border-color: var(--brand-cyan);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

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

.ai-btn-submit {
  background: linear-gradient(135deg, #0ea5e9, #4f46e5);
  color: #ffffff;
  border: none;
  padding: 10px;
  border-radius: var(--radius-md);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all var(--transition-fast);
  margin-top: 4px;
}

.ai-btn-submit:hover {
  background: linear-gradient(135deg, #0284c7, #4338ca);
  transform: translateY(-1px);
}

.ai-success-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  padding: 14px;
  text-align: center;
  color: #166534;
}

.ai-success-icon {
  font-size: 2rem;
  color: #22c55e;
  margin-bottom: 6px;
}

.ai-success-box h4 {
  margin: 0 0 6px 0;
  font-size: 1rem;
}

.ai-success-box p {
  font-size: 0.82rem;
  line-height: 1.4;
  margin: 0 0 10px 0;
}

.ai-empty-shortlist {
  text-align: center;
  padding: 12px 0;
}

.ai-empty-icon {
  font-size: 2.2rem;
  color: #cbd5e1;
  margin-bottom: 6px;
}

/* Footer Input */
.ai-chat-footer {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ai-input-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-full);
  padding: 4px 6px 4px 14px;
  transition: all var(--transition-fast);
}

.ai-input-wrapper:focus-within {
  background: #ffffff;
  border-color: var(--brand-cyan);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

.ai-chat-input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.86rem;
  color: var(--brand-navy);
  padding: 6px 0;
}

.ai-chat-input::placeholder {
  color: #94a3b8;
  font-size: 0.82rem;
}

.ai-chat-send-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0ea5e9, #4f46e5);
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.ai-chat-send-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 3px 10px rgba(14, 165, 233, 0.4);
}

.ai-footer-note {
  font-size: 0.68rem;
  color: #94a3b8;
  text-align: center;
}

/* Mobile Responsiveness */
@media (max-width: 640px) {
  .ai-floating-btn {
    bottom: 20px;
    left: 20px;
    width: 52px;
    height: 52px;
  }

  .ai-floating-btn .ai-btn-icon {
    font-size: 1.3rem;
  }

  .ai-floating-tooltip {
    display: none;
  }

  .ai-chat-window {
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100vh;
    border-radius: 0;
    z-index: 2500;
  }
}

/* ==========================================================================
   ESTATE MANTRAA VIDEO PLAYER CONTAINER
   ========================================================================== */
.brand-video-card {
  position: relative;
  background: linear-gradient(145deg, #07152f 0%, #0f172a 60%, #1e293b 100%);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(7, 21, 47, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.08);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.brand-video-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
  border-radius: 20px;
}

.brand-video-element.active {
  display: block;
}

.brand-video-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 24px;
  background: radial-gradient(circle at center, rgba(14, 165, 233, 0.15) 0%, rgba(7, 21, 47, 0.95) 75%);
  z-index: 2;
  transition: opacity var(--transition-normal);
}

.video-play-trigger-btn {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, #009fe3 0%, #673ab7 50%, #d81b60 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  padding-left: 5px;
  border: 4px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 30px rgba(0, 159, 227, 0.45);
  cursor: pointer;
  margin-bottom: 18px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.video-play-trigger-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 35px rgba(216, 27, 96, 0.55);
}

.video-fallback-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 188, 212, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.video-fallback-title {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.video-fallback-desc {
  color: #cbd5e1;
  font-size: 0.85rem;
  max-width: 380px;
  line-height: 1.5;
  margin: 0 auto;
}

/* ==========================================================================
   HOW ESTATE MANTRAA HELPS GRID
   ========================================================================== */
.help-grid-8 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

@media (max-width: 1100px) {
  .help-grid-8 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .help-grid-8 {
    grid-template-columns: 1fr;
  }
}

.help-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.help-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.help-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.help-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0b1630;
  margin-bottom: 8px;
}

.help-card-desc {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* Why Choose Estate Mantraa - 10 Pill Grid */
.why-choose-10-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 768px) {
  .why-choose-10-grid {
    grid-template-columns: 1fr;
  }
}

.why-pill-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  padding: 16px 20px;
  border-radius: 14px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast);
}

.why-pill-item:hover {
  border-color: #009fe3;
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.why-pill-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(0, 159, 227, 0.1);
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.why-pill-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #0b1630;
}

/* ==========================================================================
   ABOUT PAGE: IN-PAGE SUB-NAVIGATION
   ========================================================================== */
.about-subnav-wrapper {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 72px;
  z-index: 95;
  box-shadow: 0 2px 10px rgba(7, 21, 47, 0.04);
}

.about-subnav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.about-subnav::-webkit-scrollbar {
  display: none;
}

.about-subnav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  background: transparent;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.about-subnav-link:hover {
  background: var(--bg-subtle);
  color: var(--brand-navy);
}

.about-subnav-link.active {
  background: var(--brand-navy);
  color: #ffffff;
  box-shadow: var(--shadow-xs);
}

/* ==========================================================================
   ABOUT PAGE: TEAM SECTION & CARDS
   ========================================================================== */
.team-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

@media (max-width: 1100px) {
  .team-grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .team-grid-4 {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.team-corp-card {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid var(--border-light);
  box-shadow: 0 8px 24px rgba(15, 27, 51, 0.06);
  padding: 16px;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.team-corp-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(15, 27, 51, 0.12);
  border-color: rgba(0, 159, 227, 0.4);
}

.team-corp-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  overflow: hidden;
  background: #f1f5f9;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.team-corp-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.team-corp-card:hover .team-corp-img {
  transform: scale(1.04);
}

.team-badge-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(7, 21, 47, 0.85);
  backdrop-filter: blur(8px);
  color: #38bdf8;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.team-corp-info {
  padding: 16px 6px 4px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.team-corp-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 2px;
  line-height: 1.3;
}

.team-corp-role {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand-cyan-dark);
  margin-bottom: 4px;
}

.team-corp-spec {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.team-corp-spec i {
  color: #ea580c;
  font-size: 0.75rem;
}

.team-corp-contacts {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
  margin-bottom: 12px;
}

.team-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #475569;
  text-decoration: none;
  transition: color var(--transition-fast);
  word-break: break-all;
}

.team-contact-link:hover {
  color: var(--brand-cyan-dark);
}

.team-contact-link i {
  width: 16px;
  color: #0284c7;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.team-corp-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px dashed var(--border-light);
  margin-top: auto;
}

.team-social-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.team-social-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-subtle);
  color: #475569;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all var(--transition-fast);
  border: 1px solid var(--border-light);
}

.team-social-btn:hover {
  background: #0077b5;
  color: #ffffff;
  border-color: #0077b5;
  transform: translateY(-2px);
}

.team-social-btn.team-social-wa:hover {
  background: #25d366;
  color: #ffffff;
  border-color: #25d366;
}

.team-card-quick-btn {
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(0, 159, 227, 0.08);
  color: var(--brand-cyan-dark);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.team-card-quick-btn:hover {
  background: var(--brand-navy);
  color: #ffffff;
}

/* ==========================================================================
   ABOUT PAGE: CAREERS SECTION
   ========================================================================== */
.career-hero-box {
  background: linear-gradient(135deg, #07152f 0%, #0d234d 100%);
  border-radius: 24px;
  padding: 44px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  margin-bottom: 40px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.career-hero-box::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(0, 188, 212, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.career-categories-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

@media (max-width: 992px) {
  .career-categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 580px) {
  .career-categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.career-cat-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 18px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast);
}

.career-cat-card:hover {
  border-color: #009fe3;
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.career-cat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 159, 227, 0.1);
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.career-cat-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-navy);
  line-height: 1.3;
}

/* Job Cards Grid */
.job-opportunities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

@media (max-width: 840px) {
  .job-opportunities-grid {
    grid-template-columns: 1fr;
  }
}

.job-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(15, 27, 51, 0.05);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
}

.job-card:hover {
  border-color: #009fe3;
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(15, 27, 51, 0.09);
}

.job-card-dept-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  align-self: flex-start;
}

.job-card-dept-tag.dept-sales {
  background: rgba(2, 132, 199, 0.1);
  color: #0284c7;
}

.job-card-dept-tag.dept-relations {
  background: rgba(234, 88, 12, 0.1);
  color: #ea580c;
}

.job-card-dept-tag.dept-marketing {
  background: rgba(147, 51, 234, 0.1);
  color: #9333ea;
}

.job-card-dept-tag.dept-tech {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
}

.job-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 12px;
  line-height: 1.35;
}

.job-meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.job-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #475569;
  background: var(--bg-subtle);
  padding: 6px 12px;
  border-radius: 8px;
}

.job-meta-pill i {
  color: #0284c7;
  font-size: 0.78rem;
}

.job-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 22px;
  flex-grow: 1;
}

.job-card-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
  margin-top: auto;
}

.btn-job-details {
  flex: 1;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  background: #ffffff;
  color: var(--brand-navy);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}

.btn-job-details:hover {
  background: var(--bg-subtle);
  border-color: #94a3b8;
}

.btn-job-apply {
  flex: 1.2;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  border: none;
  background: var(--brand-navy);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-job-apply:hover {
  background: var(--brand-cyan-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 159, 227, 0.25);
}

/* Send Resume Banner (Can't find opportunity) */
.send-resume-banner {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 2px dashed #cbd5e1;
  border-radius: 20px;
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

@media (max-width: 768px) {
  .send-resume-banner {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }
}

.send-resume-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 6px;
}

.send-resume-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0;
  max-width: 620px;
}

/* Career Application Modal Enhancements */
.resume-upload-wrapper {
  border: 2px dashed #cbd5e1;
  border-radius: 12px;
  padding: 18px;
  text-align: center;
  background: #f8fafc;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
}

.resume-upload-wrapper:hover {
  border-color: #009fe3;
  background: rgba(0, 159, 227, 0.03);
}

.resume-upload-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.resume-upload-icon {
  font-size: 1.5rem;
  color: #0284c7;
  margin-bottom: 6px;
}

.resume-upload-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-navy);
}

.resume-upload-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.resume-filename-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 8px;
}

/* Job Details Content */
.job-detail-block {
  margin-bottom: 20px;
}

.job-detail-heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.job-detail-list {
  padding-left: 18px;
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* About Contact CTA Section */
.about-contact-cta-banner {
  background: linear-gradient(135deg, #07152f 0%, #0c2149 100%);
  border-radius: 28px;
  padding: 48px;
  color: #ffffff;
  text-align: center;
  box-shadow: 0 16px 40px rgba(7, 21, 47, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.about-contact-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

/* ==========================================================================
   ESTATE MANTRAA - MINIMAL INITIAL LOGO PRELOADER
   ========================================================================== */
.site-preloader {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at center, #0d1e3d 0%, #07152f 100%);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.32s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.32s ease;
  overflow: hidden;
  pointer-events: auto;
}

.site-preloader.fade-out {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.preloader-content {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 16px;
}

.preloader-logo {
  width: min(220px, 58vw);
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  animation: preloaderLogoPulse 2s ease-in-out infinite;
  filter: drop-shadow(0 0 16px rgba(0, 188, 212, 0.45)) drop-shadow(0 0 36px rgba(233, 30, 99, 0.25));
  user-select: none;
  -webkit-user-drag: none;
}

@keyframes preloaderLogoPulse {
  0%, 100% {
    transform: scale(0.97);
    filter: drop-shadow(0 0 14px rgba(0, 188, 212, 0.4)) drop-shadow(0 0 28px rgba(233, 30, 99, 0.2));
    opacity: 0.92;
  }
  50% {
    transform: scale(1.03);
    filter: drop-shadow(0 0 24px rgba(0, 188, 212, 0.75)) drop-shadow(0 0 45px rgba(233, 30, 99, 0.4));
    opacity: 1;
  }
}

/* ==========================================================================
   LOWER SECTION RESPONSIVE CONTAINERS (PREVENT OVERLAPS ON ALL SCREENS)
   ========================================================================== */
.emi-calc-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 36px;
  align-items: center;
  width: 100%;
}

.nri-banner-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  width: 100%;
}

.cta-banner-box {
  background: var(--grad-mantraa);
  border-radius: var(--radius-xl);
  padding: 50px 40px;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  box-shadow: var(--shadow-orange);
  width: 100%;
}

/* About Page Hero & Mission/Vision Components */
.about-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
  width: 100%;
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 100%;
}

.mission-card,
.vision-card {
  background: var(--bg-subtle);
  padding: 22px 20px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.mission-card {
  border-left: 4px solid var(--brand-cyan);
}

.vision-card {
  border-left: 4px solid var(--brand-orange);
}

/* Contact Page Form & Layout Components */
.contact-main-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: flex-start;
  width: 100%;
}

.contact-form-card {
  background: #ffffff;
  padding: 40px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  box-sizing: border-box;
  width: 100%;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
}

.contact-assistance-card {
  background: var(--grad-navy);
  color: #ffffff;
  padding: 32px;
  border-radius: var(--radius-xl);
  margin-bottom: 28px;
  box-shadow: var(--shadow-lg);
  box-sizing: border-box;
  width: 100%;
}

.contact-office-card {
  background: #ffffff;
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-sizing: border-box;
  width: 100%;
}



