/* ================================================
   HOMEKEYS REAL ESTATE – STYLES.CSS
   Brand Colors: #E05A2B (Primary Orange), #1E2D5A (Navy)
   ================================================ */

/* ---- ROOT VARIABLES ---- */
:root {
  --primary: #E05A2B;
  --primary-dark: #C44A1F;
  --primary-light: #F07348;
  --primary-glow: rgba(224, 90, 43, 0.15);
  --navy: #1E2D5A;
  --navy-light: #2B3875;
  --navy-dark: #141E3C;
  --white: #ffffff;
  --gray-50: #F8F9FA;
  --gray-100: #F2F2F2;
  --gray-200: #E5E5E5;
  --gray-500: #6B7280;
  --gray-800: #1F2937;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.10);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.15);
  --shadow-primary: 0 8px 30px rgba(224,90,43,0.35);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- BASE ---- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Raleway', sans-serif; color: var(--gray-800); overflow-x: hidden; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }
select, input, textarea { font-family: 'Raleway', sans-serif; outline: none; border: none; background: transparent; }

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }

/* ================================================
   NAVBAR
   ================================================ */
#navbar {
  background: transparent;
  transition: var(--transition);
}
#navbar.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.08);
}
#navbar.scrolled .nav-link { color: var(--navy); }
#navbar.scrolled .nav-link:hover { color: var(--primary); }
#navbar.scrolled .logo-name { color: var(--navy); }
#navbar.scrolled .logo-sub { color: var(--primary); }
#navbar.scrolled .ham-line { background: var(--navy); }

.nav-link {
  color: rgba(255,255,255,0.9);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.03em;
  position: relative;
  transition: var(--transition);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: width 0.3s ease;
}
.nav-link:hover { color: var(--primary); }
.nav-link:hover::after { width: 100%; }

/* Logo */
.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-hk {
  position: relative;
  width: 50px;
  height: 44px;
  display: flex;
  align-items: center;
}
.logo-h, .logo-k {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}
.logo-h { color: var(--primary); margin-right: -4px; }
.logo-k { color: var(--navy); }
#navbar.scrolled .logo-k { color: var(--navy); }
.logo-arrow {
  position: absolute;
  bottom: 4px; left: 4px; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--primary) 100%);
  transform: rotate(-8deg) scaleX(1.2);
}
.logo-arrow::after {
  content: '';
  position: absolute;
  right: -1px; top: -4px;
  width: 0; height: 0;
  border-left: 6px solid var(--primary);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}
.logo-dots {
  position: absolute;
  top: 4px; left: 6px;
  width: 6px; height: 6px;
  background: var(--primary);
  border-radius: 1px;
  box-shadow: 8px 0 0 var(--primary), 0 8px 0 var(--primary), 8px 8px 0 var(--primary);
  transform: scale(0.6);
}
.logo-text-wrap { display: flex; flex-direction: column; }
.logo-name {
  font-family: 'Raleway', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: white;
  line-height: 1.1;
  transition: var(--transition);
}
.logo-sub {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--primary);
  text-transform: uppercase;
}
.footer-logo-variant .logo-name { color: white !important; }

/* Hamburger */
.ham-line {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: var(--transition);
}
#hamburger.open .ham-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#hamburger.open .ham-line:nth-child(2) { opacity: 0; }
#hamburger.open .ham-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); width: 24px; }

/* Mobile menu */
.mobile-menu {
  background: white;
  border-top: 1px solid var(--gray-100);
  box-shadow: var(--shadow-lg);
}
.mobile-nav-link {
  display: block;
  padding: 10px 0;
  color: var(--navy);
  font-weight: 600;
  border-bottom: 1px solid var(--gray-100);
  transition: var(--transition);
}
.mobile-nav-link:hover { color: var(--primary); padding-left: 8px; }

/* ================================================
   BUTTONS
   ================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: var(--primary);
  color: white;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: var(--transition);
  box-shadow: var(--shadow-primary);
  cursor: pointer;
  border: none;
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(224,90,43,0.45);
}
.btn-primary.btn-lg { padding: 16px 40px; font-size: 1rem; }

.btn-outline-primary {
  display: inline-flex;
  align-items: center;
  padding: 14px 36px;
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition);
  cursor: pointer;
}
.btn-outline-primary:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition);
  border-radius: 50px;
  border: 2px solid var(--gray-200);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }

.btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  background: white;
  color: var(--navy);
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}
.btn-white:hover { background: var(--gray-50); transform: translateY(-2px); }

/* ================================================
   HERO SECTION
   ================================================ */
