/* =====================================================
   Eldoret City Realtors - Main Stylesheet
   Palette: #219ebc #023047 #ffb703 #8ecae6
   Fonts: Playfair Display (display) + Inter (body... wait, no)
   We use: Cormorant Garamond (display) + DM Sans (body)
   ===================================================== */

:root {
  --primary: #219ebc;
  --primary-dark: #1a7d96;
  --secondary: #023047;
  --secondary-light: #0a4661;
  --accent: #ffb703;
  --accent-dark: #e0a000;
  --sky: #8ecae6;
  --sky-light: #d8edf5;
  --white: #ffffff;
  --gray-50: #f8fafb;
  --gray-100: #f0f3f5;
  --gray-200: #e2e8ec;
  --gray-300: #cbd5db;
  --gray-500: #6b7a85;
  --gray-700: #3d4a55;
  --gray-900: #1a2730;
  --shadow-sm: 0 2px 6px rgba(2, 48, 71, 0.06);
  --shadow-md: 0 6px 18px rgba(2, 48, 71, 0.10);
  --shadow-lg: 0 14px 40px rgba(2, 48, 71, 0.14);
  --radius: 10px;
  --radius-lg: 18px;
  --transition: 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--gray-700);
  background: var(--gray-50);
  line-height: 1.65;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--secondary);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.4rem; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--secondary); }
img { max-width: 100%; height: auto; display: block; }
.section { padding: 80px 0; position: relative; }
.section-tight { padding: 50px 0; }
.section-dark { background: var(--secondary); color: var(--sky-light); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--white); }
.section-textured {
  background: var(--gray-100);
  background-image:
    radial-gradient(circle at 1px 1px, rgba(33,158,188,0.10) 1px, transparent 0);
  background-size: 22px 22px;
}

/* ======= TYPOGRAPHY HELPERS ======= */
.kicker {
  display: inline-block;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
  padding: 4px 12px;
  border-left: 3px solid var(--accent);
  background: rgba(33,158,188,0.06);
}
.section-title { margin-bottom: 14px; }
.section-lead { font-size: 1.05rem; color: var(--gray-500); max-width: 640px; }
.text-accent { color: var(--accent) !important; }
.text-primary-custom { color: var(--primary) !important; }
.text-secondary-custom { color: var(--secondary) !important; }
.divider-fancy {
  display: flex; align-items: center; gap: 10px; margin: 18px 0;
}
.divider-fancy::before, .divider-fancy::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}
.divider-fancy i { color: var(--accent); }

/* ======= BUTTONS ======= */
.btn-ecr {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px;
  background: var(--primary);
  color: var(--white);
  border: 2px solid var(--primary);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.btn-ecr:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(2,48,71,0.25);
}
.btn-ecr.btn-accent { background: var(--accent); border-color: var(--accent); color: var(--secondary); }
.btn-ecr.btn-accent:hover { background: var(--secondary); border-color: var(--accent); color: var(--accent); }
.btn-ecr.btn-outline { background: transparent; color: var(--primary); }
.btn-ecr.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-ecr.btn-light { background: var(--white); color: var(--secondary); border-color: var(--white); }
.btn-ecr.btn-light:hover { background: var(--accent); border-color: var(--accent); color: var(--secondary); }
.btn-sm-ecr { padding: 8px 18px; font-size: 0.85rem; }

/* ======= NAVBAR ======= */
.top-bar {
  background: var(--secondary);
  color: var(--sky-light);
  padding: 8px 0;
  font-size: 0.85rem;
}
.top-bar a { color: var(--sky-light); margin-right: 14px; }
.top-bar a:hover { color: var(--accent); }
.top-bar i { color: var(--accent); margin-right: 6px; }
.top-bar .social a { margin-left: 12px; margin-right: 0; }

