/* ==============================================
   RoofandFloor — Production Styles
   Bootstrap 5.3 is the layout foundation.
   ============================================== */

/* ---- Design Tokens ---- */
:root {
  --rf-blue:          #1455CC;
  --rf-blue-dark:     #0E3E9E;
  --rf-blue-soft:     #EBF2FF;
  --rf-blue-mid:      #1E6FD9;

  --rf-navy:          #0D1B2A;
  --rf-text:          #1A2332;
  --rf-text-muted:    #6B7280;
  --rf-text-light:    #9CA3AF;
  --rf-border:        #E5E7EB;
  --rf-bg-light:      #F5F7FA;
  --rf-white:         #FFFFFF;

  --rf-green:         #16A34A;
  --rf-amber:         #A16207;
  --rf-amber-bg:      #FEF3C7;
  --rf-orange:        #EA6C00;

  --rf-stats-bg:      #0B1D3A;
  --rf-footer-bg:     #0B1D3A;
  --rf-footer-text:   #90A4BE;
  --rf-footer-border: rgba(255,255,255,0.10);

  --rf-font:          'Poppins', system-ui, -apple-system, sans-serif;

  --rf-r-sm:  6px;
  --rf-r-md:  10px;
  --rf-r-lg:  14px;

  --rf-shadow-xs:  0 1px 2px rgba(0,0,0,0.06);
  --rf-shadow-sm:  0 1px 4px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
  --rf-shadow-md:  0 4px 12px rgba(0,0,0,0.10), 0 1px 4px rgba(0,0,0,0.06);
  --rf-shadow-lg:  0 8px 24px rgba(0,0,0,0.12);

  --rf-t:  0.18s ease;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--rf-font);
  font-size: 14px;
  line-height: 1.5;
  color: var(--rf-text);
  background: var(--rf-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--rf-blue); text-decoration: none; transition: color var(--rf-t); }
a:hover { color: var(--rf-blue-dark); }
img { max-width: 100%; height: auto; display: block; }

/* ---- Bootstrap overrides ---- */
.container-xl { max-width: 1180px; }
.bg-light { background-color: var(--rf-bg-light) !important; }
.bg-primary-soft { background-color: var(--rf-blue-soft) !important; }
li { list-style-type:none!important;}
ul { list-style-type:none!important;}
.no-padding-left {padding-left:0px!important;}
/* ==============================================
   BRAND BUTTON
   ============================================== */
.btn-primary-brand {
  background: var(--rf-blue);
  border: 1px solid var(--rf-blue);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1px;
  border-radius: var(--rf-r-sm);
  transition: background var(--rf-t), border-color var(--rf-t), transform var(--rf-t), box-shadow var(--rf-t);
}
.btn-primary-brand:hover,
.btn-primary-brand:focus {
  background: var(--rf-blue-dark);
  border-color: var(--rf-blue-dark);
  color: #fff;
  box-shadow: 0 4px 12px rgba(20,85,204,0.35);
  transform: translateY(-1px);
}
.btn-primary-brand:active { transform: translateY(0); }

/* ==============================================
   NAVBAR
   ============================================== */
#mainNav {
  height: 80px;
  border-bottom: 1px solid var(--rf-border);
  box-shadow: none !important;
  z-index: 1040;
  background: #fff;
}
#mainNav.scrolled {
  box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
}

.navbar-brand { padding: 0; }
.nav-logo {
  height: 52px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block; margin-bottom:10px;
}

.nav-inner {
  display: flex;
  align-items: center;
  height: 72px;
  width: 100%;
}

/* Desktop nav links */
.nav-desktop-links { gap: 2px; }

.nav-mega-trigger {
  background: none;
  border: none;
  font-size: 16px;
  font-weight: 600;
  color: #374151;
  padding: 11px 12px;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  transition: color var(--rf-t), background var(--rf-t);
}
.nav-mega-trigger:hover,
.nav-mega-trigger.active { color: var(--rf-blue); background: var(--rf-blue-soft); }

.nav-chevron {
  font-size: 10px;
  transition: transform 0.2s ease;
}
.nav-mega-trigger.active .nav-chevron { transform: rotate(180deg); }

.nav-plain-link {
  font-size: 16px;
  font-weight: 600;
  color: #374151;
  padding: 11px 12px;
  border-radius: 5px;
  transition: color var(--rf-t), background var(--rf-t);
}
.nav-plain-link:hover { color: var(--rf-blue); background: var(--rf-blue-soft); }

.nav-login-btn {
  font-size: 16px;
  font-weight: 600;
  color: #374151;
  padding: 11px 14px;
  border-radius: 6px;
  border: 1px solid var(--rf-border);
  transition: color var(--rf-t), border-color var(--rf-t), background var(--rf-t);
  white-space: nowrap;
}
.nav-login-btn:hover { color: var(--rf-blue); border-color: var(--rf-blue); background: var(--rf-blue-soft); }

