/* =====================================================
   BUYINPROJECT.COM — Main Stylesheet  |  Blue Theme
   ===================================================== */

/* =====================================================
   CSS VARIABLES  —  BLUE THEME
   ===================================================== */
:root {
  /* Blues */
  --primary:        #1E3A8A;   /* rich navy blue       */
  --primary-light:  #2563EB;   /* vibrant mid-blue     */
  --primary-dark:   #172554;   /* deep ink blue        */
  --primary-soft:   #EFF6FF;   /* very light blue bg   */
  --blue-100:       #DBEAFE;   /* light blue tint      */
  --blue-200:       #BFDBFE;   /* medium-light blue    */
  --blue-hover:     #1D4ED8;   /* hover state blue     */

  /* Accents */
  --secondary:      #F59E0B;   /* amber / gold         */
  --secondary-dark: #D97706;   /* deep amber           */
  --accent:         #10B981;   /* emerald green        */
  --danger:         #EF4444;   /* red                  */

  /* Neutrals */
  --white:          #FFFFFF;
  --light:          #F0F7FF;   /* blue-tinted light bg */
  --gray:           #64748B;
  --gray-light:     #94A3B8;
  --dark:           #0F172A;   /* near-black           */
  --text:           #1E293B;   /* main text            */
  --border:         #BFDBFE;   /* blue-tinted border   */

  /* Shadows */
  --shadow:         0 4px 20px rgba(30,58,138,.10);
  --shadow-md:      0 6px 28px rgba(30,58,138,.15);
  --shadow-lg:      0 12px 48px rgba(30,58,138,.22);
  --shadow-blue:    0 8px 32px rgba(37,99,235,.25);

  /* Misc */
  --radius:         12px;
  --radius-sm:      8px;
  --radius-lg:      20px;
  --transition:     all .3s ease;
  --font:           'Inter', sans-serif;
  --font-heading:   'Poppins', sans-serif;
  --container:      1260px;
}

/* =====================================================
   RESET & BASE
   ===================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-heading);
  color: var(--primary-dark);
  line-height: 1.25;
  font-weight: 700;
}

/* =====================================================
   UTILITIES
   ===================================================== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section    { padding: 80px 0; }
.section-sm { padding: 50px 0; }
.text-center { text-align: center; }
.text-white  { color: var(--white) !important; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-4 { gap: 16px; }

/* Alternating section backgrounds */
.bg-white   { background: var(--white); }
.bg-light   { background: var(--light); }
.bg-primary { background: var(--primary); }

/* Section Header */
.section-header        { margin-bottom: 48px; }
.section-header.text-center { text-align: center; }

.section-tag {
  display: inline-block;
  background: var(--blue-100);
  color: var(--primary-light);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 12px;
  border: 1px solid var(--blue-200);
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--gray);
  max-width: 560px;
}
.text-center .section-subtitle { margin: 0 auto; }

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
  border: 2px solid transparent;
}

/* Primary — amber/gold on blue bg */
.btn-primary {
  background: var(--secondary);
  color: var(--primary-dark);
  border-color: var(--secondary);
}
.btn-primary:hover {
  background: var(--secondary-dark);
  border-color: var(--secondary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245,158,11,.45);
}

/* Blue filled */
.btn-blue {
  background: var(--primary-light);
  color: var(--white);
  border-color: var(--primary-light);
}
.btn-blue:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}

/* Outline white */
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

/* Outline blue */
.btn-outline-primary {
  background: transparent;
  color: var(--primary-light);
  border-color: var(--primary-light);
}
.btn-outline-primary:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* Accent green */
.btn-accent {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-accent:hover {
  background: #059669;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16,185,129,.35);
}

.btn-lg    { padding: 15px 36px; font-size: 1rem; border-radius: var(--radius); }
.btn-sm    { padding: 8px 18px; font-size: .82rem; }
.btn-block { width: 100%; justify-content: center; }

/* =====================================================
   BADGES
   ===================================================== */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 30px;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.badge-new          { background: #dcfce7; color: #166534; }
.badge-ready        { background: #dbeafe; color: #1e40af; }
.badge-construction { background: #ffedd5; color: #9a3412; }
.badge-rera         { background: #ede9fe; color: #5b21b6; }

/* =====================================================
   HEADER / NAVBAR
   ===================================================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(23,37,84,.75) 0%, rgba(23,37,84,.0) 100%);
  border-bottom: 1px solid transparent;
  transition: background .4s ease, box-shadow .4s ease, border-color .4s ease, backdrop-filter .4s ease;
}
.header.scrolled {
  background: rgba(23,37,84,.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 24px rgba(15,23,42,.55), 0 0 0 1px rgba(37,99,235,.18);
  border-bottom: 2px solid rgba(37,99,235,.28);
}

.navbar { padding: 14px 0; }
.navbar .container {
  display: flex;
  align-items: center;
  gap: 32px;
}

/* Logo */
.logo {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo span { color: var(--secondary); }
.logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  color: var(--primary-dark);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 900;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}
.nav-menu li a {
  color: rgba(255,255,255,.80);
  font-size: .88rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-menu li a:hover,
.nav-menu li a.active {
  color: var(--secondary);
  background: rgba(255,255,255,.08);
}

/* Nav actions */
.nav-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.hamburger span {
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
  display: block;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =====================================================
   PAGE HERO (inner pages)
   ===================================================== */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
  padding: 130px 0 65px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(37,99,235,.25) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(245,158,11,.12) 0%, transparent 50%);
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1   { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 14px; }
.page-hero p    { color: rgba(255,255,255,.8); font-size: 1.05rem; }
.page-hero .hero-tag { background: rgba(245,158,11,.2); color: var(--secondary); border: 1px solid rgba(245,158,11,.4); }

/* Breadcrumb */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: .83rem; color: rgba(255,255,255,.55);
  justify-content: center; margin-top: 18px;
}
.breadcrumb a { color: rgba(255,255,255,.75); }
.breadcrumb a:hover { color: var(--secondary); }
.breadcrumb i { font-size: .68rem; }

/* =====================================================
   HERO SECTION (Home)
   ===================================================== */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
/* Decorative blobs */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 500px at 80% 20%, rgba(37,99,235,.3) 0%, transparent 70%),
    radial-gradient(ellipse 400px 400px at 10% 80%, rgba(245,158,11,.12) 0%, transparent 60%);
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.025' fill-rule='evenodd'%3E%3Ccircle cx='40' cy='40' r='2'/%3E%3C/g%3E%3C/svg%3E");
}

.hero-shapes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-shapes span {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.06);
}
.hero-shapes span:nth-child(1) { width: 600px; height: 600px; top: -150px; right: -150px; }
.hero-shapes span:nth-child(2) { width: 350px; height: 350px; bottom: -80px; left: 5%; }
.hero-shapes span:nth-child(3) { width: 200px; height: 200px; top: 45%; left: 65%; }

.hero .container { position: relative; z-index: 2; padding: 120px 20px 80px; }
.hero-content    { max-width: 800px; margin: 0 auto; text-align: center; }

.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245,158,11,.2);
  color: var(--secondary);
  border: 1px solid rgba(245,158,11,.4);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: .78rem; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-tag i { font-size: .68rem; }

.hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  line-height: 1.12;
  margin-bottom: 22px;
}
.hero h1 span { color: var(--secondary); }