.main-nav {
  background: var(--white);
  padding: 14px 0;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all var(--transition);
}
.main-nav.scrolled { padding: 8px 0; box-shadow: var(--shadow-md); }
.brand-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo .brand-mark {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: 1.3rem;
  position: relative;
}
.brand-logo .brand-mark::after {
  content: ''; position: absolute; inset: -4px;
  border: 1px dashed var(--accent);
  border-radius: 14px;
  opacity: 0.5;
}
.brand-logo .brand-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--secondary);
  font-weight: 600;
  line-height: 1;
}
.brand-logo .brand-tag {
  font-size: 0.7rem;
  color: var(--primary);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.navbar-nav .nav-link {
  color: var(--secondary) !important;
  font-weight: 500;
  padding: 8px 14px !important;
  position: relative;
  font-size: 0.95rem;
}
.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after { transform: scaleX(1); }
.navbar-nav .nav-link.active { color: var(--primary) !important; }

/* ======= HERO ======= */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  transform: scale(1.05);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(135deg, rgba(2,48,71,0.88) 0%, rgba(2,48,71,0.65) 50%, rgba(33,158,188,0.55) 100%);
}
.hero-content { padding: 60px 0; }
.hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  margin-bottom: 20px;
  font-weight: 600;
}
.hero h1 .accent-word {
  color: var(--accent);
  font-style: italic;
  position: relative;
}
.hero h1 .accent-word::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: 4px;
  height: 8px;
  background: rgba(255,183,3,0.25);
  z-index: -1;
}
.hero-sub { font-size: 1.15rem; max-width: 600px; color: rgba(255,255,255,0.92); margin-bottom: 30px; }
.hero-stats {
  display: flex; gap: 30px; margin-top: 40px; padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.hero-stat .num { font-family: var(--font-display); font-size: 2.2rem; color: var(--accent); font-weight: 600; }
.hero-stat .lbl { font-size: 0.85rem; opacity: 0.85; text-transform: uppercase; letter-spacing: 0.1em; }

/* ======= SEARCH BAR ======= */
.search-bar {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.18);
  margin-top: -55px;
  position: relative;
  z-index: 5;
  border-top: 4px solid var(--accent);
}
.search-bar .form-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray-500);
  margin-bottom: 6px;
}
.search-bar .form-control,
.search-bar .nice-select {
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.95rem;
  height: 46px;
  width: 100%;
}
.search-bar .form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(33,158,188,0.12); }
.search-bar .btn-search {
  background: var(--accent);
  color: var(--secondary);
  font-weight: 700;
  height: 46px;
  width: 100%;
  border: none;
  border-radius: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: all var(--transition);
}
.search-bar .btn-search:hover { background: var(--secondary); color: var(--accent); }

/* ======= PROPERTY CARD ======= */
.property-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
  margin-bottom: 28px;
  border: 1px solid var(--gray-200);
}
.property-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.property-card .img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.property-card .img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--transition);
}
.property-card:hover .img-wrap img { transform: scale(1.08); }
.property-card .img-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2,48,71,0.55), transparent 50%);
  z-index: 1;
  pointer-events: none;
}
.tag-purpose {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--accent);
  color: var(--secondary);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  z-index: 2;
}
.tag-purpose.rent { background: var(--primary); color: var(--white); }
.tag-price {
  position: absolute;
  bottom: 14px; left: 14px;
  background: rgba(255,255,255,0.96);
  color: var(--secondary);
  padding: 6px 14px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.tag-price small { font-weight: 400; color: var(--gray-500); font-size: 0.75rem; }
.property-card .body { padding: 20px; }
.property-card h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--secondary);
}
.property-card h3 a:hover { color: var(--primary); }
.property-card .loc {
  display: flex; align-items: center; gap: 6px;
  color: var(--gray-500);
  font-size: 0.88rem;
  margin-bottom: 14px;
}
.property-card .loc i { color: var(--primary); }
.property-card .meta {
  display: flex; gap: 14px; padding-top: 14px; border-top: 1px dashed var(--gray-200);
  font-size: 0.85rem;
  color: var(--gray-500);
  flex-wrap: wrap;
}
.property-card .meta span { display: inline-flex; align-items: center; gap: 5px; }
.property-card .meta i { color: var(--primary); }