.btn-post-property {
  font-size: 16px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 6px;
  background: var(--rf-blue);
  color: #fff;
  border: none;
  white-space: nowrap;
  transition: background var(--rf-t), box-shadow var(--rf-t);
  display: inline-block;
}
.btn-post-property:hover { background: var(--rf-blue-dark); color: #fff; box-shadow: 0 3px 10px rgba(20,85,204,0.30); }

/* Mobile hamburger */
.mobile-menu-btn {
  background: none;
  border: none;
  padding: 6px 8px;
  cursor: pointer;
  line-height: 1;
  border-radius: 6px;
  transition: background var(--rf-t);
}
.mobile-menu-btn i { font-size: 24px; color: var(--rf-navy); }
.mobile-menu-btn:hover { background: var(--rf-bg-light); }

/* ==============================================
   MEGA PANEL
   ============================================== */
 .menu-image {height:45px; width:45px;}
.mega-overlay {
  position: fixed;
  inset: 0;
  z-index: 1037;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.mega-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mega-panel {
  position: fixed;
  top: 78px;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: min(1160px, calc(100vw - 40px));
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.04), 0 12px 40px rgba(0,0,0,0.13), 0 0 0 1px rgba(0,0,0,0.06);
  z-index: 1038;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  /*max-height: 520px;*/
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.mega-panel.active {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* City column header (icon + name — reuses the former active-tab icon size/typography) */
.mega-city-hd {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 4px 8px 10px;
  margin-bottom: 8px;
  border-bottom: 2.5px solid var(--rf-blue);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--rf-blue);
}
.city-lmk { width: 44px; height: 44px; }

/* Content grid — four always-visible city columns */
.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  flex: 1;
  overflow: hidden;
}
.mega-col {
  padding: 16px 14px;
  border-right: 1px solid var(--rf-border);
  overflow-y: auto;
  scrollbar-width: none;
}
.mega-col::-webkit-scrollbar { display: none; }
.mega-col:last-child { border-right: none; }

.mega-col-hd {
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  color: var(--rf-text-light);
  margin: 0 0 8px 4px;
}

/* Property type rows */
.mega-type-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  margin-bottom: 2px;
  text-decoration: none;
  color: var(--rf-text);
  transition: background var(--rf-t), color var(--rf-t);
}
.mega-type-row:hover { background: var(--rf-blue-soft); color: var(--rf-blue); }
.mega-type-ico {
  width: 34px;
  height: 34px;
  background: var(--rf-blue-soft);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--rf-t);
}
.mega-type-ico i { font-size: 15px; color: var(--rf-blue); }
.mega-type-row:hover .mega-type-ico { background: rgba(20,85,204,0.15); }
.mega-type-txt { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.mega-type-nm { font-size: 13px; font-weight: 600; line-height: 1.2; }
.mega-type-dc { font-size: 11px; color: var(--rf-text-muted); line-height: 1.3; margin-top: 1px; }
.mega-row-arrow { font-size: 10px; color: var(--rf-text-light); flex-shrink: 0; margin-left: auto; }

/* Promo strip */
.mega-promo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F0F5FF;
  border-radius: 0 0 20px 20px;
  padding: 12px 20px;
  flex-shrink: 0;
  border-top: 1px solid #E0EAFF;
}
.mega-promo-left { display: flex; align-items: center; gap: 12px; }
.mega-promo-ico {
  width: 36px;
  height: 36px;
  background: var(--rf-blue);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mega-promo-ico i { font-size: 17px; color: #fff; }
.mega-promo-title { font-size: 13px; font-weight: 700; color: var(--rf-navy); margin: 0; line-height: 1.3; }
.mega-promo-sub { font-size: 11.5px; color: var(--rf-text-muted); margin: 0; }
.mega-promo-cta {
  font-size: 12.5px;
  font-weight: 600;
  background: var(--rf-blue);
  color: #fff;
  padding: 8px 18px;
  border-radius: 8px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background var(--rf-t), box-shadow var(--rf-t);
  flex-shrink: 0;
}
.mega-promo-cta:hover { background: var(--rf-blue-dark); color: #fff; box-shadow: 0 3px 10px rgba(20,85,204,0.30); }

/* ==============================================
   MOBILE DRAWER
   ============================================== */
.mob-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1099;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}
.mob-overlay.active { opacity: 1; pointer-events: auto; }

.mob-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  max-width: 100vw;
  background: #fff;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}
.mob-drawer.open { transform: translateX(0); }

/* Drawer header */
.mob-drawer-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--rf-border);
  flex-shrink: 0;
}
.mob-drawer-logo { height: 30px; width: auto; object-fit: contain; }
.mob-drawer-close {
  background: none;
  border: none;
  padding: 7px;
  cursor: pointer;
  border-radius: 8px;
  transition: background var(--rf-t);
  line-height: 1;
}
.mob-drawer-close i { font-size: 18px; color: var(--rf-navy); }
.mob-drawer-close:hover { background: var(--rf-bg-light); }

/* Hero card */
.mob-hero-card {
  background: var(--rf-blue-soft);
  padding: 18px 20px 0;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  min-height: 120px;
}
.mob-hero-text { position: relative; z-index: 2; max-width: 60%; }
.mob-hero-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--rf-blue);
  line-height: 1.2;
  margin: 0 0 4px;
}
.mob-hero-sub {
  font-size: 11.5px;
  color: var(--rf-text-muted);
  margin: 0;
  line-height: 1.45;
}
.mob-hero-art {
  position: absolute;
  right: 8px;
  bottom: 0;
  z-index: 1;
  opacity: 0.65;
}
.mob-login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--rf-navy);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  padding: 13px 16px;
  border-radius: 0;
  margin: 14px -20px 0;
  position: relative;
  z-index: 3;
  text-decoration: none;
  transition: background var(--rf-t);
}
.mob-login-btn:hover { background: var(--rf-blue-dark); color: #fff; }

/* Scrollable nav body */
.mob-nav-scroll {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

/* Primary accordion items (Buy, Projects) */
.mob-primary-item {
  border-bottom: 1px solid var(--rf-border);
}
.mob-primary-trigger {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  text-align: left;
  transition: background var(--rf-t);
}
.mob-primary-trigger:hover { background: var(--rf-bg-light); }
.mob-primary-trigger.open { background: #F8FAFF; }
.mob-prim-ico {
  width: 36px;
  height: 36px;
  background: var(--rf-blue-soft);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mob-prim-ico i { font-size: 16px; color: var(--rf-blue); }
.mob-prim-body { flex: 1; min-width: 0; }
.mob-prim-label { display: block; font-size: 14.5px; font-weight: 700; color: var(--rf-navy); line-height: 1.2; }
.mob-prim-sub { display: block; font-size: 11.5px; color: var(--rf-text-muted); margin-top: 1px; }
.mob-prim-chevron {
  font-size: 12px;
  color: var(--rf-text-muted);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.mob-primary-trigger.open .mob-prim-chevron { transform: rotate(180deg); }

/* Primary accordion panel */
.mob-acc-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: #FAFBFC;
}
.mob-acc-panel.open { max-height: 800px; }

/* City items inside accordion */
.mob-city-item { border-top: 1px solid var(--rf-border); }
.mob-city-trigger {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px 11px 20px;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--rf-text);
  text-align: left;
  transition: background var(--rf-t), color var(--rf-t);
}
.mob-city-trigger:hover { background: var(--rf-blue-soft); color: var(--rf-blue); }
.mob-city-trigger.open { color: var(--rf-blue); background: var(--rf-blue-soft); }
.mob-city-trigger i:first-child { font-size: 13px; color: var(--rf-text-muted); }
.mob-city-trigger span { flex: 1; }
.mob-city-chev {
  font-size: 10px;
  color: var(--rf-text-light);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.mob-city-trigger.open .mob-city-chev { transform: rotate(90deg); }

/* City accordion panel */
.mob-city-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  background: #fff;
}
.mob-city-panel.open { max-height: 300px; }

/* Property rows inside city panel */
.mob-prop-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px 11px 44px;
  font-size: 13px;
  font-weight: 500;
  color: var(--rf-text);
  border-top: 1px solid var(--rf-border);
  text-decoration: none;
  transition: background var(--rf-t), color var(--rf-t);
}
.mob-prop-row:hover { background: var(--rf-bg-light); color: var(--rf-blue); }
.mob-prop-row > i { font-size: 11px; color: var(--rf-text-light); flex-shrink: 0; }
.mob-prop-label { display: flex; align-items: center; gap: 8px; flex: 1; }
.mob-prop-label i { font-size: 14px; color: var(--rf-text-muted); }
.mob-prop-row:hover .mob-prop-label i { color: var(--rf-blue); }

/* Nav divider */
.mob-nav-divider { height: 6px; background: var(--rf-bg-light); border-top: 1px solid var(--rf-border); border-bottom: 1px solid var(--rf-border); }

/* Secondary rows (Blog, Login) */
.mob-secondary-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--rf-text);
  border-bottom: 1px solid var(--rf-border);
  text-decoration: none;
  transition: background var(--rf-t), color var(--rf-t);
}
.mob-secondary-row:hover { background: var(--rf-bg-light); color: var(--rf-blue); }
.mob-secondary-ico {
  width: 32px;
  height: 32px;
  background: var(--rf-bg-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mob-secondary-ico i { font-size: 14px; color: var(--rf-text-muted); }
.mob-secondary-lbl { flex: 1; }
.mob-secondary-arrow { font-size: 11px; color: var(--rf-text-light); }

/* Popular searches section */
.mob-popular-section { padding: 16px 16px 20px; }
.mob-popular-hd {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--rf-text-muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}
.mob-popular-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mob-pop-chip {
  font-size: 12.5px;
  color: var(--rf-text);
  background: var(--rf-bg-light);
  border: 1px solid var(--rf-border);
  padding: 6px 12px;
  border-radius: 20px;
  text-decoration: none;
  transition: color var(--rf-t), background var(--rf-t), border-color var(--rf-t);
  white-space: nowrap;
}
.mob-pop-chip:hover { color: var(--rf-blue); background: var(--rf-blue-soft); border-color: var(--rf-blue); }

/* Sticky footer CTA */
.mob-drawer-footer {
  flex-shrink: 0;
  border-top: 2px solid rgba(255,255,255,0.1);
}
.mob-post-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--rf-blue);
  padding: 15px 18px;
  text-decoration: none;
  transition: background var(--rf-t);
}
.mob-post-cta:hover { background: var(--rf-blue-dark); }
.mob-post-cta-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mob-post-ico {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mob-post-ico i { font-size: 17px; color: #fff; }
.mob-post-lbl { display: block; font-size: 14px; font-weight: 700; color: #fff; line-height: 1.25; }
.mob-post-sub { display: block; font-size: 11.5px; color: rgba(255,255,255,0.75); margin-top: 1px; }
.mob-post-arrow { font-size: 18px; color: rgba(255,255,255,0.8); flex-shrink: 0; }

/* ==============================================
   HERO SECTION
   ============================================== */
.hero-section {
  position: relative;
  min-height: 420px;
  background-image: url('../images/Hero-Banner-image.png');
  background-size: cover;
  background-position: center center;
  padding: 52px 0 52px;
}
.hero-section .container-xl {
  position: relative;
  z-index: 2;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(5,18,55,0.85) 0%, rgba(5,18,55,0.65) 50%, rgba(5,18,55,0.20) 100%);
}

.hero-headline {
  line-height: 1.18;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
    letter-spacing: -0.5px;
    font-size: 40px;
    padding: 0;
    text-transform: uppercase;
    font-weight: 600;
}

.hero-subtext {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255,255,255,0.88);
  margin-bottom: 24px;
}

/* Search Card — desktop */
.search-card {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 20px 22px 22px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.22), 0 1px 0 rgba(255,255,255,0.6) inset;
  width: 100%;
  border: 1px solid rgba(255,255,255,0.7);
}