.hero p {
  color: rgba(255,255,255,.80);
  font-size: clamp(1rem, 2vw, 1.15rem);
  margin-bottom: 44px;
  max-width: 580px;
  margin-left: auto; margin-right: auto;
}

/* ---------------------- Search Box ---------------------- */
.search-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 8px;
  display: flex; align-items: center; gap: 4px;
  box-shadow: 0 20px 60px rgba(15,23,42,.35);
  flex-wrap: wrap;
  border: 2px solid rgba(37,99,235,.12);
}
.search-field {
  flex: 1; min-width: 180px;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  border-right: 1px solid var(--blue-100);
}
.search-field:last-of-type { border-right: none; }
.search-field i { color: var(--primary-light); font-size: .9rem; flex-shrink: 0; }
.search-field input,
.search-field select {
  border: none; outline: none;
  font-size: .9rem; color: var(--text);
  background: transparent; width: 100%;
}
.search-field select { cursor: pointer; }

/* Hero stats */
.hero-stats {
  display: flex; justify-content: center;
  gap: 48px; margin-top: 52px; flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat strong {
  display: block;
  font-size: 2rem; font-weight: 800;
  color: var(--secondary); line-height: 1; margin-bottom: 5px;
}
.hero-stat span { font-size: .8rem; color: rgba(255,255,255,.65); }

/* =====================================================
   CITY CARDS
   ===================================================== */
.cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.city-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 240px;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}
.city-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-blue);
  border-color: var(--secondary);
}
.city-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.city-card:hover img { transform: scale(1.1); }
.city-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(23,37,84,.90) 0%, rgba(23,37,84,.15) 100%);
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}
.city-card-overlay h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 4px; }
.city-card-overlay span { font-size: .78rem; color: rgba(255,255,255,.75); }
.city-card.featured { grid-column: span 2; height: 280px; }

/* =====================================================
   DEVELOPER CARDS
   ===================================================== */
.developers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.developer-card {
  background: var(--white);
  border: 2px solid var(--blue-100);
  border-radius: var(--radius);
  padding: 32px 24px 24px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.developer-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  opacity: 0;
  transition: var(--transition);
}
.developer-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-blue);
  transform: translateY(-6px);
}
.developer-card:hover::before { opacity: 1; }
.dev-logo {
  width: 72px; height: 72px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-size: 2rem; font-weight: 900;
  color: var(--white);
  font-family: var(--font-heading);
  box-shadow: 0 6px 20px rgba(0,0,0,.2);
  transition: var(--transition);
  letter-spacing: -1px;
}
.developer-card:hover .dev-logo { transform: scale(1.08); }
.developer-card h4 { font-size: 1.05rem; margin-bottom: 4px; color: var(--primary-dark); font-weight: 700; }
.developer-card .dev-location { font-size: .8rem; color: var(--gray); margin-bottom: 10px; display: flex; align-items: center; justify-content: center; gap: 4px; }
.developer-card .dev-location i { color: var(--secondary); font-size: .75rem; }
.developer-card .dev-meta-row { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.dev-projects-count {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--primary-soft);
  color: var(--primary);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: .78rem; font-weight: 700;
  border: 1.5px solid var(--blue-100);
}
.dev-rera-badge {
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(16,185,129,.1);
  color: #059669;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: .72rem; font-weight: 700;
  border: 1.5px solid rgba(16,185,129,.25);
}
.dev-rating {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: .78rem; color: var(--secondary); font-weight: 700;
}
.dev-rating i { font-size: .7rem; }