.hero-section { position: relative; min-height: 100vh; padding-bottom: 120px;  }

/* BG Slider */
.hero-bg-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(14,22,48,0.85) 0%,
    rgba(30,45,90,0.70) 50%,
    rgba(14,22,48,0.80) 100%
  );
  z-index: 1;
}

/* Hero Content */
.hero-badge {
  background: rgba(224,90,43,0.15);
  border: 1px solid rgba(224,90,43,0.4);
  padding: 8px 20px;
  border-radius: 50px;
  backdrop-filter: blur(8px);
}
.badge-dot {
  width: 8px; height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse-dot 1.5s infinite;
  display: inline-block;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
  animation: fadeUp 1s ease 0.2s both;
}
.hero-subtitle {
  animation: fadeUp 1s ease 0.4s both;
}
.hero-search-anim {
  animation: fadeUp 1s ease 0.6s both;
}
.hero-stats {
  animation: fadeUp 1s ease 0.8s both;
  margin-bottom: 60px;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.text-gradient-orange {
  background: linear-gradient(135deg, #E05A2B 0%, #F7A273 50%, #E05A2B 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s infinite;
}
@keyframes shimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.text-outline {
  -webkit-text-stroke: 2px rgba(255,255,255,0.4);
  color: transparent;
}

/* Hero Search */
.hero-search-wrap {
  position: relative;
}
.search-tab {
  padding: 10px 20px;
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  border-radius: 10px 10px 0 0;
  transition: var(--transition);
  cursor: pointer;
  background: transparent;
  border: none;
  letter-spacing: 0.05em;
}
.search-tab:hover { color: white; }
.search-tab.active {
  background: white;
  color: var(--primary);
}
.hero-search-box {
  background: white;
  border-radius: 0 16px 16px 16px;
  box-shadow: 0 25px 80px rgba(0,0,0,0.4);
  overflow: hidden;
}
.search-field {
  padding: 18px 20px;
  border-right: 1px solid var(--gray-100);
}
.search-field label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gray-500);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.search-select {
  width: 100%;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  appearance: none;
}
.search-btn {
  background: var(--primary);
  color: white;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-primary);
}
.search-btn:hover { background: var(--primary-dark); transform: translateY(-1px); }

/* Hero Stats */
.stat-pill { display: flex; flex-direction: column; align-items: center; }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  color: white;
}
.stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 4px;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
  align-self: center;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 10;
  animation: fadeUp 1s ease 1.2s both;
}
.scroll-indicator span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.scroll-mouse {
  width: 22px; height: 34px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding-top: 5px;
}
.scroll-wheel {
  width: 3px; height: 8px;
  background: var(--primary);
  border-radius: 2px;
  animation: scroll-anim 2s infinite;
}
@keyframes scroll-anim {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(10px); opacity: 0; }
}

/* Hero Controls */
.hero-controls {
  position: absolute;
  bottom: 150px;
  right: 20px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 12px;
}
.slide-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.8rem;
}
.slide-btn:hover { background: var(--primary); border-color: var(--primary); }
.slide-dots { display: flex; gap: 6px; align-items: center; }
.slide-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--transition);
}
.slide-dot.active { width: 20px; border-radius: 3px; background: var(--primary); }

/* ================================================
   MARQUEE STRIP
   ================================================ */
.marquee-strip {
  background: var(--navy);
  padding: 14px 0;
  overflow: hidden;
  border-top: 3px solid var(--primary);
}
.marquee-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: marquee-scroll 30s linear infinite;
  color: rgba(255,255,255,0.7);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ================================================
   SECTION COMMONS
   ================================================ */
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  padding: 6px 16px;
  background: var(--primary-glow);
  border-radius: 50px;
  border: 1px solid rgba(224,90,43,0.2);
}
.section-tag-white {
  background: rgba(255,255,255,0.1);
  color: white;
  border-color: rgba(255,255,255,0.2);
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 12px;
  line-height: 1.2;
}
@media (max-width: 768px) {
  .section-title { font-size: 2rem; }
}
.section-desc {
  color: var(--gray-500);
  max-width: 560px;
  margin: 12px auto 0;
  line-height: 1.7;
}