/* Search Tabs */
.search-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1.5px solid var(--rf-border);
  margin-bottom: 18px;
  padding-bottom: 0;
  list-style: none;
  padding-left: 0;
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap;
}
.search-tabs::-webkit-scrollbar { display: none; }
.search-tabs .nav-item { flex-shrink: 0; }

.search-tab-btn {
  background: none;
  border: none;
  border-bottom: 2.5px solid transparent;
  margin-bottom: -1.5px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--rf-text-muted);
  cursor: pointer;
  border-radius: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--rf-t), border-color var(--rf-t);
}
.search-tab-btn i { font-size: 13px; }
.search-tab-btn:hover { color: var(--rf-blue); }
.search-tab-btn.active {
  color: var(--rf-blue);
  border-bottom-color: var(--rf-blue);
  font-weight: 600;
}

/* Search fields layout */
.search-fields-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.search-field-group {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.search-field--city   { flex: 1; }
.search-field--area   { flex: 1.8; }
.search-field--type   { flex: 1; }
.search-field--bed    { flex: 0.9; }
.search-field--cta    { flex: 0 0 auto; width: 110px; }

.search-field-label {
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--rf-text-muted);
  margin-bottom: 5px;
  display: block;
  white-space: nowrap;
}

.search-select-wrapper { position: relative; }
.search-select-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--rf-text-muted);
  font-size: 13px;
  pointer-events: none;
  z-index: 2;
}

.search-select,
.search-input {
  padding-left: 30px;
  font-size: 13px;
  color: var(--rf-text);
  border: 1.5px solid var(--rf-border);
  border-radius: var(--rf-r-sm);
  height: 42px;
  background-color: #fff;
  width: 100%;
  outline: none;
  transition: border-color var(--rf-t), box-shadow var(--rf-t);
}
.search-select:focus,
.search-input:focus {
  border-color: var(--rf-blue);
  box-shadow: 0 0 0 3px rgba(20,85,204,0.10);
}
.search-input { padding-right: 10px; }
.search-input::placeholder { color: var(--rf-text-light); }

/* Popular areas — desktop */
.popular-areas {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.area-chip {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--rf-text-muted);
  background: var(--rf-bg-light);
  border: 1px solid var(--rf-border);
  border-radius: 20px;
  padding: 4px 11px;
  cursor: pointer;
  transition: color var(--rf-t), background var(--rf-t), border-color var(--rf-t);
  white-space: nowrap;
}
.area-chip:hover { color: var(--rf-blue); background: var(--rf-blue-soft); border-color: var(--rf-blue); }
.area-chip.active { color: var(--rf-blue); background: var(--rf-blue-soft); border-color: var(--rf-blue); font-weight: 600; }

/* Desktop search fields container */
.desktop-search-fields { min-height: 68px; }

/* ==============================================
   MOBILE SEARCH EXPERIENCE
   ============================================== */
.mobile-search { width: 100%; }

.mob-search-tabs {
  display: flex;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border-radius: 10px;
  padding: 4px;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: 12px;
}
.mob-search-tabs::-webkit-scrollbar { display: none; }

.mob-search-tab {
  flex: 1;
  min-width: 56px;
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: 7px;
  cursor: pointer;
  transition: background var(--rf-t), color var(--rf-t);
  white-space: nowrap;
}
.mob-search-tab.active {
  background: #fff;
  color: var(--rf-blue);
  font-weight: 700;
  box-shadow: 0 1px 4px rgba(0,0,0,0.12);
}

/* Search entry card */
.mob-search-entry {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: #fff;
  border: none;
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.18);
  cursor: pointer;
  text-align: left;
  transition: box-shadow var(--rf-t), transform 0.12s ease;
}
.mob-search-entry:active { transform: scale(0.99); }
.mob-search-entry-icon {
  font-size: 16px;
  color: var(--rf-blue);
  flex-shrink: 0;
}
.mob-search-entry-text {
  flex: 1;
  font-size: 14px;
  color: var(--rf-text-light);
}
.mob-search-entry-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--rf-blue);
  background: var(--rf-blue-soft);
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

/* ==============================================
   MOBILE FULL-SCREEN SEARCH SHEET
   ============================================== */
.mob-fs-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1199;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}
.mob-fs-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mob-fs-sheet {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.32, 0, 0.16, 1);
}
.mob-fs-sheet.open { transform: translateY(0); }