/* =====================================================
   PROPERTY CARDS
   ===================================================== */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.property-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--blue-100);
  transition: var(--transition);
  cursor: pointer;
}
.property-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-blue);
  transform: translateY(-6px);
}
.property-card-img {
  position: relative; height: 220px; overflow: hidden;
}
.property-card-img img {
  width: 100%; height: 100%;
  object-fit: cover; transition: transform .5s ease;
}
.property-card:hover .property-card-img img { transform: scale(1.07); }
.card-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.card-wishlist {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; color: var(--gray);
  transition: var(--transition); border: none; cursor: pointer;
}
.card-wishlist:hover, .card-wishlist.active { color: var(--danger); }

.property-card-body { padding: 20px; }
.property-price { font-size: 1.35rem; font-weight: 800; color: var(--primary-dark); margin-bottom: 4px; }
.property-price span { font-size: .85rem; font-weight: 500; color: var(--gray); }
.property-name {
  font-size: 1rem; font-weight: 600; color: var(--text); margin-bottom: 6px;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.property-location {
  display: flex; align-items: center; gap: 6px;
  font-size: .82rem; color: var(--gray); margin-bottom: 14px;
}
.property-location i { color: var(--primary-light); }
.property-features {
  display: flex; gap: 14px;
  padding-top: 14px; border-top: 1px solid var(--blue-100); flex-wrap: wrap;
}
.feat-item { display: flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--gray); }
.feat-item i { color: var(--primary-light); font-size: .85rem; }

.property-card-footer {
  padding: 14px 20px; border-top: 2px solid var(--blue-100);
  display: flex; align-items: center; justify-content: space-between;
  background: var(--primary-soft);
}
.dev-by { font-size: .78rem; color: var(--gray); }
.dev-by strong { color: var(--primary); font-size: .85rem; }

/* =====================================================
   FILTER BAR
   ===================================================== */
.filter-bar {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap; margin-bottom: 32px;
  border: 2px solid var(--blue-100);
}
.filter-group { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 140px; }
.filter-group label {
  font-size: .72rem; font-weight: 700; color: var(--primary-light);
  text-transform: uppercase; letter-spacing: .5px;
}
.filter-group select,
.filter-group input {
  border: 1.5px solid var(--blue-200);
  border-radius: var(--radius-sm);
  padding: 9px 12px; font-size: .88rem; color: var(--text);
  outline: none; transition: var(--transition); background: var(--primary-soft);
}
.filter-group select:focus,
.filter-group input:focus { border-color: var(--primary-light); background: var(--white); }

/* =====================================================
   STATS SECTION
   ===================================================== */
.stats-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--blue-hover) 100%);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}
.stats-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px; text-align: center;
}
.stat-item strong {
  display: block; font-size: 2.8rem; font-weight: 800;
  color: var(--secondary); margin-bottom: 6px;
}
.stat-item p { color: rgba(255,255,255,.80); font-size: .9rem; }

/* =====================================================
   WHY CHOOSE US
   ===================================================== */
.why-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px;
}
.why-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  border: 2px solid var(--blue-100);
  transition: var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary-light), var(--secondary));
  opacity: 0; transition: var(--transition);
}
.why-card:hover { border-color: var(--primary-light); box-shadow: var(--shadow-blue); transform: translateY(-5px); }
.why-card:hover::before { opacity: 1; }

.why-icon {
  width: 68px; height: 68px;
  background: linear-gradient(135deg, var(--primary-soft) 0%, var(--blue-100) 100%);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--primary-light);
  margin: 0 auto 20px;
  border: 2px solid var(--blue-200);
  transition: var(--transition);
}
.why-card:hover .why-icon {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--secondary);
  border-color: transparent;
}
.why-card h4 { font-size: 1rem; margin-bottom: 10px; color: var(--primary-dark); }
.why-card p { font-size: .87rem; color: var(--gray); }

/* =====================================================
   CTA SECTION
   ===================================================== */
.cta-section {
  background: linear-gradient(135deg, var(--secondary) 0%, #FBBF24 50%, var(--secondary-dark) 100%);
  padding: 84px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%231E3A8A' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); color: var(--primary-dark); margin-bottom: 16px; }
.cta-section p { font-size: 1.05rem; color: rgba(23,37,84,.78); max-width: 580px; margin: 0 auto 38px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-section .btn-primary {
  background: var(--primary-dark); color: var(--white);
  border-color: var(--primary-dark);
}
.cta-section .btn-primary:hover { background: var(--primary); border-color: var(--primary); }
.cta-section .btn-outline-primary {
  border-color: var(--primary-dark); color: var(--primary-dark);
}
.cta-section .btn-outline-primary:hover { background: var(--primary-dark); color: var(--white); }

/* =====================================================
   TESTIMONIALS
   ===================================================== */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border: 2px solid var(--blue-100);
  border-radius: var(--radius); padding: 28px;
  transition: var(--transition); position: relative;
}
.testimonial-card:hover { box-shadow: var(--shadow-blue); border-color: var(--primary-light); }
.testimonial-card::before {
  content: '"';
  position: absolute; top: 12px; right: 20px;
  font-size: 5rem; line-height: 1;
  color: var(--blue-100); font-family: Georgia, serif;
}
.stars { color: var(--secondary); margin-bottom: 14px; font-size: .85rem; }
.testimonial-card p { font-size: .9rem; color: var(--gray); margin-bottom: 20px; line-height: 1.75; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--blue-100); border: 2px solid var(--blue-200); }
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-info strong { display: block; font-size: .9rem; color: var(--primary-dark); }
.author-info span { font-size: .76rem; color: var(--gray); }

/* =====================================================
   PROPERTY DETAIL PAGE
   ===================================================== */
.detail-layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }

/* Gallery */
.gallery-main { border-radius: var(--radius); overflow: hidden; height: 440px; margin-bottom: 10px; position: relative; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  display: flex; justify-content: space-between; width: 100%; padding: 0 16px; pointer-events: none;
}
.gallery-nav button {
  pointer-events: all;
  width: 40px; height: 40px;
  background: rgba(255,255,255,.95);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; color: var(--primary); transition: var(--transition); cursor: pointer; border: none;
}
.gallery-nav button:hover { background: var(--secondary); color: var(--primary-dark); box-shadow: var(--shadow); }
.gallery-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.gallery-thumbs img {
  height: 80px; width: 100%; object-fit: cover;
  border-radius: var(--radius-sm); cursor: pointer; opacity: .6;
  transition: var(--transition); border: 2px solid transparent;
}
.gallery-thumbs img.active,
.gallery-thumbs img:hover { opacity: 1; border-color: var(--secondary); }

/* Property Info */
.property-info-header { margin-bottom: 24px; }
.property-info-header h1 { font-size: 1.8rem; margin-bottom: 10px; color: var(--primary-dark); }
.property-meta {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 16px;
}
.property-meta span { display: flex; align-items: center; gap: 6px; font-size: .84rem; color: var(--gray); }
.property-meta i { color: var(--primary-light); }
.price-block { display: flex; align-items: baseline; gap: 12px; margin-bottom: 22px; }
.price-main { font-size: 2.1rem; font-weight: 800; color: var(--primary-dark); }
.price-range { font-size: 1rem; color: var(--gray); }

/* Tabs */
.tabs {
  display: flex; gap: 0; border-bottom: 2px solid var(--blue-100);
  margin-bottom: 32px; overflow-x: auto;
}
.tab-btn {
  padding: 12px 24px; font-size: .88rem; font-weight: 600;
  color: var(--gray); border-bottom: 3px solid transparent;
  white-space: nowrap; transition: var(--transition); cursor: pointer;
  background: none; border-left: none; border-right: none; border-top: none;
  margin-bottom: -2px;
}
.tab-btn.active { color: var(--primary-light); border-bottom-color: var(--primary-light); }
.tab-btn:hover { color: var(--primary); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* Amenities */
.amenities-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 14px; }
.amenity-item {
  display: flex; flex-direction: column; align-items: center;
  gap: 10px; padding: 20px 14px;
  background: var(--primary-soft); border-radius: var(--radius);
  text-align: center; font-size: .84rem; color: var(--text);
  border: 2px solid var(--blue-100); transition: var(--transition);
}
.amenity-item:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.amenity-item i { font-size: 1.4rem; color: var(--primary-light); }
.amenity-item:hover i { color: var(--secondary); }

/* Floor Plans */
.floor-plans-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.floor-plan-card { border: 2px solid var(--blue-100); border-radius: var(--radius); overflow: hidden; transition: var(--transition); }
.floor-plan-card:hover { box-shadow: var(--shadow-blue); border-color: var(--primary-light); }
.floor-plan-img { height: 180px; background: var(--primary-soft); display: flex; align-items: center; justify-content: center; font-size: 4rem; color: var(--blue-200); }
.floor-plan-body { padding: 16px; }
.floor-plan-body h4 { margin-bottom: 6px; color: var(--primary-dark); }
.floor-plan-specs { display: flex; gap: 16px; font-size: .82rem; color: var(--gray); }

/* Enquiry Sidebar */
.enquiry-sidebar { position: sticky; top: 100px; }
.enquiry-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-md); overflow: hidden;
  border: 2px solid var(--blue-100);
}
.enquiry-card-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 22px 24px; color: var(--white);
}
.enquiry-card-header h3 { font-size: 1.1rem; color: var(--white); margin-bottom: 4px; }
.enquiry-card-header p { font-size: .82rem; color: rgba(255,255,255,.75); }
.enquiry-card-body { padding: 24px; }

/* =====================================================
   FORMS
   ===================================================== */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: .82rem; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-group label .required { color: var(--danger); }

.form-control {
  width: 100%;
  border: 2px solid var(--blue-200);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: .9rem; color: var(--text);
  outline: none; transition: var(--transition);
  background: var(--primary-soft);
}
.form-control:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
  background: var(--white);
}
.form-control::placeholder { color: var(--gray-light); }
textarea.form-control { resize: vertical; min-height: 120px; }

/* =====================================================
   ABOUT PAGE
   ===================================================== */
.about-story { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-story img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

.values-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
.value-card {
  background: var(--white); border: 2px solid var(--blue-100);
  border-radius: var(--radius); padding: 28px 24px; transition: var(--transition);
}
.value-card:hover { border-color: var(--primary-light); box-shadow: var(--shadow-blue); transform: translateY(-4px); }
.value-icon { font-size: 2.2rem; margin-bottom: 14px; }
.value-card h4 { margin-bottom: 8px; color: var(--primary-dark); }
.value-card p { font-size: .87rem; color: var(--gray); }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
.team-card {
  text-align: center; background: var(--white);
  border: 2px solid var(--blue-100); border-radius: var(--radius); padding: 32px 20px;
  transition: var(--transition);
}
.team-card:hover { box-shadow: var(--shadow-blue); border-color: var(--primary-light); transform: translateY(-5px); }
.team-avatar { width: 90px; height: 90px; border-radius: 50%; overflow: hidden; margin: 0 auto 16px; border: 3px solid var(--secondary); }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card h4 { margin-bottom: 4px; font-size: 1rem; color: var(--primary-dark); }
.team-card .designation { font-size: .82rem; color: var(--primary-light); margin-bottom: 10px; font-weight: 600; }
.team-social { display: flex; gap: 8px; justify-content: center; }
.team-social a {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--primary-soft); display: flex; align-items: center; justify-content: center;
  font-size: .8rem; color: var(--primary-light); transition: var(--transition);
  border: 1px solid var(--blue-200);
}
.team-social a:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* =====================================================
   CONTACT PAGE
   ===================================================== */