/* ================================================
   PROPERTY CARDS
   ================================================ */
.prop-filter-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 48px;
}
.prop-filter {
  padding: 9px 22px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  border: 2px solid var(--gray-200);
  color: var(--gray-500);
  cursor: pointer;
  transition: var(--transition);
  background: white;
}
.prop-filter:hover { border-color: var(--primary); color: var(--primary); }
.prop-filter.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  box-shadow: var(--shadow-primary);
}

.property-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-100);
}
.property-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.property-card:hover .prop-image { transform: scale(1.06); }
.property-card:hover .prop-overlay-actions { opacity: 1; }

.prop-image-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
}
.prop-image { transition: transform 0.5s ease; object-position: center; }

/* Badges */
.prop-badge {
  position: absolute;
  top: 14px; left: 14px;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  z-index: 3;
}
.badge-sale { background: var(--primary); color: white; }
.badge-rent { background: #1A6B45; color: white; }
.badge-offplan { background: var(--navy); color: white; }
.badge-featured { background: rgba(255,215,0,0.95); color: var(--navy); }
.badge-new { background: rgba(0,180,120,0.95); color: white; }
.right-3 { left: auto; right: 14px; }

.prop-price-tag {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(14,22,48,0.85);
  backdrop-filter: blur(8px);
  color: white;
  padding: 7px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  z-index: 3;
  border: 1px solid rgba(255,255,255,0.1);
}

.prop-overlay-actions {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 4;
}
.prop-action {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 0.85rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}
.prop-action:hover { background: var(--primary); color: white; transform: scale(1.1); }

.prop-body { padding: 20px; }
.prop-location {
  font-size: 0.78rem;
  color: var(--gray-500);
  font-weight: 600;
  margin-bottom: 8px;
}
.prop-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 14px;
}
.prop-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-100);
}
.prop-features span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-500);
}
.prop-features i { color: var(--primary); font-size: 0.82rem; }

.prop-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 4px;
}
.agent-mini { display: flex; align-items: center; gap: 8px; }
.agent-avatar { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; border: 2px solid var(--primary); flex-shrink: 0; }
.agent-mini span { font-size: 0.78rem; font-weight: 600; color: var(--gray-500); }
.prop-cta {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  transition: var(--transition);
  letter-spacing: 0.03em;
}
.prop-cta:hover { color: var(--primary-dark); letter-spacing: 0.06em; }

/* ================================================
   WHY CHOOSE US
   ================================================ */
.why-section { background: linear-gradient(135deg, #F8F9FF 0%, #FFF5F1 100%); }
.why-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(224,90,43,0.05) 0%, transparent 50%),
                    radial-gradient(circle at 80% 20%, rgba(30,45,90,0.05) 0%, transparent 50%);
}

/* Image Stack */
.why-image-stack {
  position: relative;
  height: 520px;
}
.why-img-main {
  position: absolute;
  top: 0; left: 0;
  width: 80%;
  height: 420px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.why-img-accent {
  position: absolute;
  bottom: 0; right: 0;
  width: 55%;
  height: 260px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 5px solid white;
}
.why-stats-card {
  position: absolute;
  top: 40px;
  right: 0;
  background: white;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 2;
  min-width: 140px;
  text-align: center;
}

/* Why Features */
.why-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}
.why-feature:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.why-icon {
  width: 44px; height: 44px;
  background: var(--primary-glow);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1rem;
  flex-shrink: 0;
}
.why-feature h4 {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 4px;
}
.why-feature p { font-size: 0.78rem; color: var(--gray-500); line-height: 1.5; }

/* ================================================
   STATS SECTION
   ================================================ */
.stats-section { background: var(--navy); }
.stats-bg-decor {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(224,90,43,0.12) 0%, transparent 70%);
}
.stats-item {
  padding: 24px;
  position: relative;
}
.stats-item::after {
  content: '';
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  height: 60px; width: 1px;
  background: rgba(255,255,255,0.1);
}
.stats-item:last-child::after { display: none; }

.stats-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 12px;
  opacity: 0.8;
}
.stats-number {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  color: white;
  display: inline-block;
}
.stats-plus {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  display: inline-block;
  vertical-align: top;
  margin-top: 4px;
}
.stats-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 8px;
}

/* ================================================
   SERVICES
   ================================================ */