/* Sheet header */
.mob-fs-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px 12px;
  border-bottom: 1px solid var(--rf-border);
  flex-shrink: 0;
  background: #fff;
}
.mob-fs-back {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--rf-bg-light);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--rf-t);
}
.mob-fs-back:hover { background: var(--rf-border); }
.mob-fs-back i { font-size: 16px; color: var(--rf-navy); }
.mob-fs-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--rf-navy);
  margin: 0;
}

/* Sheet intent tabs */
.mob-fs-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1.5px solid var(--rf-border);
  overflow-x: auto;
  scrollbar-width: none;
  flex-shrink: 0;
  background: #fff;
  padding: 0 8px;
}
.mob-fs-tabs::-webkit-scrollbar { display: none; }
.mob-fs-tab {
  flex-shrink: 0;
  background: none;
  border: none;
  border-bottom: 2.5px solid transparent;
  margin-bottom: -1.5px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--rf-text-muted);
  cursor: pointer;
  transition: color var(--rf-t), border-color var(--rf-t);
  white-space: nowrap;
}
.mob-fs-tab.active {
  color: var(--rf-blue);
  border-bottom-color: var(--rf-blue);
  font-weight: 600;
}

/* Sheet scrollable body */
.mob-fs-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 16px 8px;
  overscroll-behavior: contain;
}

/* Fields */
.mob-fs-field {
  margin-bottom: 24px;
}
.mob-fs-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--rf-text-muted);
  margin-bottom: 10px;
}

/* Property type / option chips */
.mob-fs-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mob-fs-chip {
  background: var(--rf-bg-light);
  border: 1.5px solid var(--rf-border);
  color: var(--rf-text);
  font-size: 13.5px;
  font-weight: 500;
  padding: 9px 18px;
  border-radius: 10px;
  cursor: pointer;
  transition: color var(--rf-t), background var(--rf-t), border-color var(--rf-t);
  white-space: nowrap;
}
.mob-fs-chip:hover { border-color: var(--rf-blue); color: var(--rf-blue); background: var(--rf-blue-soft); }
.mob-fs-chip.active {
  background: var(--rf-blue);
  border-color: var(--rf-blue);
  color: #fff;
  font-weight: 600;
}

/* Area chips inside sheet */
.mob-fs-area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}
.mob-fs-area-chip {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--rf-text-muted);
  background: var(--rf-bg-light);
  border: 1px solid var(--rf-border);
  border-radius: 20px;
  padding: 5px 13px;
  cursor: pointer;
  transition: color var(--rf-t), background var(--rf-t), border-color var(--rf-t);
  white-space: nowrap;
}
.mob-fs-area-chip:hover { color: var(--rf-blue); background: var(--rf-blue-soft); border-color: var(--rf-blue); }
.mob-fs-area-chip.active { color: var(--rf-blue); background: var(--rf-blue-soft); border-color: var(--rf-blue); font-weight: 600; }

/* Fixed search CTA */
.mob-fs-footer {
  padding: 12px 16px;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--rf-border);
  flex-shrink: 0;
  background: #fff;
}
.mob-fs-search-btn {
  width: 100%;
  height: 52px;
  background: var(--rf-blue);
  color: #fff;
  border: none;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--rf-t), box-shadow var(--rf-t);
}
.mob-fs-search-btn:hover { background: var(--rf-blue-dark); box-shadow: 0 4px 16px rgba(20,85,204,0.35); }

body.fs-sheet-open { overflow: hidden; }

/* Search CTA button */
.search-btn {
  height: 42px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--rf-r-sm);
  padding: 0 14px;
  white-space: nowrap;
}

/* Roofy Widget — desktop */
.roofy-widget {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 20px 18px 18px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  width: 220px;
  border: 1px solid rgba(255,255,255,0.7);
}
.roofy-widget-mobile {
  width: 100%;
  border-radius: 12px;
  padding: 14px 16px;
}
.roofy-widget-mobile img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
}
.roofy-widget-mobile .roofy-greeting    { font-size: 14px; }
.roofy-widget-mobile .roofy-desc        { font-size: 11.5px; margin-bottom: 0; }
.roofy-widget-mobile .btn-primary-brand { font-size: 12px; padding: 7px 14px; white-space: nowrap; }
.roofy-widget-img-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}
.roofy-widget-img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  display: block;
}
.roofy-greeting {
  font-size: 15px;
  font-weight: 700;
  color: var(--rf-navy);
  line-height: 1.3;
  text-align: center;
}
.roofy-desc {
  font-size: 12px;
  color: var(--rf-text-muted);
  line-height: 1.55;
  margin-bottom: 14px;
  text-align: center;
}
.roofy-widget .btn-primary-brand {
  font-size: 12.5px;
  padding: 8px 14px;
  border-radius: 6px;
  margin-bottom: 8px;
}
.roofy-waitlist-link {
  font-size: 12px;
  color: var(--rf-text-muted);
  text-align: center;
  display: block;
}

/* ==============================================
   SECTION SCROLL ROW — horizontal scroll on mobile, grid on desktop
   ============================================== */
.section-scroll-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.section-scroll-row--5col {
  grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 991px) {
  .section-scroll-row,
  .section-scroll-row--5col {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .section-scroll-row,
  .section-scroll-row--5col {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding-bottom: 4px;
    padding-right: 24px;
  }
  .section-scroll-row::-webkit-scrollbar,
  .section-scroll-row--5col::-webkit-scrollbar { display: none; }

  .section-scroll-item {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .section-scroll-item .goal-card,
  .locality-scroll-item .locality-card,
  .feature-scroll-item .feature-card,
  .blog-scroll-item .blog-card {
    height: 100%;
  }

  .goal-scroll-item     { width: 148px; }
  .locality-scroll-item { width: 230px; }
  .feature-scroll-item  { width: 240px; }
  .blog-scroll-item     { width: 220px; }
}

/* ==============================================
   SECTION SHARED
   ============================================== */
.section-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--rf-navy);
  line-height: 40px;
  letter-spacing: 0.5px;    text-transform: capitalize;
}
.section-subtitle {
  font-size: 16px;
  color: var(--rf-text-muted);
  margin-top: 3px;
}
.section-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--rf-blue);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}
.section-link:hover { color: var(--rf-blue-dark); }
.section-link i { font-size: 12px; }

/* City tab bar (shared by Goals, Projects, Locality) */
.city-tab-bar {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}
.city-tab-bar::-webkit-scrollbar { display: none; }

.city-tab-btn {
  background: var(--rf-white);
  border: 1.5px solid var(--rf-border);
  color: var(--rf-text-muted);
  font-size: 13px;
  font-weight: 500;
  padding: 7px 20px;
  border-radius: 24px;
  cursor: pointer;
  white-space: nowrap;
  transition: color var(--rf-t), background var(--rf-t), border-color var(--rf-t), box-shadow var(--rf-t);
}
.city-tab-btn:hover { color: var(--rf-blue); border-color: var(--rf-blue); background: var(--rf-blue-soft); }
.city-tab-btn.active {
  background: var(--rf-blue);
  border-color: var(--rf-blue);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(20,85,204,0.25);
}