/* ======= CREATIVE IMAGE BORDERS ======= */
.framed-image {
  position: relative;
  padding: 18px;
  display: inline-block;
}
.framed-image::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 18px; right: 18px;
  border: 2px solid var(--accent);
  border-radius: 6px;
  z-index: 0;
}
.framed-image::after {
  content: '';
  position: absolute;
  top: 18px; right: 0; bottom: 0; left: 18px;
  background-image: radial-gradient(circle, var(--primary) 1.2px, transparent 1.5px);
  background-size: 12px 12px;
  border-radius: 6px;
  z-index: -1;
}
.framed-image img { position: relative; z-index: 1; border-radius: 6px; box-shadow: var(--shadow-md); }

.scrolling-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}
.scrolling-image::after {
  content: '';
  position: absolute;
  top: 12px; right: 12px;
  width: 60px; height: 60px;
  border-top: 3px solid var(--accent);
  border-right: 3px solid var(--accent);
  z-index: 2;
  pointer-events: none;
}
.scrolling-image::before {
  content: '';
  position: absolute;
  bottom: 12px; left: 12px;
  width: 60px; height: 60px;
  border-bottom: 3px solid var(--accent);
  border-left: 3px solid var(--accent);
  z-index: 2;
  pointer-events: none;
}

/* ======= ABOUT / VALUE CARDS ======= */
.value-card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border-bottom: 3px solid transparent;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.value-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-bottom-color: var(--primary); }
.value-card:hover::before { transform: scaleX(1); }
.value-card .icon-wrap {
  width: 72px; height: 72px;
  background: var(--sky-light);
  color: var(--primary);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  font-size: 1.6rem;
  position: relative;
  transition: all var(--transition);
}
.value-card .icon-wrap::after {
  content: '';
  position: absolute;
  inset: -6px;
  border: 1px dashed var(--primary);
  border-radius: 50%;
  opacity: 0.4;
}
.value-card:hover .icon-wrap { background: var(--accent); color: var(--secondary); transform: rotate(8deg); }
.value-card h4 { font-family: var(--font-body); font-weight: 600; margin-bottom: 8px; }

/* ======= SERVICE CARDS ======= */
.service-card {
  background: var(--white);
  padding: 36px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
  height: 100%;
  border: 1px solid var(--gray-200);
}
.service-card .big-num {
  position: absolute;
  top: 12px; right: 16px;
  font-family: var(--font-display);
  font-size: 4.5rem;
  color: var(--gray-100);
  font-weight: 700;
  line-height: 1;
  transition: color var(--transition);
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.service-card:hover .big-num { color: var(--sky-light); }
.service-card .ico {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--accent);
  border-radius: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 22px;
  position: relative;
}
.service-card h4 { font-family: var(--font-body); font-weight: 600; font-size: 1.2rem; }
.service-card .more {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600;
  color: var(--primary);
  margin-top: 14px;
}

/* ======= COUNTER / STATS SECTION ======= */
.stats-section {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
  color: var(--white);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.06) 1px, transparent 0);
  background-size: 32px 32px;
}
.stat-block { position: relative; z-index: 1; text-align: center; }
.stat-block .num { font-family: var(--font-display); font-size: 3rem; color: var(--accent); font-weight: 700; }
.stat-block .lbl { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.12em; opacity: 0.9; }
.stat-block i { color: var(--sky); font-size: 2rem; margin-bottom: 10px; }

/* ======= TESTIMONIALS ======= */
.testimonial-card {
  background: var(--white);
  padding: 36px 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  position: relative;
  height: 100%;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 10px; left: 20px;
  font-size: 5rem;
  color: var(--accent);
  font-family: var(--font-display);
  line-height: 1;
  opacity: 0.4;
}
.testimonial-card p { font-style: italic; color: var(--gray-700); position: relative; z-index: 1; }
.testimonial-card .author {
  display: flex; align-items: center; gap: 14px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed var(--gray-200);
}
.testimonial-card .author img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.testimonial-card .author .name { font-weight: 600; color: var(--secondary); font-size: 0.95rem; }
.testimonial-card .author .role { font-size: 0.82rem; color: var(--gray-500); }