.contact-info-card {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  border-radius: var(--radius-lg); padding: 40px 32px; color: var(--white);
}
.contact-info-card h3 { color: var(--white); margin-bottom: 12px; }
.contact-item { display: flex; gap: 16px; margin-bottom: 28px; }
.contact-item-icon {
  width: 48px; height: 48px; background: rgba(255,255,255,.10);
  border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--secondary); flex-shrink: 0;
  border: 1px solid rgba(255,255,255,.12);
}
.contact-item-text strong { display: block; font-size: .82rem; color: rgba(255,255,255,.55); margin-bottom: 4px; }
.contact-item-text p { color: var(--white); font-size: .92rem; }
.contact-form-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 40px 32px;
  box-shadow: var(--shadow-md); border: 2px solid var(--blue-100);
}
.contact-form-card h3 { margin-bottom: 24px; color: var(--primary-dark); }

/* Map */
.map-container {
  border-radius: var(--radius-lg); overflow: hidden; height: 400px;
  background: var(--primary-soft); display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--blue-100); position: relative;
}
.map-frame { width: 100%; height: 100%; border: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--gray); }
.map-frame i { font-size: 3.5rem; color: var(--blue-200); }

/* =====================================================
   DEVELOPER HERO
   ===================================================== */
.developer-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
  padding: 120px 0 60px; position: relative; overflow: hidden;
}
.developer-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 30%, rgba(37,99,235,.3) 0%, transparent 60%);
}
.developer-profile {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
}
.developer-logo-large {
  width: 120px; height: 120px;
  background: var(--white);
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  font-size: 3rem; font-weight: 900; color: var(--primary); font-family: var(--font-heading);
  flex-shrink: 0; box-shadow: var(--shadow-lg);
}
.developer-profile-info h1 { color: var(--white); margin-bottom: 8px; }
.developer-profile-info p { color: rgba(255,255,255,.8); font-size: .95rem; max-width: 500px; }
.developer-badges { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.developer-badge {
  background: rgba(255,255,255,.12); color: var(--white);
  border: 1px solid rgba(255,255,255,.2); padding: 6px 16px;
  border-radius: 30px; font-size: .78rem;
  display: flex; align-items: center; gap: 6px;
}
.developer-badge i { color: var(--secondary); }

.developer-stats-bar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-md); overflow: hidden; margin-top: 40px; position: relative; z-index: 1;
  border: 2px solid var(--blue-100);
}
.dev-stat-item { padding: 24px; text-align: center; border-right: 1px solid var(--blue-100); }
.dev-stat-item:last-child { border-right: none; }
.dev-stat-item strong { display: block; font-size: 1.9rem; font-weight: 800; color: var(--primary-dark); }
.dev-stat-item span { font-size: .8rem; color: var(--gray); }

/* =====================================================
   PAGINATION
   ===================================================== */
.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 48px; }
.pagination a, .pagination span {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--blue-200);
  font-size: .87rem; font-weight: 600; color: var(--primary); transition: var(--transition);
}
.pagination a:hover, .pagination a.active {
  background: var(--primary); border-color: var(--primary); color: var(--white);
}

/* =====================================================
   SCROLL TO TOP
   ===================================================== */
.scroll-top {
  position: fixed; bottom: 28px; right: 28px;
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  color: var(--white); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem; box-shadow: var(--shadow-blue);
  cursor: pointer; opacity: 0; visibility: hidden;
  transition: var(--transition); z-index: 999; border: none;
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(37,99,235,.45); }

/* =====================================================
   SECTION LINK
   ===================================================== */
.section-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .88rem; font-weight: 700; color: var(--primary-light);
  margin-top: 24px;
  padding: 10px 22px;
  border: 2px solid var(--blue-200);
  border-radius: 30px;
  background: var(--primary-soft);
  transition: var(--transition);
}
.section-link:hover { background: var(--primary); color: var(--white); border-color: var(--primary); gap: 10px; }
.section-link i { font-size: .75rem; }

/* =====================================================
   FOOTER
   ===================================================== */
.footer { background: #0C1B35; color: rgba(255,255,255,.7); padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; padding-bottom: 50px; }
.footer-brand .logo { margin-bottom: 16px; color: var(--white); }
.footer-brand p { font-size: .87rem; line-height: 1.75; margin-bottom: 20px; color: rgba(255,255,255,.6); }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: .85rem; color: rgba(255,255,255,.7); transition: var(--transition);
}
.footer-social a:hover { background: var(--secondary); color: var(--primary-dark); border-color: var(--secondary); }
.footer-col h4 {
  color: var(--white); font-size: .95rem; margin-bottom: 20px;
  position: relative; padding-bottom: 12px;
}
.footer-col h4::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 30px; height: 2px;
  background: linear-gradient(90deg, var(--secondary), transparent);
  border-radius: 2px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: .87rem; color: rgba(255,255,255,.55); transition: var(--transition); }