.service-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.service-card-featured {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: white;
  border-color: transparent;
}
.service-card-featured .service-icon-wrap {  width: 64px; height: 64px;
  background: var(--primary-glow);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #E05A2B;
  margin-bottom: 22px;
  transition: var(--transition);
 }
.service-card-featured h3 { color: #ffffff !important; }
.service-card-featured p { color: rgba(255,255,255,0.75) !important; }
.service-card-featured .service-link { color: #E05A2B !important; }

.service-icon-wrap {
  width: 64px; height: 64px;
  background: var(--primary-glow);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 22px;
  transition: var(--transition);
}
.service-card:hover .service-icon-wrap {
  background: var(--primary);
  color: white;
  transform: rotate(-5deg) scale(1.1);
}
.service-card-featured:hover .service-icon-wrap { background:#E05A2B ;
  color: #ffffff;
  transform: rotate(-5deg) scale(1.1); }

.service-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.service-card p {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 20px;
}
.service-link {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  letter-spacing: 0.04em;
}
.service-link:hover { gap: 10px; }

/* ================================================
   NEIGHBORHOODS
   ================================================ */
.neighborhood-card {
  position: relative;
  height: 200px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
}
.neighborhood-card:first-child { height: 100%; min-height: 420px; }
.neighborhood-card img { transition: transform 0.5s ease; }
.neighborhood-card:hover img { transform: scale(1.06); }
.neighborhood-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14,22,48,0.85) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: white;
}
.neighborhood-overlay h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.neighborhood-overlay p { font-size: 0.78rem; color: rgba(255,255,255,0.7); margin-bottom: 10px; }
.neighborhood-overlay a {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  transition: var(--transition);
}
.neighborhood-overlay a:hover { gap: 8px; }

/* ================================================
   TESTIMONIALS
   ================================================ */
.testimonial-bg-decor {
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(224,90,43,0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.testimonial-slider-wrap {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
}
.testimonial-slider {
  display: flex;
  gap: 30px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.testimonial-card {
  min-width: 100%;
  background: white;
  border-radius: var(--radius-xl);
  padding: 48px 52px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
  position: relative;
}
@media (max-width: 640px) {
  .testimonial-card { padding: 32px 28px; }
}
.test-quote {
  font-size: 2rem;
  color: var(--primary);
  opacity: 0.3;
  margin-bottom: 16px;
}
.testimonial-card p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--gray-500);
  font-style: italic;
  margin-bottom: 24px;
}
.test-stars { color: #F59E0B; margin-bottom: 24px; }
.test-stars i { font-size: 0.9rem; margin-right: 2px; }
.test-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.test-author img {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
  flex-shrink: 0;
}
.test-author strong { display: block; font-weight: 700; color: var(--navy); font-size: 0.95rem; }
.test-author span { font-size: 0.78rem; color: var(--gray-500); }

.test-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  background: white;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 0.85rem;
  transition: var(--transition);
  z-index: 5;
}
.test-arrow:hover { background: var(--primary); color: white; }
.test-prev { left: -22px; }
.test-next { right: -22px; }
@media (max-width: 768px) {
  .test-prev { left: 8px; }
  .test-next { right: 8px; }
}

.test-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 28px;
}
.test-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gray-200);
  cursor: pointer;
  transition: var(--transition);
}
.test-dot.active { width: 24px; border-radius: 4px; background: var(--primary); }

/* ================================================
   AGENTS
   ================================================ */
.agent-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  text-align: center;
}
.agent-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.agent-card:hover .agent-social { opacity: 1; transform: translateY(0); }

.agent-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.agent-img-wrap img { object-fit: cover; }
.agent-social {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(30,45,90,0.95) 0%, transparent 100%);
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
}
.agent-social a {
  width: 32px; height: 32px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 0.75rem;
  transition: var(--transition);
}
.agent-social a:hover { background: var(--primary); color: white; }

.agent-info { padding: 20px; }
.agent-info h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.agent-info span { font-size: 0.78rem; color: var(--primary); font-weight: 600; }
.agent-meta {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--gray-100);
  font-size: 0.75rem;
  color: var(--gray-500);
  font-weight: 600;
}

/* ================================================
   CTA SECTION
   ================================================ */
.cta-section { position: relative; }
.cta-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(14,22,48,0.92) 0%, rgba(30,45,90,0.80) 100%);
}