/* ======= CTA STRIP ======= */
.cta-strip {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  padding: 60px 0;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-strip::after {
  content: '';
  position: absolute;
  right: -100px; top: -100px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,183,3,0.2), transparent);
  border-radius: 50%;
}
.cta-strip h2 { color: var(--white); }

/* ======= BLOG CARD ======= */
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  margin-bottom: 28px;
  height: 100%;
  border: 1px solid var(--gray-200);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card .img-wrap { aspect-ratio: 16/10; overflow: hidden; }
.blog-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.blog-card:hover .img-wrap img { transform: scale(1.06); }
.blog-card .body { padding: 22px; }
.blog-card .cat {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.blog-card h4 { font-size: 1.15rem; font-family: var(--font-body); font-weight: 600; margin-bottom: 10px; }
.blog-card h4 a:hover { color: var(--primary); }
.blog-card .meta { font-size: 0.82rem; color: var(--gray-500); display: flex; gap: 14px; margin-top: 14px; }
.blog-card .meta i { color: var(--primary); margin-right: 4px; }

/* ======= SECTION DIVIDER (page header) ======= */
.page-banner {
  background: linear-gradient(135deg, rgba(2,48,71,0.88), rgba(33,158,188,0.7)),
    url('https://images.unsplash.com/photo-1568605114967-8130f3a36994?w=1600') center/cover;
  color: var(--white);
  padding: 90px 0 70px;
  position: relative;
  text-align: center;
}
.page-banner h1 { color: var(--white); margin-bottom: 10px; }
.page-banner .breadcrumb-line { color: var(--sky-light); font-size: 0.95rem; }
.page-banner .breadcrumb-line a { color: var(--accent); }
.page-banner .breadcrumb-line .sep { margin: 0 8px; color: var(--sky); }

/* ======= INDIVIDUAL PROPERTY ======= */
.prop-gallery-main {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--gray-100);
}
.prop-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.prop-thumbs { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-top: 10px; }
.prop-thumbs img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover;
  border-radius: 8px; cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--transition);
}
.prop-thumbs img:hover, .prop-thumbs img.active { border-color: var(--accent); }
.prop-info-card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.prop-info-card .price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--primary);
  font-weight: 700;
}
.feature-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  background: var(--sky-light);
  color: var(--secondary);
  border-radius: 30px;
  font-size: 0.9rem;
  margin: 4px 6px 4px 0;
}
.feature-pill i { color: var(--primary); }

#prop-map, #search-map, #admin-map { height: 380px; border-radius: var(--radius); overflow: hidden; z-index: 1; }

/* ======= FOOTER ======= */
.site-footer {
  background: var(--secondary);
  color: var(--sky-light);
  padding: 70px 0 0;
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
}
.site-footer h5 {
  color: var(--accent);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.site-footer h5::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 36px; height: 2px;
  background: var(--accent);
}
.site-footer a { color: var(--sky-light); }
.site-footer a:hover { color: var(--accent); padding-left: 4px; }
.site-footer .quick-links li { margin-bottom: 10px; }
.site-footer .quick-links a { display: inline-block; transition: padding-left var(--transition), color var(--transition); }
.site-footer .quick-links i { color: var(--accent); margin-right: 6px; font-size: 0.7rem; }
.site-footer .contact-line { display: flex; gap: 12px; margin-bottom: 14px; align-items: flex-start; }
.site-footer .contact-line i { color: var(--accent); margin-top: 4px; }
.site-footer .social-icons a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  margin-right: 8px;
  transition: all var(--transition);
}
.site-footer .social-icons a:hover { background: var(--accent); border-color: var(--accent); color: var(--secondary); padding-left: 0; }
.site-footer .newsletter input {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 6px 0 0 6px;
  width: 100%;
}
.site-footer .newsletter input::placeholder { color: rgba(255,255,255,0.5); }
.site-footer .newsletter button {
  background: var(--accent);
  color: var(--secondary);
  border: none;
  padding: 10px 18px;
  border-radius: 0 6px 6px 0;
  font-weight: 600;
}
.footer-bottom {
  margin-top: 50px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.88rem;
}