/* ==============================================
   EXPLORE BY CITY
   ============================================== */
#exploreCities { padding: 48px 0; }

.city-card {
  height: 220px;
  border-radius: var(--rf-r-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  display: block;
  background-color: #1A2332;
}
a.city-card { text-decoration: none; }
a.city-card:hover { color: inherit; }

.city-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.45s ease;
}
.city-card:hover .city-card-img { transform: scale(1.08); }

.city-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.20) 55%, rgba(0,0,0,0.5) 100%);
}

.city-card-arrow {
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--rf-t);
  cursor: pointer;
  z-index: 2;
}
.city-card:hover .city-card-arrow { opacity: 1; }
.city-card-arrow i { font-size: 12px; color: #111; }

.city-card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 16px;
  z-index: 2;
}
.city-name {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
  line-height: 1.2;
}
.city-count {
  font-size: 12px;
  color: rgba(255,255,255,0.80);
  margin-bottom: 8px;
}
.locality-chip {
  display: inline-block;
  background: rgba(255,255,255,0.16);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.28);
  color: rgba(255,255,255,0.95);
  font-size: 10.5px;
  font-weight: 500;
  padding: 2px 9px;
  border-radius: 20px;
  line-height: 1.5;
}

/* ==============================================
   EXPLORE BY GOAL
   ============================================== */
#exploreGoals { padding: 48px 0; background: var(--rf-bg-light); }

.goal-card {
  border: 1px solid var(--rf-border);
  border-radius: var(--rf-r-md);
  background: #fff;
  padding: 20px 14px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  transition: border-color var(--rf-t), box-shadow var(--rf-t), transform var(--rf-t);
  min-height: 130px;
  height: 100%;
}
.goal-card:hover {
  border-color: var(--rf-blue);
  box-shadow: var(--rf-shadow-md);
  transform: translateY(-3px);
}
.goal-icon {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  background: var(--rf-blue-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  flex-shrink: 0;
}
.goal-icon i { font-size: 21px; }
.goal-icon.goal-icon-orange { background: #FFF3E0; }
.goal-icon.goal-icon-orange i { color: var(--rf-orange) !important; }
.goal-icon.goal-icon-green { background: #E8F9F0; }
.goal-icon.goal-icon-green i { color: var(--rf-green) !important; }
.goal-icon.goal-icon-amber { background: var(--rf-amber-bg); }
.goal-icon.goal-icon-amber i { color: var(--rf-amber) !important; }
.goal-title {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--rf-navy);
  margin-bottom: 4px;
  line-height: 1.3;
}
.goal-desc {
  font-size: 11px;
  color: var(--rf-text-muted);
  line-height: 1.45;
  margin-bottom: 0;
}

/* ==============================================
   FEATURED PROJECTS
   ============================================== */
#featuredProjects { padding: 48px 0; }

.section-subtitle-inline {
  font-size: 12.5px;
  font-weight: 400;
  color: var(--rf-text-muted);
  vertical-align: middle;
}

#projectsCarouselWrapper { position: relative; }

#projectsCarousel {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 4px;
  cursor: grab;
  scroll-snap-type: x mandatory;
}
#projectsCarousel::-webkit-scrollbar { display: none; }
#projectsCarousel:active { cursor: grabbing; }

.project-slide {
  flex: 0 0 210px;
  scroll-snap-align: start;
}

.project-card {
  border: 1px solid var(--rf-border);
  border-radius: var(--rf-r-md);
  overflow: hidden;
  background: #fff;
  transition: box-shadow var(--rf-t), transform var(--rf-t);
}
.project-card:hover {
  box-shadow: var(--rf-shadow-md);
  transform: translateY(-3px);
}

.project-card-img-wrapper {
  position: relative;
  height: 150px;
  overflow: hidden;
}
.project-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.project-card:hover .project-card-img { transform: scale(1.04); }

.project-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 9px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 3px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  z-index: 2;
}
.badge-new-launch { background: #15803D; color: #fff; }
.badge-premium    { background: #92400E; color: #fff; }

.project-wishlist {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background var(--rf-t);
}
.project-wishlist i { font-size: 13px; color: #9CA3AF; transition: color var(--rf-t); }
.project-wishlist:hover i { color: #E53935; }

.project-card-meta {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 6px 8px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  background: linear-gradient(to top, rgba(0,0,0,0.58) 0%, transparent 100%);
}
.project-builder-badge {
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  background: rgba(0,0,0,0.45);
  letter-spacing: 0.4px;
  color: #fff;
}
.project-possession {
  font-size: 10px;
  color: rgba(255,255,255,0.90);
  display: flex;
  align-items: center;
  gap: 3px;
}
.project-possession i { font-size: 10px; }

.project-card-body { padding: 10px 12px 12px; }
.project-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--rf-navy);
  margin-bottom: 3px;
  line-height: 1.3;
}
.project-location {
  font-size: 11px;
  color: var(--rf-text-muted);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 3px;
}
.project-location i { font-size: 11px; }
.project-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--rf-navy);
  margin-bottom: 2px;
}
.project-price span { font-size: 11px; font-weight: 400; color: var(--rf-text-muted); }
.project-config {
  font-size: 11px;
  color: var(--rf-text-muted);
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 3px;
}

.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--rf-border);
  box-shadow: var(--rf-shadow-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background var(--rf-t), border-color var(--rf-t);
}
.carousel-nav-btn i { font-size: 13px; color: #374151; }
.carousel-nav-btn:hover { background: var(--rf-blue); border-color: var(--rf-blue); }
.carousel-nav-btn:hover i { color: #fff; }
.carousel-prev { left: -17px; }
.carousel-next { right: -17px; }

/* ==============================================
   LOCALITY SPOTLIGHT
   ============================================== */
#localitySpotlight { padding: 48px 0; background: var(--rf-bg-light); }

.locality-card {
  border: 1px solid var(--rf-border);
  border-radius: var(--rf-r-md);
  background: #fff;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  transition: border-color var(--rf-t), box-shadow var(--rf-t), transform var(--rf-t);
}
.locality-card:hover {
  border-color: var(--rf-blue);
  box-shadow: var(--rf-shadow-sm);
  transform: translateY(-2px);
}
.locality-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--rf-blue-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.locality-icon i { font-size: 22px; color: var(--rf-blue); }
.locality-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--rf-navy);
  margin-bottom: 2px;
}
.locality-tag {
  font-size: 12px;
  color: var(--rf-text-muted);
  margin-bottom: 4px;
}
.locality-price {
  font-size: 13px;
  font-weight: 600;
  color: var(--rf-green);
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 3px;
}
.locality-price i { font-size: 12px; }

/* ==============================================
   WHY CHOOSE US
   ============================================== */
#whyChooseUs { padding: 48px 0; background: var(--rf-bg-light); }