.footer-col ul li a:hover { color: var(--secondary); padding-left: 5px; }
.footer-newsletter input {
  width: 100%;
  border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.06);
  border-radius: var(--radius-sm); padding: 10px 14px;
  font-size: .87rem; color: var(--white); outline: none; margin-bottom: 10px; transition: var(--transition);
}
.footer-newsletter input:focus { border-color: var(--secondary); background: rgba(255,255,255,.1); }
.footer-newsletter input::placeholder { color: rgba(255,255,255,.3); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between;
  font-size: .82rem; flex-wrap: wrap; gap: 12px;
}
.footer-bottom a { color: rgba(255,255,255,.55); }
.footer-bottom a:hover { color: var(--secondary); }

/* =====================================================
   LEGAL PAGES
   ===================================================== */
.legal-content {
  max-width: 820px; margin: 0 auto;
}
.legal-content h2 {
  font-size: 1.4rem; color: var(--primary-dark);
  margin: 36px 0 14px; padding-bottom: 10px;
  border-bottom: 2px solid var(--blue-100);
}
.legal-content h3 {
  font-size: 1.05rem; color: var(--primary);
  margin: 24px 0 10px;
}
.legal-content p {
  font-size: .92rem; color: var(--gray); line-height: 1.85; margin-bottom: 14px;
}
.legal-content ul {
  list-style: disc; padding-left: 24px; margin-bottom: 16px;
}
.legal-content ul li { font-size: .92rem; color: var(--gray); line-height: 1.75; margin-bottom: 6px; }
.legal-content strong { color: var(--text); }
.legal-meta {
  background: var(--primary-soft);
  border: 2px solid var(--blue-200);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 36px;
}
.legal-meta p { font-size: .85rem; color: var(--gray); margin: 0; }
.legal-meta strong { color: var(--primary); }
.legal-toc {
  background: var(--white); border: 2px solid var(--blue-100);
  border-radius: var(--radius); padding: 24px;
  margin-bottom: 36px;
}
.legal-toc h4 { font-size: .95rem; margin-bottom: 14px; color: var(--primary-dark); }
.legal-toc ol { padding-left: 20px; }
.legal-toc ol li { font-size: .88rem; margin-bottom: 6px; }
.legal-toc ol li a { color: var(--primary-light); text-decoration: underline; }
.legal-toc ol li a:hover { color: var(--secondary-dark); }

/* =====================================================
   AOS ANIMATIONS
   ===================================================== */
[data-aos] { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
[data-aos="fade-left"]  { transform: translateX(-28px); }
[data-aos="fade-right"] { transform: translateX(28px); }
[data-aos].aos-animate  { opacity: 1; transform: translate(0); }

/* =====================================================
   FORM VALIDATION
   ===================================================== */
.is-invalid { border-color: var(--danger) !important; box-shadow: 0 0 0 3px rgba(239,68,68,.12) !important; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .detail-layout { grid-template-columns: 1fr; }
  .enquiry-sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-story { grid-template-columns: 1fr; gap: 32px; }
  .developer-stats-bar { grid-template-columns: 1fr 1fr; }
  .developers-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0; left: -100%; width: 290px; height: 100vh;
    background: var(--primary-dark);
    flex-direction: column; justify-content: flex-start;
    padding: 80px 24px 24px; gap: 4px;
    transition: left .3s ease;
    box-shadow: 4px 0 30px rgba(15,23,42,.4);
    z-index: 999;
    border-right: 2px solid rgba(37,99,235,.3);
  }
  .nav-menu.open { left: 0; }
  .nav-menu li a { display: block; padding: 12px 16px; font-size: 1rem; border-radius: var(--radius-sm); }
  .hamburger { display: flex; }
  .section { padding: 60px 0; }
  .city-card.featured { grid-column: span 1; }
  .form-row { grid-template-columns: 1fr !important; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .search-box { flex-direction: column; }
  .search-field { border-right: none; border-bottom: 1px solid var(--blue-100); width: 100%; }
  .search-field:last-of-type { border-bottom: none; }
  .hero-stats { gap: 24px; }
  .developer-profile { flex-direction: column; }
  .developer-stats-bar { grid-template-columns: 1fr 1fr; }
  .tabs { gap: 0; }
  .tab-btn { padding: 10px 14px; font-size: .82rem; }
  .gallery-thumbs { grid-template-columns: repeat(4, 1fr); }
  .about-story { text-align: center; }
}

@media (max-width: 480px) {
  .properties-grid { grid-template-columns: 1fr; }
  .cities-grid { grid-template-columns: repeat(2, 1fr); }
  .developers-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-main { height: 260px; }
  .gallery-thumbs { grid-template-columns: repeat(3, 1fr); }
  .hero h1 { font-size: 2rem; }
  .filter-group { min-width: 100%; }
  .dev-about-grid { grid-template-columns: 1fr !important; }
}

/* =====================================================
   GLOBAL ENQUIRY MODAL
   ===================================================== */
.eq-modal {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,.72);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.eq-modal.open { opacity: 1; pointer-events: all; }
body.eq-modal-open { overflow: hidden; }

.eq-modal-box {
  background: var(--white);
  border-radius: 20px;
  width: 100%;
  max-width: 520px;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 28px 80px rgba(15,23,42,.5);
  transform: scale(.94) translateY(24px);
  transition: transform .35s cubic-bezier(.175,.885,.32,1.1);
}
.eq-modal.open .eq-modal-box { transform: scale(1) translateY(0); }

.eq-modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  background: rgba(255,255,255,.15);
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: 50%;
  color: var(--white);
  font-size: .9rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  z-index: 2;
}
.eq-modal-close:hover { background: rgba(255,255,255,.3); transform: scale(1.1); }