/* ======= PAGINATION / LOAD MORE ======= */
.load-more-wrap { text-align: center; padding: 30px 0; }
#load-more, .load-more-btn {
  border: 2px solid var(--primary);
  background: transparent;
  color: var(--primary);
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all var(--transition);
}
#load-more:hover, .load-more-btn:hover { background: var(--primary); color: var(--white); }

/* ======= UTILITIES & ANIMATIONS ======= */
.fade-up { opacity: 0; transform: translateY(20px); transition: all 0.7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

@keyframes pulse-soft {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.9; }
}

/* WhatsApp Floating */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  z-index: 999;
  animation: pulse-soft 2.5s infinite;
}
.whatsapp-float:hover { color: #fff; background: #1ebb5a; }

/* Nice Select theming override */
.nice-select {
  border: 1px solid var(--gray-200) !important;
  border-radius: 8px !important;
  height: 46px !important;
  line-height: 44px !important;
  font-size: 0.95rem !important;
  background: var(--white) !important;
  padding-left: 14px !important;
  padding-right: 32px !important;
}
.nice-select:active, .nice-select.open, .nice-select:focus { border-color: var(--primary) !important; }
.nice-select .list { width: 100%; max-height: 280px; overflow-y: auto; }

/* Forms */
.form-control, .form-select {
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 0.95rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(33,158,188,0.12);
}
label { font-weight: 500; color: var(--secondary); margin-bottom: 6px; font-size: 0.9rem; }

/* Quill editor */
.ql-editor { min-height: 200px; font-family: var(--font-body); font-size: 0.95rem; }
.ql-toolbar { border-radius: 8px 8px 0 0 !important; border-color: var(--gray-200) !important; }
.ql-container { border-radius: 0 0 8px 8px !important; border-color: var(--gray-200) !important; }

/* Responsive */
@media (max-width: 991px) {
  .section { padding: 60px 0; }
  .hero { min-height: 70vh; }
  .hero-bg { background-attachment: scroll; }
  .hero-stats { gap: 18px; }
  .hero-stat .num { font-size: 1.6rem; }
  .search-bar { margin-top: 20px; }
  .search-bar .row > div { margin-bottom: 12px; }
}
@media (max-width: 576px) {
  .top-bar .social { display: none; }
  .top-bar { font-size: 0.78rem; }
  .property-card .body { padding: 16px; }
  .prop-thumbs { grid-template-columns: repeat(3,1fr); }
}

/* ============================================================ */
/*  PAGE BANNER (interior pages)                                */
/* ============================================================ */
.page-banner {
    position: relative;
    padding: 110px 0 80px;
    margin-top: 0;
    background-image: linear-gradient(135deg, rgba(2,48,71,.86), rgba(33,158,188,.82)),
                      url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?w=1600&q=80');
    background-size: cover;
    background-position: center;
    color: #fff;
    overflow: hidden;
}
.page-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 10% 80%, rgba(255,183,3,.15), transparent 35%),
        radial-gradient(circle at 90% 20%, rgba(142,202,230,.18), transparent 35%);
}
.page-banner .container { position: relative; z-index: 2; }
.page-banner .kicker.text-light-accent { color: var(--accent); }
.banner-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 4.5vw, 3.6rem);
    font-weight: 700;
    line-height: 1.05;
    margin: .35rem 0 1rem;
    color: #fff;
}
.banner-title .accent-word {
    color: var(--accent);
    font-style: italic;
}
.banner-crumbs {
    font-size: .92rem;
    color: rgba(255,255,255,.85);
}
.banner-crumbs a {
    color: var(--accent);
    text-decoration: none;
    margin: 0 .35rem;
}
.banner-crumbs a:first-child { margin-left: 0; }
.banner-crumbs i { font-size: .65rem; opacity: .7; margin: 0 .3rem; }