.feature-card {
  border: 1px solid var(--rf-border);
  border-radius: var(--rf-r-md);
  padding: 24px 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  transition: box-shadow var(--rf-t);
  height: 100%;
}
.feature-card:hover { box-shadow: var(--rf-shadow-md); }
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--rf-blue-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-icon i { font-size: 24px; color: var(--rf-blue); }
.feature-title {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--rf-navy);
  margin-bottom: 5px;
}
.feature-desc {
  font-size: 12.5px;
  color: var(--rf-text-muted);
  line-height: 1.55;
  margin-bottom: 0;
}

/* ==============================================
   STATS BAR
   ============================================== */
.section-stats {
    padding: 120px 0;
    background-image: url(../images/counter-bg-2.jpeg);
    position: relative;
    background-attachment: fixed;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 0;
}
.section-stats::before {
    background: var(--rf-stats-bg) !important;
    bottom: 0;
    content: "";
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    z-index: -1;
    opacity: .9;
    transition: background .3s, border-radius .3s, opacity .3s;
}
.stat-item { padding: 0; }
.stat-value {
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 16px;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  margin-bottom: 0;
}
@media (min-width: 992px) {
  .stat-item {
    padding: 0 20px;
    border-right: 1px solid rgba(255,255,255,0.10);
  }
  #statsGrid .col-lg:last-child .stat-item { border-right: none; }
}

/* ==============================================
   ROOFY AI BANNER
   ============================================== */
#roofyBanner { padding: 40px 0; background: var(--rf-bg-light); }

.roofy-banner {
  border: 1px solid var(--rf-border);
  border-radius: var(--rf-r-lg);
  background: #fff;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  box-shadow: var(--rf-shadow-xs);
}
.roofy-banner img { object-fit: contain; }
.roofy-banner-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--rf-blue);
  margin-bottom: 4px;
  line-height: 1.3;
}
.roofy-banner-subtitle {
  font-size: 13px;
  color: var(--rf-text-muted);
  margin-bottom: 10px;
}
.roofy-feature-tag {
  font-size: 11.5px;
  color: var(--rf-text-muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.roofy-feature-tag i { font-size: 11px; color: var(--rf-blue); }

.roofy-waitlist {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
#waitlistEmail {
  width: 220px;
  font-size: 13px;
  border: 1px solid var(--rf-border);
  border-radius: var(--rf-r-sm);
  padding: 7px 12px;
  color: var(--rf-text);
  outline: none;
  transition: border-color var(--rf-t);
}
#waitlistEmail:focus { border-color: var(--rf-blue); box-shadow: 0 0 0 3px rgba(20,85,204,0.10); }
#notifyMeBtn {
  font-size: 13px;
  font-weight: 600;
  padding: 7px 18px;
  white-space: nowrap;
  border-radius: var(--rf-r-sm);
}
.roofy-below-note {
  font-size: 11.5px;
  color: var(--rf-text-muted);
  text-align: center;
  margin-top: 8px;
  margin-bottom: 0;
}

/* ==============================================
   PROPERTY INSIGHTS & TRENDS
   ============================================== */
#propertyInsights { padding: 48px 0; }

/* Desktop "View All" link in header */
.insight-view-all {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: var(--rf-blue);
  padding: 8px 16px;
  border: 1.5px solid var(--rf-blue);
  border-radius: 8px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background var(--rf-t), color var(--rf-t);
}
.insight-view-all:hover { background: var(--rf-blue); color: #fff; }
.insight-view-all i { font-size: 11px; }

/* Carousel wrapper — holds the track + arrow buttons */
.insight-carousel-wrap { padding: 0; }

/* Single-row scroll track */
.insight-carousel {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 4px;
  scroll-snap-type: x mandatory;
  cursor: grab;
}
.insight-carousel:active { cursor: grabbing; }
.insight-carousel::-webkit-scrollbar { display: none; }

/* Each slide: fixed width for 4-up display */
.insight-slide {
  flex: 0 0 calc(25% - 11px);
  scroll-snap-align: start;
}

/* Card */
.insight-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--rf-border);
  border-radius: var(--rf-r-md);
  overflow: hidden;
  background: #fff;
  text-decoration: none;
  color: var(--rf-text);
  box-shadow: var(--rf-shadow-xs);
  transition: box-shadow var(--rf-t), transform var(--rf-t), border-color var(--rf-t);
}
.insight-card:hover {
  box-shadow: var(--rf-shadow-md);
  transform: translateY(-3px);
  border-color: rgba(20,85,204,0.15);
  color: var(--rf-text);
}

/* Image — fixed 16:9 aspect */
.insight-img-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--rf-bg-light);
  flex-shrink: 0;
}
.insight-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.42s ease;
}
.insight-card:hover .insight-img { transform: scale(1.05); }