.eq-modal-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 32px 28px 26px;
  text-align: center;
  border-radius: 20px 20px 0 0;
  position: relative;
}
.eq-modal-icon {
  width: 60px; height: 60px;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: var(--secondary);
  margin: 0 auto 14px;
  box-shadow: 0 0 0 8px rgba(255,255,255,.06);
}
.eq-modal-header h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 6px; }
.eq-modal-header p  { color: rgba(255,255,255,.8); font-size: .88rem; }
.eq-modal-header strong { color: var(--secondary); }

.eq-modal-body { padding: 28px; }
.eq-modal-body .form-group { margin-bottom: 14px; }
.eq-modal-body .form-group label { font-size: .8rem; font-weight: 600; color: var(--primary-dark); display: block; margin-bottom: 5px; }
.eq-modal-body .form-control {
  width: 100%; border: 2px solid var(--blue-100); border-radius: 9px;
  padding: 11px 14px; font-size: .9rem; color: var(--text);
  background: var(--primary-soft); outline: none; transition: var(--transition);
}
.eq-modal-body .form-control:focus {
  border-color: var(--primary-light);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(37,99,235,.10);
}
.eq-modal-body .form-control::placeholder { color: var(--gray-light); }
.eq-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.eq-submit {
  width: 100%; padding: 15px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white); border: none; border-radius: 10px;
  font-size: 1rem; font-weight: 700; cursor: pointer; margin-top: 6px;
  transition: all .3s ease;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-heading);
}
.eq-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(30,58,138,.45);
}
.eq-trust {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px;
  margin-top: 14px; padding-top: 14px; border-top: 2px solid var(--blue-100);
  font-size: .73rem; color: var(--gray);
}
.eq-trust span { display: flex; align-items: center; gap: 4px; }
.eq-trust i { color: var(--accent); }

/* =====================================================
   CITY SELECT PAGE
   ===================================================== */
.city-select-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.city-select-card {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  height: 200px;
  transition: var(--transition);
  box-shadow: var(--shadow);
}
.city-select-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-blue); }
.city-select-card img { width:100%; height:100%; object-fit:cover; display:block; transition: transform .5s ease; }
.city-select-card:hover img { transform: scale(1.06); }
.city-select-card.large { grid-column: span 2; height: 240px; }
.city-select-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(15,23,42,.82) 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 20px;
}
.city-select-overlay h3 { color: var(--white); font-size: 1.25rem; margin-bottom: 4px; }
.city-select-overlay .cso-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.city-select-overlay .cso-count { color: rgba(255,255,255,.8); font-size: .8rem; }
.city-select-overlay .cso-price { color: var(--secondary); font-size: .78rem; font-weight: 700; }
.city-select-card:hover .city-select-overlay { background: linear-gradient(180deg, rgba(37,99,235,.15) 0%, rgba(23,37,84,.88) 100%); }

.city-back-bar {
  background: var(--white);
  border-bottom: 2px solid var(--blue-100);
  padding: 12px 0;
}
.city-back-btn {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--primary); font-size: .88rem; font-weight: 600;
  cursor: pointer; transition: var(--transition);
  background: none; border: none; padding: 0;
}
.city-back-btn:hover { color: var(--primary-light); gap: 4px; }
.city-back-btn i { transition: var(--transition); }

/* =====================================================
   DEVELOPER LISTING PAGE
   ===================================================== */