/* ============================================================ */
/*  PROPERTY DETAIL                                             */
/* ============================================================ */
.prop-gallery-main {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: 14px;
    overflow: hidden;
    background: #eee;
}
.prop-gallery-main img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.prop-gallery-main .tag-purpose {
    position: absolute; top: 18px; left: 18px;
    background: var(--primary); color: #fff;
    padding: 6px 14px; border-radius: 4px;
    font-size: .8rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: .5px;
    z-index: 2;
}
.prop-gallery-main .tag-purpose.rent { background: var(--accent); color: var(--secondary); }
.prop-thumbs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-top: 12px;
}
.prop-thumbs .thumb {
    aspect-ratio: 4/3;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color .2s, transform .2s;
}
.prop-thumbs .thumb.active,
.prop-thumbs .thumb:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}
.prop-thumbs .thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
}

.prop-facts {
    background: var(--bg-tint);
    padding: 25px;
    border-radius: 14px;
    border-left: 4px solid var(--accent);
}
.fact-tile {
    background: #fff;
    padding: 18px 16px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 14px rgba(0,0,0,.04);
    height: 100%;
}
.fact-tile i {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 8px;
}
.fact-tile .label {
    display: block;
    font-size: .78rem;
    color: #777;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 4px;
}
.fact-tile .value {
    display: block;
    font-weight: 700;
    color: var(--secondary);
    font-size: .98rem;
}

.section-sub-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: .35rem;
}
.rich-content {
    line-height: 1.85;
    color: #444;
    font-size: 1.02rem;
}
.rich-content h1, .rich-content h2, .rich-content h3 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--secondary);
    margin-top: 1.4rem;
}
.rich-content blockquote {
    border-left: 4px solid var(--accent);
    padding-left: 1.2rem;
    margin: 1.2rem 0;
    color: #555;
    font-style: italic;
}
.rich-content ul, .rich-content ol { padding-left: 1.4rem; }

.feature-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid rgba(33,158,188,.15);
    height: 100%;
    transition: all .2s;
}
.feature-pill:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,.05);
}
.feature-pill i {
    color: var(--primary);
    font-size: 1.15rem;
    width: 32px;
    height: 32px;
    background: rgba(33,158,188,.1);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.feature-pill span {
    font-weight: 600;
    color: var(--secondary);
}

#prop-map, #office-map, #search-map {
    height: 380px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e6eaee;
}

/* Sidebar */
.sticky-side { position: sticky; top: 110px; }
@media (max-width: 991px) { .sticky-side { position: static; } }