/* Category badge */
.insight-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
  line-height: 1.4;
}
.insight-badge--trend   { background: rgba(20,85,204,0.88);   color: #fff; }
.insight-badge--guide   { background: rgba(22,163,74,0.88);   color: #fff; }
.insight-badge--city    { background: rgba(234,108,0,0.88);   color: #fff; }
.insight-badge--loan    { background: rgba(13,27,42,0.82);    color: #fff; }
.insight-badge--locality{ background: rgba(161,98,7,0.88);    color: #fff; }
.insight-badge--legal   { background: rgba(107,114,128,0.88); color: #fff; }

/* Body */
.insight-body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}
.insight-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--rf-navy);
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.insight-card:hover .insight-title { color: var(--rf-blue); }
.insight-meta {
  font-size: 11.5px;
  color: var(--rf-text-light);
  margin: 0 0 0 auto;
  display: flex;
  align-items: center;
  gap: 5px;
  align-self: flex-start;
  margin-top: auto;
}
.insight-meta i { font-size: 11px; }

/* Mobile "View All" button — hidden on desktop */
.insight-view-all-mobile {
  display: none;
  justify-content: center;
  margin-top: 24px;
}

/* Tablet — show 2 at a time */
@media (max-width: 991px) {
  .insight-slide { flex: 0 0 calc(50% - 7px); }
}

/* Mobile — full swipe carousel, 1 + peek */
@media (max-width: 767px) {
  #propertyInsights { padding: 32px 0; }
  .insight-view-all-mobile { display: flex; }

  .insight-carousel {
    gap: 12px;
    padding-bottom: 4px;
    margin: 0 -16px;
    padding-left: 16px;
    padding-right: 40px;
  }

  .insight-slide {
    flex: 0 0 78vw;
    max-width: 300px;
  }
}
/* ==============================================
   FAQ
   ============================================== */

/* ------ FAQ Section ------ */
#cityFaq { padding: 48px 0; }

.faq-accordion .faq-item {
  border: 1px solid var(--rf-border);
  border-radius: var(--rf-r-sm) !important;
  margin-bottom: 10px;
}
.faq-accordion .faq-btn {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--rf-navy);
  background: #fff;
  padding: 14px 18px;
  box-shadow: none;
}
.faq-accordion .faq-btn:not(.collapsed) {
  color: var(--rf-blue);
  background: rgba(20,85,204,0.04);
}
.faq-accordion .faq-btn::after {
  filter: none;
  opacity: 0.5;
}
.faq-accordion .faq-btn:not(.collapsed)::after { opacity: 1; }
.faq-body {
  font-size: 13px;
  color: var(--rf-text);
  line-height: 1.6;
  padding: 4px 18px 16px;
  background: #fff;
}
/* ==============================================
   FOOTER
   ============================================== */
.site-footer {
  background: var(--rf-footer-bg);
  padding: 52px 0 0;
}
.site-footer .col-lg-3 {width: 18%!important;}
.site-footer .col-lg-4 {width: 28%!important;}
.footer-second .social-links {margin-bottom:15px;}
.footer-second {margin-top:15px;}
.footer-second .comapany-links li {display: inline-block!important;background: rgba(255, 255, 255, 0.09);padding: 10px;margin-right: 10px;}
.footer-logo {
  height: 38px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.footer-tagline {
  font-size: 12.5px;
  color: var(--rf-footer-text);
  line-height: 1.65;
  margin-top: 12px;
  margin-bottom: 22px;
}
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  background: rgba(255,255,255,0.09);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--rf-footer-text);
  font-size: 14px;
  transition: background var(--rf-t), color var(--rf-t);
}
.social-link:hover { background: var(--rf-blue); color: #fff; }
.footer-col-heading {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.2px;
  margin-bottom: 16px;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 12.5px;
  color: var(--rf-footer-text);
  transition: color var(--rf-t);
  line-height: 1.4;
}
.footer-links a:hover { color: #fff; }
.footer-divider {
  border: none;
  border-top: 1px solid var(--rf-footer-border);
  margin: 36px 0 18px;
}
.footer-copyright {
  font-size: 12px;
  color: var(--rf-footer-text);
  text-align: center;
  padding-bottom: 22px;
  margin-bottom: 0;
}

/*
================================================
		  Footer
================================================
*/
.mobile-footer-view     {display:none;}
.footer 				{ clear:both;}
.top-most-foot 			{background: #363636;border-bottom: 1px solid #4a4a4a;}
.footer-1 .footer-block {padding: 50px 0 35px;}
.second-form-footer .footer-block {padding: 15px 0 35px;}
.footer-1 .footer-block h3.footer-block-title {font-weight: 600;font-size: 15px;color: #ffffff; margin-bottom: 15px;}
.footer-1 .footer-block .footer-block-content {margin-bottom: 10px;}
.footer-1 .footer-block .footer-block-content li 	{ line-height: 25px;}
.footer-1 .footer-block .footer-block-content li a 	{display: inline-block;border: 0 none;color: #c9c9c9; padding: 4px 0;font-weight: 400;
 font-size: 13px;}
 .footer-1 .footer-block .footer-block-content li a:hover { text-decoration:none!important;}
 .footer-1 .footer-block.footer-address .links-contact li.email {padding-top: 9px; margin: 10px 0 16px;}
.footer-1 .footer-block.footer-address .links-contact li.phone { padding-top: 7px;}
.footer-1 .footer-block.footer-address .links-contact li {line-height: 25px;font-size: 13px;color: #8c8c8c;}
.footer-1 .footer-block.footer-address .links-contact li i { margin-right:10px; font-size:16px;}
.footer-1 .footer-bottom									 {color: #666;font-size: 12px;background: #252525;}
.footer-1 .footer-bottom .contain 							 {padding: 15px 0;border-top: 1px solid rgba(255,255,255,0.1);}
.footer-1 .footer-bottom .ft-copyright 						 {text-align: left; margin-bottom: 0;}
.footer-1 .footer-bottom a									 {color: #fff;text-decoration: none;}
.footer-social-media li                                      { color:#FFFFFF; display:inline-block;margin-right: 30px;}
.footer-social-media li i                                    { font-size:16px;}
.footer-social-media                                         { float:right;}
.footer-center                                               {background: #252525;}
.content-section2 				{background: #363636;border-bottom: 1px solid #4a4a4a;}
.widget-services.style-df 		{margin-bottom: 0; height:65px;}
.widget-services.style-df .home-services 				  { clear: both;font-size: 14px;text-transform: uppercase;width: 100%;padding: 5px 0;}
.widget-services.style-df .home-services .services-inline {cursor: pointer;text-align: center; position: relative;}
.widget-services.style-df .home-services .services-inline {cursor: pointer;text-align: center;}
.widget-services.style-df .home-services .single-track 	  { border-right: 1px solid #4a4a4a;float: left;line-height: 19px;padding: 10px 70px 10px;}
.widget-services.style-df .home-services .services-inline .service-ico {margin-top: -6px; float: left;position: relative;line-height: 100%;color: #7f7f7f;position: relative;}
.widget-services.style-df .home-services .services-inline .service-ico i 	{font-size: 42px;}
.widget-services.style-df .home-services .services-inline .service-info 	{ margin-left: 10px;float: left;text-align: center;}
.widget-services.style-df .home-services .services-inline .service-info .title 	{ margin-top: 0; margin-bottom: 0; -webkit-transition: all 0.3s ease;-moz-transition: all 0.3s ease;-ms-transition: all 0.3s ease;-o-transition: all 0.3s ease;transition: all 0.3s ease;font-weight: 600; margin: 0;line-height: 100%;color: #fff;font-size: 14px;text-transform: uppercase;line-height: 100%;}
.widget-services.style-df .home-services .services-inline .service-info .des 	{text-transform: capitalize;line-height: 18px;color: #999999;
 margin-bottom: 0; font-weight: 600;font-size: 12px; -webkit-transition: all 0.3s ease; -moz-transition: all 0.3s ease;-ms-transition: all 0.3s ease;-o-transition: all 0.3s ease;transition: all 0.3s ease; line-height:25px;}
 .links-contact i {position: relative;display: inline-block; width: 38px;height: 38px;color: #fff;line-height: 38px; text-align: center;margin-right: 3px; margin-bottom: 10px; z-index: 1;}
.links-contact i::before {position: absolute;left: 0; top: 0;width: 100%;height: 100%;z-index: -1;border: 1px solid #4C4C4C;background-color: rgba(102,102,102,0.6);;-webkit-border-radius: 0px;-moz-border-radius: 0px;border-radius: 0px;-webkit-transition: all ease .238s;-moz-transition: all ease .238s;
transition: all ease .238s;}
.links-contact .email span{ margin:5px 0px;}
.links-contact .phone span{ margin:5px 0px;}
.partner-home .footer-block { padding:0px!important;}
.partner-home .footer-block .footer-block-content li {display:inline-block; margin-right:75px;}
.partner-home .home-partner-T {font-weight: 600;font-size: 15px;color: #ffffff;}
.partner-home {padding-left:30px;}
#footer-block 				{background-size: cover; background-position: center center;background-attachment: fixed;background-size: cover;background-position: center center; clear:both;}
.social 					{background-color:#0c0520; padding: 40px 0 0 0;}
.social .socials 			{text-align: left;}
.social .socials a 			{display: inline-block; width: 40px;height: 40px;text-align: center;margin: 20px 10px 20px 0;text-decoration: none;color: #fff;vertical-align: middle;
-webkit-transition: all 0.3s ease; -moz-transition: all 0.3s ease;-o-transition: all 0.3s ease;-ms-transition: all 0.3s ease;transition: all 0.3s ease;line-height: 40px; border: 1px solid #ccc7c7;font-size: 20px;}
.social .socials a:hover     {background-color: #ffffff;color: #eb2c33;border-color: #ffffff;}
.socials .fa				 { margin-top:8px;}
.social form 				 { margin: 20px 0; position: relative;}
.social form input 			 {border: 1px solid #666;height: 40px; padding: 5px 10px;background: none;color: #eaeaea;}
.social form ::-webkit-input-placeholder {color: #aaa;}
.social form :-moz-placeholder {color: #aaa;}
.social form ::-moz-placeholder {color: #aaa;}
.social form :-ms-input-placeholder {color: #aaa;}
.social form button 		  { position: absolute;right: 0;top: 0;border: none;border-left: none;height: 40px; width: auto;background: none; color: #eaeaea;-webkit-transition: all 0.3s ease;-moz-transition: all 0.3s ease;-o-transition: all 0.3s ease;-ms-transition: all 0.3s ease; transition: all 0.3s ease;}
.header-footer .footer-title  {margin: 10px 0;text-transform: uppercase;color: #ccc;font-weight: 500;line-height: 1.1;font-size: 20px;}
.header-footer 				  {position: relative; border-bottom: 1px solid #666;margin-bottom: 10px;}
.social form button:hover 	  {color: #eb2c33;}
.footer-copy                  {padding: 15px 0 5px; text-align:center;}
.footer-copy a 				  {color: #eb2c33;}
.footer-copy .logo-copy 	  {display: inline-block;width: 104px;height: 52px;margin-right: 10px;}
.footer-copy p				  {display: inline-block; height: 42px;line-height: 16px;  padding: 10px 0 0 10px;margin: 0;font-size: 12px;color: #ccc;}
.footerlogo img				  { height:50px;}
.footer-information 		  {font-size: 13px;padding: 40px 0 0 0;background-color:#0c0520;}
.footer-information p         {color: #fff;}
.footer-information a 		  {color: #fff; text-decoration: none; line-height: 32px; font-size:14px; font-weight:400;}
.footer-information a:hover   {color: #ffffff;}
.footer-information .footer-categories {margin: 0; list-style-type: none;}
.footer-information .footer-categories li {list-style-type: none;}
.color-scheme-1 			  {background-color: #1c1333;}
.want form 					  { margin: 20px 0;position: relative;}
.want form textarea 		  { border: 1px solid #666; height: 100px; padding: 5px 10px; background: none; color: #eaeaea;}
.want a						  {padding: 10px 95px;border: 1px solid #666;}
.want form ::-webkit-input-placeholder {color: #aaa;}
.want form :-moz-placeholder  {color: #aaa;}
.want form ::-moz-placeholder {color: #aaa;}
.want form :-ms-input-placeholder {color: #aaa;}
.want form button:hover 	  {color: #eb2c33;}
.want form button			  {position: absolute; right: 0; bottom: 0; border-left: none; border: none; height: 40px; width: 80px; background: none; color: #eaeaea;-webkit-transition: all 0.3s ease;-moz-transition: all 0.3s ease;  -o-transition: all 0.3s ease; -ms-transition: all 0.3s ease; transition: all 0.3s ease;}
#footer-info .short-details {    max-height: 140px;}
#footer-info .show-more-dec { background-color: transparent;color: white;font-weight: 600;border: none; margin-left:0px!important;}
#footer-info .short-details#opens {    max-height: 2000px!important;}

.partner-sites .footer-title { display:inline-block!important;font-size: 16px;color: white;}
.partner-sites .footer-categories { display:inline-block!important; margin-bottom:0px!important;}
.partner-sites {margin: 20px 10px 20px 0; padding:10px 0px;}
.partner-sites .footer-categories li {padding-left:10px;}
.partner-sites .footer-categories li a {color: #aaa;}
.partner-sites .footer-categories li a:hover {color: #fff;}
.copy-right {text-align:left;}
.copy-right p {font-weight:500;}
.comapny-link ul li {display:inline-block!important;height: 42px;line-height: 16px;padding: 10px 0 0 10px;margin: 0;font-size: 12px;}
.comapny-link ul  {margin-bottom:0px; font-weight:500;}
.comapny-link ul li a {color: #ccc!important;}

/* ==============================================
   RESPONSIVE
   ============================================== */

/* Tablet */
@media (max-width: 1199px) {
  .carousel-prev { left: -4px; }
  .carousel-next { right: -4px; }
  .mega-inner { padding: 22px 16px; }
}

/* Below 1024 — hide mega, show mobile nav behavior */
@media (max-width: 991px) {
  .hero-section { padding: 36px 0 36px; min-height: auto; }
  .hero-headline { font-size: 28px; }
  .city-card { height: 195px; }
  .roofy-banner { flex-wrap: wrap; }
  .roofy-waitlist { width: 100%; }
  #waitlistEmail { flex: 1; }
  .stat-value { font-size: 28px; }
  .search-fields-row { flex-wrap: wrap; }
  .search-field--city,
  .search-field--area,
  .search-field--type,
  .search-field--bed { flex: 1 1 calc(50% - 5px); }
  .search-field--cta { flex: 0 0 100%; width: 100%; }
}

/* Mobile */
@media (max-width: 767px) {
  .hero-section { padding: 28px 0 32px; }
  .hero-headline { font-size: 24px; letter-spacing: -0.3px; }
  .hero-subtext { font-size: 13.5px; }
  .section-title { font-size: 18px; }
  .stat-value { font-size: 24px; }
  .project-card-img-wrapper { height: 130px; }
  .roofy-banner { padding: 18px; }
  .roofy-banner-title { font-size: 15px; }
  .roofy-waitlist { flex-direction: column; }
  #waitlistEmail { width: 100%; }
  #exploreCities { padding: 32px 0; }
  #exploreGoals, #featuredProjects, #localitySpotlight, #whyChooseUs { padding: 32px 0; }
  .city-card { height: 180px; }
  /* 2x2 grid on mobile for city section */
  .city-grid-4 .col-6 .city-card { height: 160px; }
  .city-name { font-size: 15px; }
  .city-count { font-size: 11px; margin-bottom: 5px; }
  .comapny-link {text-align:left;}
  .social form {display:none;}
}

@media (max-width: 575px) {
  .hero-headline { font-size: 22px; }
  .goal-card { min-height: 110px; padding: 14px 8px; }
  .project-slide { flex: 0 0 190px; scroll-snap-align: start; }
  .locality-card { padding: 14px 16px; gap: 12px; }
  .locality-icon { width: 40px; height: 40px; }
  .locality-icon i { font-size: 18px; }
}

/* Prevent body scroll when mobile menu / bottom sheet open */
body.menu-open,
body.sheet-open {
  overflow: hidden;
}