.dev-all-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.dev-all-card {
  background: var(--white);
  border: 2px solid var(--blue-100);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
}
.dev-all-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-blue);
  transform: translateY(-5px);
}
.dev-all-header {
  padding: 24px 24px 20px;
  display: flex; align-items: center; gap: 16px;
  border-bottom: 2px solid var(--blue-100);
}
.dev-all-logo {
  width: 64px; height: 64px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; font-weight: 900;
  color: var(--white); font-family: var(--font-heading);
  flex-shrink: 0; box-shadow: 0 4px 14px rgba(0,0,0,.2);
}
.dev-all-info h3 { font-size: 1rem; color: var(--primary-dark); margin-bottom: 3px; }
.dev-all-info .dev-cities { font-size: .78rem; color: var(--gray); }
.dev-all-body { padding: 16px 24px 20px; }
.dev-all-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.dev-all-stat { text-align: center; }
.dev-all-stat strong { display: block; font-size: 1.05rem; color: var(--primary); font-weight: 800; }
.dev-all-stat span { font-size: .72rem; color: var(--gray); }
.dev-all-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.dev-all-tag {
  background: var(--primary-soft); color: var(--primary);
  border: 1.5px solid var(--blue-100); border-radius: 20px;
  padding: 3px 10px; font-size: .72rem; font-weight: 600;
}
.dev-all-tag.green { background: rgba(16,185,129,.08); color: #059669; border-color: rgba(16,185,129,.25); }

/* Developer detail back bar */
.dev-back-bar {
  background: var(--white); border-bottom: 2px solid var(--blue-100); padding: 12px 0;
}

/* Sticky right CTA panel (property details) */
.prop-cta-panel {
  position: sticky;
  top: 88px;
}
.prop-cta-card {
  background: var(--white);
  border: 2px solid var(--blue-100);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 16px;
}
.prop-cta-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 20px 22px;
  color: var(--white);
}
.prop-cta-header h3 { font-size: 1.05rem; color: var(--white); margin-bottom: 3px; }
.prop-cta-header p { font-size: .78rem; color: rgba(255,255,255,.75); }
.prop-cta-price {
  display: flex; align-items: baseline; gap: 6px; margin-top: 10px;
}
.prop-cta-price strong { font-size: 1.6rem; color: var(--secondary); font-family: var(--font-heading); }
.prop-cta-price span { font-size: .8rem; color: rgba(255,255,255,.65); }
.prop-cta-body { padding: 20px 22px; }
.prop-cta-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 13px;
  border-radius: 10px; font-size: .95rem; font-weight: 700;
  cursor: pointer; transition: var(--transition); margin-bottom: 10px;
  border: none; text-decoration: none;
}
.prop-cta-btn.primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
}
.prop-cta-btn.primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(30,58,138,.4); }
.prop-cta-btn.secondary {
  background: var(--secondary);
  color: var(--primary-dark);
}
.prop-cta-btn.secondary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245,158,11,.35); }
.prop-cta-btn.outline {
  background: var(--white); color: var(--primary);
  border: 2px solid var(--primary-light);
}
.prop-cta-btn.outline:hover { background: var(--primary-soft); }
.prop-cta-btn.whatsapp { background: #25D366; color: var(--white); }
.prop-cta-btn.whatsapp:hover { background: #1DA851; transform: translateY(-2px); }
.prop-cta-divider { border: none; border-top: 2px solid var(--blue-100); margin: 12px 0; }
.prop-cta-trust { font-size: .75rem; color: var(--gray); text-align: center; display: flex; align-items: center; justify-content: center; gap: 5px; }
.prop-cta-trust i { color: var(--accent); }

.prop-info-card {
  background: var(--white);
  border: 2px solid var(--blue-100);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 16px;
}
.prop-info-card h4 { font-size: .88rem; color: var(--primary-dark); margin-bottom: 12px; }
.prop-info-row {
  display: flex; justify-content: space-between;
  font-size: .82rem; padding: 7px 0;
  border-bottom: 1px solid var(--blue-100);
}
.prop-info-row:last-child { border-bottom: none; }
.prop-info-row .label { color: var(--gray); }
.prop-info-row .value { font-weight: 600; color: var(--primary-dark); }

@media(max-width: 768px) {
  .eq-row { grid-template-columns: 1fr; }
  .city-select-grid { grid-template-columns: repeat(2, 1fr); }
  .city-select-card.large { grid-column: span 2; }
  .dev-all-grid { grid-template-columns: 1fr 1fr; }
}
@media(max-width: 480px) {
  .city-select-grid { grid-template-columns: 1fr; }
  .city-select-card.large { grid-column: span 1; height: 200px; }
  .dev-all-grid { grid-template-columns: 1fr; }
}

/* =====================================================
   DEVELOPER LOGO CARD  (developer hero)
   ===================================================== */
.dev-logo-card {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.dev-logo-initial {
  width: 120px;
  height: 120px;
  background: var(--white);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.4rem;
  font-weight: 900;
  font-family: var(--font-heading);
  color: var(--primary);
  box-shadow: 0 8px 32px rgba(15,23,42,.35), 0 0 0 4px rgba(245,158,11,.35);
  position: relative;
  letter-spacing: -2px;
  border: 3px solid rgba(255,255,255,.6);
}
.dev-logo-initial::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: calc(var(--radius) - 2px);
  background: linear-gradient(135deg, rgba(245,158,11,.08) 0%, transparent 60%);
}
.dev-logo-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.dev-logo-est {
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.75);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 20px;
  padding: 3px 12px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .5px;
}
.dev-logo-verified {
  background: rgba(16,185,129,.2);
  color: #6EE7B7;
  border: 1px solid rgba(16,185,129,.35);
  border-radius: 20px;
  padding: 3px 12px;
  font-size: .72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}
.dev-logo-verified i { font-size: .7rem; }

/* Developer listing logo color variants */
.dev-listing-logo.lodha   { background: linear-gradient(135deg,#1E3A8A,#2563EB); color: var(--white); }
.dev-listing-logo.prestige{ background: linear-gradient(135deg,#7C3AED,#A78BFA); color: var(--white); }
.dev-listing-logo.dlf     { background: linear-gradient(135deg,#0F766E,#14B8A6); color: var(--white); }
.dev-listing-logo.godrej  { background: linear-gradient(135deg,#B45309,#F59E0B); color: var(--white); }


/* -----------------------------------------------
   FLOATING WHATSAPP BUTTON
----------------------------------------------- */
.floating-wa {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  box-shadow: 0 6px 24px rgba(37,211,102,.45);
  z-index: 1000;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}
.floating-wa:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 32px rgba(37,211,102,.6);
  color: #fff;
}
.floating-wa-label {
  position: absolute;
  right: 68px;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  color: #1E293B;
  font-size: .78rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.floating-wa:hover .floating-wa-label { opacity: 1; }
@media(max-width:768px) {
  .floating-wa { bottom: 76px; right: 16px; width: 50px; height: 50px; font-size: 1.3rem; }
  .floating-wa-label { display: none; }
}