/* ================================================
   CONTACT
   ================================================ */
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-info-icon {
  width: 48px; height: 48px;
  background: var(--primary-glow);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1rem;
  flex-shrink: 0;
}
.contact-info-item strong { display: block; font-weight: 700; color: var(--navy); font-size: 0.9rem; margin-bottom: 4px; }
.contact-info-item p { font-size: 0.85rem; color: var(--gray-500); }

.social-link {
  width: 40px; height: 40px;
  background: var(--gray-100);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 0.85rem;
  transition: var(--transition);
}
.social-link:hover { background: var(--primary); color: white; transform: translateY(-2px); }

/* Contact Form */
.contact-form-wrap {
  background: white;
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.78rem; font-weight: 700; color: var(--navy); letter-spacing: 0.04em; }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--navy);
  transition: var(--transition);
  background: var(--gray-50);
  font-family: 'Raleway', sans-serif;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 3px rgba(224,90,43,0.1);
}
.form-group textarea { resize: vertical; }

/* ================================================
   PARTNERS
   ================================================ */
.partners-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  align-items: center;
}
.partner-logo {
  padding: 14px 28px;
  background: white;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  color: var(--gray-500);
  transition: var(--transition);
  cursor: pointer;
}
.partner-logo:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }

/* ================================================
   FOOTER
   ================================================ */
.footer-section { background: var(--navy-dark); }
.footer-heading {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: white;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}
.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 28px; height: 2px;
  background: var(--primary);
  border-radius: 2px;
}
.footer-links { list-style: none; display: 8px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-links a::before { content: '›'; color: var(--primary); font-size: 1rem; }
.footer-links a:hover { color: var(--primary); padding-left: 4px; }

.footer-social {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  transition: var(--transition);
}
.footer-social:hover { background: var(--primary); border-color: var(--primary); color: white; transform: translateY(-2px); }

.newsletter-form {
  display: flex;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50px;
  overflow: hidden;
}
.newsletter-form input {
  flex: 1;
  padding: 12px 18px;
  background: transparent;
  color: white;
  font-size: 0.85rem;
  border: none;
  outline: none;
  font-family: 'Raleway', sans-serif;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form button {
  padding: 12px 18px;
  background: var(--primary);
  color: white;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  transition: var(--transition);
  border-radius: 0 50px 50px 0;
}
.newsletter-form button:hover { background: var(--primary-dark); }

/* ================================================
   FLOATING ELEMENTS
   ================================================ */
.back-to-top {
  position: fixed;
  bottom: 90px;
  right: 30px;
  width: 46px; height: 46px;
  background: var(--navy);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
  z-index: 99;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--primary); transform: translateY(-3px); }

.whatsapp-float {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 56px; height: 56px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 6px 30px rgba(37,211,102,0.4);
  z-index: 99;
  transition: var(--transition);
  animation: whatsapp-pulse 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 10px 40px rgba(37,211,102,0.6); }
@keyframes whatsapp-pulse {
  0%, 100% { box-shadow: 0 6px 30px rgba(37,211,102,0.4), 0 0 0 0 rgba(37,211,102,0.4); }
  50% { box-shadow: 0 6px 30px rgba(37,211,102,0.4), 0 0 0 12px rgba(37,211,102,0); }
}

/* ================================================
   TOAST NOTIFICATION
   ================================================ */
.toast {
  position: fixed;
  bottom: 30px; left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--navy);
  color: white;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  transition: transform 0.4s ease;
  border-left: 4px solid var(--primary);
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
  .why-image-stack { height: 400px; }
  .why-img-main { height: 300px; }
}
@media (max-width: 768px) {
  .hero-controls { right: 20px; bottom: 20px; }
  .stats-item::after { display: none; }
  .hero-search-box .grid { grid-template-columns: 1fr !important; }
  .search-field { border-right: none; border-bottom: 1px solid var(--gray-100); }
  .why-image-stack { height: 300px; margin-bottom: 40px; }
  .why-img-main { height: 220px; width: 85%; }
  .why-img-accent { height: 160px; }
  .why-stats-card { top: 10px; right: 0; padding: 14px 16px; }
  .contact-form-wrap { padding: 28px 24px; }
  .test-prev { left: 4px; }
  .test-next { right: 4px; }
  .testimonial-card { padding: 32px 24px; }
}
@media (max-width: 480px) {
  .stat-divider { display: none; }
  .hero-title { font-size: 3rem; }
  .section-title { font-size: 1.8rem; }
  .stats-number { font-size: 2.5rem; }
}