.price-card {
    background: linear-gradient(135deg, var(--secondary) 0%, #024058 100%);
    color: #fff;
    padding: 28px;
    border-radius: 14px;
    margin-bottom: 18px;
    position: relative;
    overflow: hidden;
}
.price-card::after {
    content: "";
    position: absolute;
    top: -30px; right: -30px;
    width: 120px; height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,183,3,.2), transparent 70%);
}
.price-card .kicker { color: var(--accent); }
.price-big {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--accent);
    margin: 6px 0 12px;
    line-height: 1;
}
.price-big small { font-size: 1rem; color: rgba(255,255,255,.7); font-weight: 400; }
.status-row { display: flex; gap: 8px; flex-wrap: wrap; }
.status-chip {
    background: rgba(255,255,255,.12);
    color: #fff;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .5px;
    font-weight: 600;
}
.status-chip.status-available { background: rgba(46,204,113,.2); color: #2ecc71; }
.status-chip.status-sold,
.status-chip.status-rented { background: rgba(255,183,3,.2); color: var(--accent); }

.enquiry-card {
    background: #fff;
    padding: 28px;
    border-radius: 14px;
    border: 1px solid #ecf0f3;
    box-shadow: 0 12px 36px rgba(2,48,71,.06);
}
.card-title-ecr {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 4px;
}
.dashed-hr {
    border: none;
    border-top: 2px dashed #e2e8ed;
    margin: 24px 0;
}
.contact-direct .contact-line {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    text-decoration: none;
    color: var(--secondary);
}
.contact-direct .contact-line i {
    width: 38px; height: 38px;
    background: rgba(33,158,188,.1);
    color: var(--primary);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.contact-direct .contact-line small { display: block; font-size: .7rem; color: #999; text-transform: uppercase; letter-spacing: .5px; }
.contact-direct .contact-line strong { color: var(--secondary); font-size: .95rem; }

/* ============================================================ */
/*  BLOG                                                        */
/* ============================================================ */
.blog-cats-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
    justify-content: center;
}
.cat-chip {
    padding: 8px 18px;
    background: #fff;
    border: 1px solid rgba(33,158,188,.2);
    border-radius: 30px;
    color: var(--secondary);
    text-decoration: none;
    font-size: .88rem;
    font-weight: 500;
    transition: all .2s;
}
.cat-chip:hover, .cat-chip.active {
    background: var(--secondary);
    color: var(--accent);
    border-color: var(--secondary);
}
.results-count {
    color: #777;
    margin-bottom: 20px;
}
.results-count strong { color: var(--secondary); }
.empty-state {
    text-align: center;
    padding: 60px 20px;
}
.empty-state i {
    font-size: 3rem;
    color: var(--sky);
    margin-bottom: 16px;
}
.empty-state h4 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--secondary);
}

/* Single article */
.blog-meta-top {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    color: #888;
    font-size: .88rem;
    margin-bottom: 22px;
}
.blog-meta-top i { color: var(--primary); margin-right: 4px; }
.article-hero {
    margin-bottom: 28px;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16/8;
}
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-lede {
    font-size: 1.18rem;
    color: #555;
    line-height: 1.7;
    border-left: 4px solid var(--accent);
    padding-left: 1.2rem;
    margin-bottom: 28px;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
}
.article-body { font-size: 1.05rem; }
.article-share { padding-top: 24px; border-top: 2px dashed #e2e8ed; }
.article-share h5 { color: var(--secondary); margin-bottom: 12px; }
.share-icons { display: flex; gap: 10px; }
.share-btn {
    width: 42px; height: 42px;
    display: inline-flex;
    align-items: center; justify-content: center;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: transform .2s;
}
.share-btn:hover { transform: translateY(-3px); color: #fff; }
.share-btn.fb { background: #1877f2; }
.share-btn.tw { background: #000; }
.share-btn.li { background: #0a66c2; }
.share-btn.wa { background: #25d366; }

/* ============================================================ */
/*  CONTACT                                                     */
/* ============================================================ */
.contact-info-card {
    background: #fff;
    padding: 32px 24px;
    border-radius: 14px;
    text-align: center;
    height: 100%;
    border: 1px solid #ecf0f3;
    transition: transform .25s, box-shadow .25s;
}
.contact-info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(2,48,71,.08);
}
.contact-info-card .ci-icon {
    width: 70px; height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--accent);
    margin: 0 auto 16px;
    display: inline-flex;
    align-items: center; justify-content: center;
    font-size: 1.5rem;
}
.contact-info-card h5 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    color: var(--secondary);
}
.contact-info-card p { color: #666; margin-bottom: 0; }
.contact-info-card a { color: var(--primary); text-decoration: none; }
.contact-info-card a:hover { color: var(--secondary); }
.map-wrap {
    height: 100%;
    min-height: 420px;
    border-radius: 14px;
    overflow: hidden;
}
.map-wrap #office-map { height: 100%; min-height: 420px; }
.contact-form .form-control {
    padding: 13px 16px;
    border: 1px solid #e2e8ed;
    border-radius: 8px;
}
.contact-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(33,158,188,.1);
}
