/* ==========================================================================
   SAGHA REAL ESTATE & BUILDERS (ایس آغا ریئل اسٹیٹ اینڈ بلڈرز)
   Karachi Prime Localities: Clifton, DHA, Block 2, 36 Pieces, Malir, New Rizvia
   Aesthetic: Obsidian Slate, Champagne Gold, Architectural Glassmorphism
   Attribution: Designed & Developed by KRMAAZHA (https://krmaazha.com/)
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-obsidian: #080C14;
  --bg-surface: #0E1424;
  --bg-card: rgba(18, 26, 44, 0.72);
  --bg-card-hover: rgba(26, 38, 64, 0.88);
  --card-border: rgba(197, 168, 128, 0.18);
  --card-border-hover: rgba(197, 168, 128, 0.45);

  /* Gold & Accent Tones */
  --gold-champagne: #C5A880;
  --gold-bright: #E5B842;
  --gold-glow: rgba(197, 168, 128, 0.28);
  --gold-gradient: linear-gradient(135deg, #F3E7C4 0%, #C5A880 50%, #8C6D41 100%);
  --gold-metallic: linear-gradient(135deg, #FFFFFF 0%, #E8D4A8 40%, #B88E4B 100%);

  /* Accent Colors */
  --emerald-accent: #10B981;
  --emerald-glow: rgba(16, 185, 129, 0.25);
  --blue-blueprint: #3B82F6;
  --blue-glow: rgba(59, 130, 246, 0.25);

  /* Typography Colors */
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Cinzel', serif;
  --font-urdu: 'Amiri', 'Noto Nastaliq Urdu', serif;

  /* Spacing & Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  /* Transitions */
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Reset & Box Sizing */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-obsidian);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Ambient Architectural Glows & Blueprint Grid */
.ambient-glow-top {
  position: fixed;
  top: -120px;
  left: 25%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(197, 168, 128, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.ambient-glow-bottom {
  position: fixed;
  bottom: 5%;
  right: 15%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.cad-grid-bg {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* Layout Utilities */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* Typography Utilities */
.gold-gradient-text {
  background: var(--gold-metallic);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.urdu-text {
  font-family: var(--font-urdu);
  direction: rtl;
  font-feature-settings: "liga" 1;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 30px;
  background: rgba(197, 168, 128, 0.1);
  border: 1px solid var(--card-border);
  color: var(--gold-champagne);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-tag.emerald {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
  color: #34D399;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1.2;
  margin-bottom: 14px;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 680px;
  line-height: 1.6;
}

/* ==========================================================================
   NAVIGATION BAR & MEGA MENU
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(8, 12, 20, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--card-border);
  padding: 16px 0;
  z-index: 1000;
  transition: all 0.3s var(--ease-smooth);
}

.navbar.scrolled {
  padding: 10px 0;
  background: rgba(8, 12, 20, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-icon-box {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(197, 168, 128, 0.25) 0%, rgba(14, 20, 36, 0.9) 100%);
  border: 1px solid var(--gold-champagne);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-champagne);
  font-size: 1.4rem;
  box-shadow: 0 0 15px var(--gold-glow);
  transition: transform 0.4s var(--ease-spring);
}

.brand-logo-img-box {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--gold-champagne);
  box-shadow: 0 0 16px var(--gold-glow);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0B0F17;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s ease;
  flex-shrink: 0;
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-logo:hover .brand-icon-box,
.brand-logo:hover .brand-logo-img-box {
  transform: scale(1.08) rotate(3deg);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.6);
}

.brand-text h1 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

.brand-text span {
  font-size: 0.75rem;
  color: var(--text-secondary);
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link-item {
  position: relative;
}

.nav-link-item > a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
}

.nav-link-item > a:hover {
  color: var(--gold-champagne);
}

/* Locations Dropdown Menu */
.locations-dropdown {
  position: absolute;
  top: 100%;
  left: -20px;
  width: 290px;
  background: rgba(14, 20, 36, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.25s var(--ease-smooth);
}

.nav-link-item:hover .locations-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.loc-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text-primary);
  font-size: 0.92rem;
  transition: all 0.2s;
}

.loc-dropdown-item:hover {
  background: rgba(197, 168, 128, 0.12);
  color: var(--gold-champagne);
  padding-left: 18px;
}

.loc-badge {
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  background: var(--gold-gradient);
  color: #080C14;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px var(--gold-glow);
  transition: all 0.25s var(--ease-smooth);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(197, 168, 128, 0.45);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s var(--ease-smooth);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--gold-champagne);
}

.hamburger {
  display: none;
  background: transparent;
  border: 1px solid var(--card-border);
  color: var(--text-primary);
  font-size: 1.2rem;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION & FILTER SEARCH
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 160px 0 90px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.hero-urdu-lead {
  font-family: var(--font-urdu);
  font-size: 1.45rem;
  color: var(--gold-champagne);
  line-height: 1.7;
  margin-bottom: 16px;
  direction: rtl;
}

.hero-desc {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 30px;
}

.hero-stats-row {
  display: flex;
  gap: 2.5rem;
  margin-top: 35px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stat-box h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--gold-champagne);
  margin-bottom: 2px;
}

.hero-stat-box span {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* 3D Visual Hero Card */
.hero-visual-box {
  position: relative;
}

.hero-3d-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 2.2rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.blueprint-preview-container {
  position: relative;
  height: 240px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #0D1629;
  border: 1px solid rgba(59, 130, 246, 0.3);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blueprint-svg {
  width: 100%;
  height: 100%;
}

.hero-card-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  background: rgba(8, 12, 20, 0.6);
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.meta-mini-col span {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
}

.meta-mini-col strong {
  font-size: 0.95rem;
  color: var(--text-primary);
}

/* ==========================================================================
   LOCATION-WISE LIVE PROPERTY FILTER BAR
   ========================================================================== */
.property-search-strip {
  position: relative;
  z-index: 20;
  margin-top: -30px;
}

.filter-glass-bar {
  background: rgba(14, 20, 36, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 1.2rem;
  align-items: flex-end;
}

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

.filter-group label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold-champagne);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.filter-select {
  width: 100%;
  background: rgba(8, 12, 20, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s;
}

.filter-select:focus {
  border-color: var(--gold-champagne);
}

.btn-filter-search {
  padding: 13px 28px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* ==========================================================================
   AREA HIGHLIGHTS SECTION (ایریا وائز کیٹیگریز)
   ========================================================================== */
.areas-section {
  padding: 100px 0 80px;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  margin-top: 2.8rem;
}

.area-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  transition: all 0.35s var(--ease-smooth);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.area-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  border-color: var(--card-border-hover);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
}

.area-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.2rem;
}

.area-badge-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(197, 168, 128, 0.12);
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-champagne);
  font-size: 1.5rem;
}

.area-stats-pill {
  font-size: 0.78rem;
  color: var(--emerald-accent);
  background: rgba(16, 185, 129, 0.1);
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 700;
}

.area-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin-bottom: 4px;
}

.area-urdu-sub {
  font-family: var(--font-urdu);
  color: var(--gold-champagne);
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.area-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.area-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1rem;
}

.area-features-list li {
  font-size: 0.85rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.area-features-list li i {
  color: var(--gold-champagne);
  font-size: 0.8rem;
}

/* ==========================================================================
   INTERACTIVE CONSTRUCTION COST CALCULATOR (تعمیراتی لاگت کیلکولیٹر)
   ========================================================================== */
.calculator-section {
  padding: 100px 0;
  position: relative;
}

.calc-workbench-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  margin-top: 2.8rem;
}

.calc-controls-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}

.calc-group {
  margin-bottom: 2rem;
}

.calc-group-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
}

.calc-group-title label {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 1.05rem;
}

.calc-value-badge {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold-champagne);
  font-weight: 800;
}

/* Package Selector Pills */
.package-pills-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.package-pill-btn {
  background: rgba(8, 12, 20, 0.8);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 14px 10px;
  color: var(--text-primary);
  cursor: pointer;
  text-align: center;
  transition: all 0.25s var(--ease-smooth);
}

.package-pill-btn:hover {
  border-color: var(--gold-champagne);
}

.package-pill-btn.active {
  background: rgba(197, 168, 128, 0.16);
  border-color: var(--gold-champagne);
  box-shadow: 0 0 20px var(--gold-glow);
}

.package-pill-btn strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.package-pill-btn span {
  font-size: 0.78rem;
  color: var(--gold-champagne);
}

/* Range Slider */
.calc-slider {
  width: 100%;
  height: 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold-champagne);
  border: 3px solid #080C14;
  box-shadow: 0 0 12px var(--gold-glow);
  cursor: pointer;
  transition: transform 0.2s;
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.slider-scale-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Floors Selection Chips */
.floors-chips-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.floor-chip-btn {
  background: rgba(8, 12, 20, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 10px;
  color: var(--text-primary);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
}

.floor-chip-btn.active {
  background: rgba(197, 168, 128, 0.2);
  border-color: var(--gold-champagne);
  color: var(--gold-champagne);
}

/* Calculator Output Results Card */
.calc-results-card {
  background: linear-gradient(145deg, rgba(22, 30, 52, 0.95) 0%, rgba(10, 16, 28, 0.95) 100%);
  border: 2px solid var(--gold-champagne);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

.calc-grand-total-box {
  text-align: center;
  padding: 1.8rem;
  background: rgba(8, 12, 20, 0.7);
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  margin-bottom: 2rem;
}

.calc-grand-total-box span {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.calc-total-number {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 900;
  background: var(--gold-metallic);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 6px 0;
}

.calc-covered-area-note {
  font-size: 0.85rem;
  color: var(--emerald-accent);
}

/* Itemized Cost Breakdown */
.cost-breakdown-table {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 2rem;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.92rem;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.breakdown-row span {
  color: var(--text-secondary);
}

.breakdown-row strong {
  color: var(--text-primary);
  font-family: var(--font-sans);
}

/* Visual Cost Bar Chart */
.cost-proportional-bar {
  height: 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  display: flex;
  margin-bottom: 1.5rem;
}

.bar-segment {
  height: 100%;
  transition: width 0.4s var(--ease-smooth);
}

.bar-segment.grey { background: #3B82F6; }
.bar-segment.finish { background: #E5B842; }
.bar-segment.mep { background: #10B981; }
.bar-segment.arch { background: #A855F7; }

/* ==========================================================================
   3D ELEVATIONS & FLOOR PLANS VIEWER
   ========================================================================== */
.elevation-section {
  padding: 100px 0;
}

.elevation-wrapper-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

.elevation-tabs-bar {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 1rem;
}

.elev-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.elev-tab-btn.active {
  background: rgba(197, 168, 128, 0.15);
  color: var(--gold-champagne);
}

.elevation-stage-viewport {
  position: relative;
  height: 480px;
  background: #080E1B;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.elevation-svg-model {
  width: 90%;
  height: 90%;
  transition: transform 0.5s var(--ease-smooth);
}

.hotspot-point {
  cursor: pointer;
  animation: pulsePoint 2s infinite alternate;
}

@keyframes pulsePoint {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.25); opacity: 1; }
}

.hotspot-tooltip {
  position: absolute;
  bottom: 25px;
  left: 25px;
  background: rgba(14, 20, 36, 0.95);
  border: 1px solid var(--gold-champagne);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  max-width: 320px;
}

.hotspot-tooltip h4 {
  color: var(--gold-champagne);
  font-size: 1rem;
  margin-bottom: 2px;
}

.hotspot-tooltip p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.4;
}

/* ==========================================================================
   PROPERTY & PROJECT LISTINGS BENTO GRID
   ========================================================================== */
.listings-section {
  padding: 100px 0;
}

.listings-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.listings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.property-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.35s var(--ease-smooth);
  display: flex;
  flex-direction: column;
}

.property-card:hover {
  transform: translateY(-8px);
  background: var(--bg-card-hover);
  border-color: var(--card-border-hover);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
}

.property-img-wrapper {
  position: relative;
  height: 220px;
  background: #0E1627;
  overflow: hidden;
}

.property-img-wrapper svg,
.property-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-tag-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(8, 12, 20, 0.85);
  border: 1px solid var(--card-border);
  color: var(--gold-champagne);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.property-locality-badge {
  position: absolute;
  bottom: 14px;
  right: 14px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.9);
  color: white;
}

.property-body {
  padding: 1.8rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.property-price {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--gold-champagne);
  margin-bottom: 6px;
}

.property-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.3;
}

.property-urdu-title {
  font-family: var(--font-urdu);
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.property-specs-strip {
  display: flex;
  gap: 14px;
  margin-bottom: 1.2rem;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.spec-item i {
  color: var(--gold-champagne);
}

.btn-whatsapp-inquire {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: white;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s var(--ease-smooth);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-inquire:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

/* ==========================================================================
   SERVICES & TURNKEY ARCHITECTURE
   ========================================================================== */
.services-section {
  padding: 100px 0;
  background: rgba(10, 16, 28, 0.4);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.8rem;
}

.service-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  transition: all 0.3s;
}

.service-card:hover {
  border-color: var(--gold-champagne);
  transform: translateY(-6px);
}

.service-icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: rgba(197, 168, 128, 0.12);
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-champagne);
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.service-urdu-sub {
  font-family: var(--font-urdu);
  color: var(--gold-champagne);
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ==========================================================================
   SITE VISIT MODAL
   ========================================================================== */
.visit-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(4, 8, 14, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.visit-modal-overlay.active {
  display: flex;
}

.visit-modal-card {
  background: linear-gradient(155deg, #131B2D 0%, #090E18 100%);
  border: 1px solid var(--gold-champagne);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  max-width: 540px;
  width: 100%;
  position: relative;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8);
}

.modal-close-btn {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.modal-close-btn:hover {
  border-color: var(--gold-champagne);
  color: var(--gold-champagne);
}

.modal-form-group {
  margin-bottom: 1.2rem;
}

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

.modal-input {
  width: 100%;
  padding: 12px 14px;
  background: rgba(8, 12, 20, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  outline: none;
  font-size: 0.95rem;
}

.modal-input:focus {
  border-color: var(--gold-champagne);
}

/* ==========================================================================
   FOOTER & ATTRIBUTION
   ========================================================================== */
.footer {
  background: #05080E;
  border-top: 1px solid var(--card-border);
  padding: 80px 0 30px;
}

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

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold-champagne);
  margin-bottom: 1.2rem;
  letter-spacing: 1px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--gold-champagne);
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-developer-credit a {
  color: var(--gold-champagne);
  text-decoration: none;
  font-weight: 700;
  border-bottom: 1px solid var(--gold-champagne);
  transition: color 0.2s;
}

.footer-developer-credit a:hover {
  color: var(--gold-bright);
}

/* Floating Sticky WhatsApp */
.sticky-whatsapp-btn {
  position: fixed !important;
  bottom: 30px !important;
  right: 30px !important;
  width: 62px !important;
  height: 62px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: white !important;
  font-size: 2.1rem !important;
  text-decoration: none !important;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.55), 0 0 20px rgba(37, 211, 102, 0.3) !important;
  z-index: 99999 !important;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease !important;
}

.sticky-whatsapp-btn:hover {
  transform: scale(1.12) rotate(8deg) !important;
  box-shadow: 0 15px 40px rgba(37, 211, 102, 0.75), 0 0 30px rgba(37, 211, 102, 0.5) !important;
}

/* ==========================================================================
   COMPREHENSIVE RESPONSIVE MEDIA QUERIES & MOBILE TOUCH OPTIMIZATION
   Breakpoints: 1024px (Tablet), 768px (Phablet), 480px (Mobile), 360px (Compact)
   ========================================================================== */

/* 1. Large Tablets & Small Laptops (<= 1024px) */
@media (max-width: 1024px) {
  .hero-grid { 
    grid-template-columns: 1fr; 
    text-align: center; 
    gap: 2.5rem;
  }
  .hero-urdu-lead { margin: 0 auto 1.5rem auto; }
  .hero-desc { margin: 0 auto 1.8rem auto; }
  .hero-stats-row { justify-content: center; }
  .filter-glass-bar { grid-template-columns: repeat(2, 1fr); }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .calc-workbench-grid { grid-template-columns: 1fr; }
  .listings-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}

/* 2. Tablets & Large Phones (<= 768px) */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    width: 100%;
  }

  .container {
    padding: 0 1.2rem;
  }

  .nav-links { display: none; }
  .hamburger { display: block; }

  /* Navbar */
  .navbar {
    padding: 12px 0;
  }

  /* Hero Section */
  .hero-section {
    padding-top: 110px;
    padding-bottom: 60px;
  }

  .hero-urdu-title {
    font-size: 2.2rem;
    line-height: 1.8;
  }

  .hero-urdu-lead {
    font-size: 1.15rem;
    line-height: 1.9;
  }

  /* Filter and Grids */
  .filter-glass-bar { grid-template-columns: 1fr; gap: 1rem; }
  .areas-grid { grid-template-columns: 1fr; }
  .listings-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .floors-chips-row { grid-template-columns: repeat(2, 1fr); }

  /* Elevation 3D Studio */
  .elevation-stage-viewport {
    height: 320px;
  }

  .elevation-controls {
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
  }

  .elevation-tab-btn {
    flex: 1 1 calc(50% - 8px);
    text-align: center;
    justify-content: center;
    padding: 10px 12px;
    font-size: 0.88rem;
  }

  /* Calculator Workbench */
  .calc-workbench-card {
    padding: 1.5rem;
  }

  .calc-output-card {
    padding: 1.5rem;
  }

  .package-cards-grid {
    grid-template-columns: 1fr;
  }

  /* Sticky WhatsApp button with iOS Safe Area */
  .sticky-whatsapp-btn {
    width: 56px !important;
    height: 56px !important;
    font-size: 1.8rem !important;
    bottom: calc(18px + env(safe-area-inset-bottom)) !important;
    right: calc(18px + env(safe-area-inset-right)) !important;
  }

  /* Modal */
  .visit-modal-card {
    width: 94vw;
    max-height: 90vh;
    padding: 1.5rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* 3. Small Mobile Phones (<= 480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .brand-text h1 {
    font-size: 1.05rem;
    letter-spacing: 1px;
  }

  .brand-text span {
    font-size: 0.65rem;
    letter-spacing: 1.2px;
  }

  .brand-logo-img-box {
    width: 42px;
    height: 42px;
  }

  .hero-urdu-title {
    font-size: 1.8rem;
    line-height: 1.7;
  }

  .hero-urdu-lead {
    font-size: 1.05rem;
    line-height: 1.8;
  }

  .hero-desc {
    font-size: 0.92rem;
  }

  /* Stack Hero CTA buttons full width for ergonomic thumb access */
  .hero-section div[style*="display: flex; gap: 1rem; flex-wrap: wrap;"] {
    flex-direction: column;
    width: 100%;
  }

  .hero-section a.btn-primary,
  .hero-section a.btn-secondary {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 14px 20px;
  }

  /* Hero Stats Grid 2x2 */
  .hero-stats-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    width: 100%;
  }

  .hero-stat-box {
    min-width: unset;
    padding: 12px 8px;
    text-align: center;
  }

  .hero-stat-box h3 {
    font-size: 1.3rem;
  }

  .hero-stat-box span {
    font-size: 0.75rem;
  }

  /* 3D Elevation Studio */
  .elevation-stage-viewport {
    height: 250px;
  }

  .elevation-tab-btn {
    flex: 1 1 100%;
  }

  /* Calculator Output summary */
  .calc-summary-stat h4 {
    font-size: 1.35rem;
  }

  .calc-slider-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .floors-chips-row {
    grid-template-columns: 1fr;
  }

  /* Footer Bottom Bar */
  .footer-bottom-bar {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .footer-bottom-bar div {
    font-size: 0.82rem;
  }
}

/* 4. Extra-Compact Phones (<= 360px) */
@media (max-width: 360px) {
  .brand-text h1 {
    font-size: 0.95rem;
  }
  .brand-logo-img-box {
    width: 38px;
    height: 38px;
  }
  .hero-urdu-title {
    font-size: 1.6rem;
  }
  .hero-stat-box h3 {
    font-size: 1.15rem;
  }
}

/* 5. Touch Devices & Reduced Motion Best Practices */
@media (hover: none) and (pointer: coarse) {
  .btn-primary, .btn-secondary, .btn-3d, .calc-chip, .package-option-card {
    min-height: 46px; /* Accessible WCAG / Apple HIG touch target */
  }
  
  /* Disable active mouse tilt transforms on touchscreens to prevent scroll interference */
  .card-3d {
    transform: none !important;
  }
}

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