/* ================================================
   DEVELOPER CARDS
   ================================================ */
.developers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.developer-card {
  background: white;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  transition: var(--transition);
  cursor: pointer;
}
.developer-card:hover {
  border-color: var(--primary);
  box-shadow: 0 12px 40px rgba(224, 90, 43, 0.12);
  transform: translateY(-5px);
}

.dev-logo-wrap {
  height: 64px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dev-logo-wrap img {
  max-height: 64px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: var(--transition);
}
.developer-card:hover .dev-logo-wrap img {
  filter: grayscale(0%);
  opacity: 1;
}

.dev-info h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.dev-info p {
  font-size: 0.75rem;
  color: var(--gray-500);
  line-height: 1.5;
  margin-bottom: 10px;
}
.dev-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--primary-glow);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(224, 90, 43, 0.2);
}

/* ================================================
   DUAL LOGO SWAP ON SCROLL
   ================================================ */

#logo-transparent {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

#logo-scrolled {
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  display: none;
}

/* When navbar is scrolled — swap logos */
#navbar.scrolled #logo-transparent {
  display: none;
}

#navbar.scrolled #logo-scrolled {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* ================================================
   TOP PROJECTS BY LOCATION SECTION
   Paste this at the BOTTOM of your styles.css
   ================================================ */

/* ---- Section Wrapper ---- */
.top-projects-section {
  position: relative;
  padding: 96px 0;
  background: linear-gradient(180deg, #F8F9FF 0%, #ffffff 60%, #F8F9FF 100%);
  overflow: hidden;
}

/* Background decorations */
.tp-bg-left {
  position: absolute;
  top: -120px; left: -120px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(224,90,43,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.tp-bg-right {
  position: absolute;
  bottom: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(30,45,90,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* ---- City Tab Switcher ---- */
.city-tabs-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
}
.city-tabs {
  display: inline-flex;
  gap: 6px;
  background: white;
  padding: 8px;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  border: 1px solid var(--gray-100);
  flex-wrap: wrap;
  justify-content: center;
}

.city-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 14px;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.city-tab:hover {
  background: var(--gray-50);
}
.city-tab.active {
  background: var(--navy);
  box-shadow: 0 6px 20px rgba(30,45,90,0.25);
}
.city-tab-icon {
  font-size: 1.4rem;
  line-height: 1;
}
.city-tab-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.city-tab-name {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0.02em;
  transition: var(--transition);
  white-space: nowrap;
}
.city-tab-count {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--gray-500);
  letter-spacing: 0.04em;
  transition: var(--transition);
}
.city-tab.active .city-tab-name { color: white; }
.city-tab.active .city-tab-count { color: rgba(255,255,255,0.6); }

.city-tab-bar {
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 40%; height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform 0.3s ease;
}
.city-tab.active .city-tab-bar { display: none; }
.city-tab:hover .city-tab-bar { transform: translateX(-50%) scaleX(1); }

/* ---- City Panel ---- */
.city-panel {
  display: none;
  animation: panelFadeIn 0.45s ease;
}
.city-panel.active { display: block; }

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

/* ---- Projects Slider ---- */
.projects-slider-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  margin-bottom: 0;
}

.projects-slider {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.project-slide {
  min-width: 100%;
  padding: 4px;
}

/* ---- Featured Project Card ---- */
.project-card-featured {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 70px rgba(0,0,0,0.12);
  border: 1px solid var(--gray-100);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 460px;
  transition: var(--transition);
}
.project-card-featured:hover {
  box-shadow: 0 30px 90px rgba(0,0,0,0.18);
  transform: translateY(-4px);
}

@media (max-width: 900px) {
  .project-card-featured {
    grid-template-columns: 1fr;
    min-height: auto;
  }
}

/* Card Image */
.proj-image-wrap {
  position: relative;
  overflow: hidden;
  min-height: 340px;
}
@media (max-width: 900px) {
  .proj-image-wrap { min-height: 260px; }
}
.proj-image-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.project-card-featured:hover .proj-image-wrap img {
  transform: scale(1.05);
}
.proj-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(14,22,48,0.35) 0%,
    transparent 60%
  );
}

/* Image Badges */
.proj-status-badge {
  position: absolute;
  top: 20px; left: 20px;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 3;
}
.proj-dev-badge {
  position: absolute;
  top: 20px; right: 20px;
  padding: 6px 14px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  border-radius: 50px;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--navy);
  z-index: 3;
  border: 1px solid rgba(255,255,255,0.6);
}
.proj-featured-label {
  position: absolute;
  bottom: 20px; left: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  background: var(--primary);
  color: white;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  z-index: 3;
  box-shadow: 0 4px 16px rgba(224,90,43,0.4);
}

/* Card Content */
.proj-content {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}
@media (max-width: 900px) {
  .proj-content { padding: 28px 24px; }
}

.proj-location-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.proj-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 14px;
}
@media (max-width: 1024px) {
  .proj-title { font-size: 1.35rem; }
}

.proj-desc {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.75;
  margin-bottom: 24px;
}

/* Stats Row */
.proj-stats-row {
  display: flex;
  gap: 0;
  margin-bottom: 20px;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gray-100);
}
.proj-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 10px;
  border-right: 1px solid var(--gray-200);
  text-align: center;
}
.proj-stat:last-child { border-right: none; }
.proj-stat-val {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--navy);
  white-space: nowrap;
}
.proj-stat-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--gray-500);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 3px;
}

/* Tags */
.proj-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 24px;
}
.proj-tags span {
  padding: 5px 13px;
  background: var(--primary-glow);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 1px solid rgba(224,90,43,0.18);
}

/* CTA Button */
.proj-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--navy);
  color: white;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--transition);
  box-shadow: 0 6px 24px rgba(30,45,90,0.22);
  align-self: flex-start;
  letter-spacing: 0.02em;
}
.proj-cta-btn:hover {
  background: var(--primary);
  box-shadow: var(--shadow-primary);
  transform: translateY(-2px);
  gap: 14px;
}

/* ---- Slider Controls ---- */
.proj-slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
}

.proj-arrow {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--gray-200);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.85rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.proj-arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  transform: scale(1.08);
  box-shadow: var(--shadow-primary);
}

.proj-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.proj-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gray-200);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}
.proj-dot.active {
  width: 26px;
  border-radius: 4px;
  background: var(--primary);
}

/* ---- City Info Footer ---- */
.city-info-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 32px;
  background: white;
  border-radius: var(--radius-xl);
  padding: 24px 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
}

.city-info-stats {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.cif-stat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 28px;
}
.cif-stat:first-child { padding-left: 0; }
.cif-stat i {
  font-size: 1.3rem;
}
.cif-stat strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  font-family: 'Playfair Display', serif;
}
.cif-stat span {
  display: block;
  font-size: 0.7rem;
  color: var(--gray-500);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 3px;
}
.cif-divider {
  width: 1px;
  height: 40px;
  background: var(--gray-200);
  flex-shrink: 0;
}

/* Explore Button */
.city-explore-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  background: var(--primary);
  color: white;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--transition);
  box-shadow: var(--shadow-primary);
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.city-explore-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  gap: 16px;
  box-shadow: 0 12px 40px rgba(224,90,43,0.45);
}
.city-explore-btn i {
  width: 28px; height: 28px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  transition: var(--transition);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .city-tabs { gap: 4px; }
  .city-tab { padding: 10px 14px; }
  .city-tab-icon { font-size: 1.1rem; }
  .city-tab-name { font-size: 0.78rem; }
  .city-tab-count { display: none; }

  .city-info-footer {
    flex-direction: column;
    padding: 20px;
    text-align: center;
  }
  .city-info-stats {
    justify-content: center;
    gap: 0;
  }
  .cif-stat { padding: 0 16px; }
  .city-explore-btn { width: 100%; justify-content: center; }

  .proj-content { padding: 24px 20px; }
  .proj-title { font-size: 1.2rem; }
  .proj-stats-row { flex-wrap: wrap; }
  .proj-stat { min-width: 33%; }
}

@media (max-width: 480px) {
  .cif-divider { display: none; }
  .city-info-stats { gap: 12px; }
  .cif-stat { padding: 0 8px; }
}

/* ---- Navbar override for non-hero pages ---- */

.active-page {
  color: var(--primary) !important;
  font-weight: 800 !important;
}
.active-page::after { width: 100% !important; }
