:root {
  --navy: #0b2d5e;
  --navy-dark: #071f42;
  --blue: #1e6fd9;
  --yellow: #ffc727;
  --yellow-dark: #f5b800;
  --text: #212529;
  --muted: #6c757d;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --reveal-duration: 0.65s;
}

/* Prevent horizontal overflow on mobile (iOS / narrow viewports) */
html {
  overflow-x: hidden;
  max-width: 100%;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
}
body.page-preloader-active {
  overflow: hidden;
}

img,
svg,
video,
canvas {
  max-width: 100%;
  height: auto;
}

/* Bootstrap rows use negative margins; keep horizontal scroll inside sections only */
.container,
.container-fluid {
  max-width: 100%;
}
.row > * {
  min-width: 0;
}
@media (max-width: 575px) {
  /* Tighter gutter on phones so negative row margins don't exceed viewport */
  .row {
    --bs-gutter-x: 0.75rem;
  }
}

/* ---------- Page preloader ---------- */
.page-preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #f7f9fc 0%, #e8eef5 45%, #fff 100%);
  transition: opacity 0.55s var(--ease-out), visibility 0.55s step-end;
}
.page-preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem;
  animation: preloaderPop 0.7s var(--ease-out) forwards;
}
.page-preloader-logo {
  width: min(72vw, 260px);
  height: auto;
  max-height: 28vh;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(7, 31, 66, .12));
}
.page-preloader-bar {
  width: min(200px, 50vw);
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--yellow) 50%, var(--blue) 100%);
  background-size: 200% 100%;
  animation: preloaderShimmer 1.1s ease-in-out infinite;
}
.page-preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
@keyframes preloaderPop {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes preloaderShimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

h1, h2, h3, h4, h5, h6, .btn {
  font-family: 'Exo 2', sans-serif;
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy);
  color: #fff;
  font-size: .82rem;
  padding: .45rem 0;
}
.topbar-inner { row-gap: .35rem; }
.topbar-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem .85rem;
  min-width: 0;
}
.topbar-item { margin-right: 0; max-width: 100%; }
.topbar-item--address {
  flex-basis: 100%;
  font-size: .78rem;
  line-height: 1.35;
}
.topbar-item--address span {
  overflow-wrap: anywhere;
  word-break: break-word;
}
@media (min-width: 576px) {
  .topbar-item--address { flex-basis: auto; font-size: inherit; }
}
.topbar-item i { color: var(--yellow); margin-right: .35rem; flex-shrink: 0; }
.topbar-lang {
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, .12);
  padding: .1rem .8rem;
  border-radius: 20px;
}
.topbar-lang:hover { color: var(--yellow); }

/* ---------- Navbar ---------- */
.main-nav {
  background: #fff;
  box-shadow: 0 2px 12px rgba(7, 31, 66, .08);
  padding: .6rem 0;
  transition: box-shadow .35s var(--ease-out), padding .35s var(--ease-out);
}
.main-nav.nav-scrolled {
  padding: .38rem 0;
  box-shadow: 0 6px 20px rgba(7, 31, 66, .12);
}
.site-logo {
  height: 52px;
  width: auto;
  max-width: min(240px, 55vw);
  display: block;
  object-fit: contain;
  object-position: left center;
  transition: height .35s var(--ease-out);
}
.main-nav.nav-scrolled .site-logo { height: 44px; }
.site-logo--footer {
  height: 48px;
  max-width: 220px;
  object-position: left center;
}
@media (max-width: 575px) {
  .site-logo { height: 44px; max-width: min(200px, 62vw); }
  .main-nav.nav-scrolled .site-logo { height: 38px; }
}
.main-nav .nav-link {
  font-weight: 600;
  color: var(--navy);
  margin: 0 .35rem;
  padding-bottom: .35rem;
  position: relative;
}
.main-nav .nav-link::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 0;
  width: 0; height: 3px;
  background: var(--yellow);
  border-radius: 3px;
  transform: translateX(-50%);
  transition: width .25s;
}
.main-nav .nav-link.active::after,
.main-nav .nav-link:hover::after { width: 60%; }
.btn-login {
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  border-radius: 30px;
  padding: .5rem 1.3rem;
}
.btn-login:hover { background: var(--blue); color: #fff; }

@media (max-width: 991px) {
  .main-nav-collapse {
    margin-top: .5rem;
    padding-bottom: .5rem;
    border-top: 1px solid #eee;
  }
  .main-nav .nav-link {
    padding: .55rem 0;
    margin: 0;
  }
  .main-nav .nav-link::after { display: none; }
  .main-nav .nav-link.active {
    color: var(--blue);
  }
}
.toggler-bars { display: inline-flex; flex-direction: column; gap: 5px; padding: 4px 2px; }
.toggler-bars span {
  display: block;
  width: 24px; height: 3px;
  background: var(--navy);
  border-radius: 3px;
}

/* ---------- Inner page hero ---------- */
.page-hero-inner {
  background:
    linear-gradient(105deg, rgba(7, 31, 66, .92) 0%, rgba(11, 45, 94, .75) 55%, rgba(30, 111, 217, .35) 100%),
    url('../images/hero-villa.png') 80% center / cover no-repeat;
  color: #fff;
  padding: 2.8rem 0 3.2rem;
}
.page-hero-inner--alt {
  background:
    linear-gradient(105deg, rgba(7, 31, 66, .92) 0%, rgba(11, 45, 94, .78) 50%, rgba(7, 31, 66, .65) 100%),
    url('../images/about-aerial.png') center / cover no-repeat;
}
.page-hero-inner h1 {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 800;
  font-style: italic;
  margin: 0 0 .5rem;
}
.page-hero-inner .page-lead {
  opacity: .9;
  font-size: .95rem;
  max-width: 36rem;
  margin: 0;
}
.breadcrumb-nav {
  font-size: .82rem;
  margin-bottom: .85rem;
  opacity: .88;
}
.breadcrumb-nav a {
  color: var(--yellow);
  text-decoration: none;
}
.breadcrumb-nav a:hover { text-decoration: underline; }
.breadcrumb-nav span { opacity: .75; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  overflow-x: hidden;
  background:
    linear-gradient(100deg, rgba(7, 31, 66, .88) 0%, rgba(11, 45, 94, .65) 45%, rgba(11, 45, 94, .05) 75%),
    url('../images/hero-villa.png') 88% center / cover no-repeat;
  background-color: var(--navy-dark);
  color: #fff;
  padding: 5.5rem 0 8.5rem;
  animation: heroBgShift 24s ease-in-out infinite alternate;
}
.hero .container { position: relative; z-index: 1; }
@keyframes heroBgShift {
  from {
    background-position: 0 0, 88% center;
  }
  to {
    background-position: 0 0, 78% 48%;
  }
}
.hero-text > * {
  opacity: 0;
  transform: translateY(22px);
  animation: heroLineIn 0.78s var(--ease-out) forwards;
}
.hero-text > *:nth-child(1) { animation-delay: 0.06s; }
.hero-text > *:nth-child(2) { animation-delay: 0.14s; }
.hero-text > *:nth-child(3) { animation-delay: 0.22s; }
.hero-text > *:nth-child(4) { animation-delay: 0.3s; }
.hero-text > *:nth-child(5) { animation-delay: 0.38s; }
@keyframes heroLineIn {
  to { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow {
  color: var(--yellow);
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  display: flex; align-items: center;
}
.bar {
  display: inline-block;
  width: 5px; height: 1.4em;
  background: var(--yellow);
  border-radius: 3px;
  margin-right: .6rem;
}
.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  font-style: italic;
  margin: .4rem 0;
}
.hero-title span { color: var(--yellow); }
.hero-sub { font-size: clamp(1.2rem, 2.4vw, 1.7rem); font-weight: 700; }
.hero-tagline { opacity: .92; margin-bottom: 1.6rem; }
.btn-explore {
  background: var(--yellow);
  color: var(--navy);
  font-weight: 700;
  border-radius: 30px;
  padding: .65rem 1.6rem;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background .2s;
}
.btn-explore:hover {
  background: var(--yellow-dark);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255, 199, 39, .45);
}
.btn-explore i { transition: transform .28s var(--ease-out); display: inline-block; }
.btn-explore:hover i { transform: translateX(4px); }

/* ---------- Search panel ---------- */
.search-wrap { margin-top: -4.6rem; position: relative; z-index: 5; }
.search-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(7, 31, 66, .15);
  overflow: hidden;
  max-width: 100%;
}
.search-tabs {
  list-style: none;
  display: flex;
  margin: 0; padding: 0;
  border-bottom: 1px solid #eee;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  max-width: 100%;
  scrollbar-width: thin;
}
.search-tabs li {
  flex: 1;
  text-align: center;
  padding: .9rem .5rem;
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: .2s;
}
.search-tabs li i { color: var(--blue); margin-right: .3rem; }
.search-tabs li.active { color: #fff; background: var(--navy); border-bottom-color: var(--yellow); }
.search-tabs li.active i { color: var(--yellow); }
.search-fields {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 1rem;
  padding: 1.2rem;
  align-items: center;
}
.field {
  display: flex; align-items: center; gap: .5rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: .55rem .8rem;
}
.field i { color: var(--blue); }
.field select {
  border: none; outline: none; width: 100%;
  font-size: .9rem; color: var(--text); background: transparent;
}
.btn-search {
  background: var(--yellow);
  color: var(--navy);
  font-weight: 700;
  border-radius: 8px;
  padding: .7rem 1.8rem;
}
.btn-search:hover { background: var(--yellow-dark); color: var(--navy); }

/* ---------- Sections ---------- */
.section { padding: 3.5rem 0; }
.section-title {
  font-weight: 800;
  color: var(--navy);
  display: flex; align-items: center;
  font-size: 1.6rem;
}
.section-sub { color: var(--muted); font-size: .92rem; }
.btn-viewall {
  border: 1px solid var(--navy);
  color: var(--navy);
  font-weight: 700;
  border-radius: 30px;
  padding: .5rem 1.4rem;
  background: #fff;
}
.btn-viewall:hover { background: var(--navy); color: #fff; }
.btn-viewall i { transition: transform .28s var(--ease-out); display: inline-block; }
.btn-viewall:hover i { transform: translateX(4px); }

/* Section background images (homepage blocks) */
.section-bg {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: transparent;
}
.section-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.section-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.section-bg > .container {
  position: relative;
  z-index: 1;
}
@media (prefers-reduced-motion: reduce) {
  .section-bg::before {
    opacity: .35;
  }
}
.section-bg--stats::before { background-image: url('../images/prop-land-gampaha.png'); }
.section-bg--stats::after {
  background: linear-gradient(160deg, rgba(255, 255, 255, .93) 0%, rgba(247, 249, 252, .9) 100%);
}
.section-bg--properties::before { background-image: url('../images/prop-luxury-house.png'); }
.section-bg--properties::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, .92) 0%, rgba(237, 244, 252, .88) 100%);
}
.section-bg--services::before { background-image: url('../images/cta-house-model.png'); }
.section-bg--services::after {
  background: linear-gradient(135deg, rgba(247, 249, 252, .94) 0%, rgba(255, 255, 255, .9) 100%);
}
.section-bg--process::before { background-image: url('../images/prop-land-sale.png'); }
.section-bg--process::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, .94) 0%, rgba(255, 255, 255, .88) 100%);
}
.section-bg--about::before { background-image: url('../images/about-aerial.png'); }
.section-bg--about::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, .88) 55%, rgba(247, 249, 252, .85) 100%);
}
.section-bg--areas::before { background-image: url('../images/map-gampaha.png'); }
.section-bg--areas::after {
  background: linear-gradient(180deg, rgba(247, 249, 252, .94) 0%, rgba(255, 255, 255, .9) 100%);
}
.section-bg--testimonials::before { background-image: url('../images/prop-rent-kesbewa.png'); }
.section-bg--testimonials::after {
  background: linear-gradient(160deg, rgba(255, 255, 255, .93) 0%, rgba(240, 246, 255, .9) 100%);
}
.section-bg--faq::before { background-image: url('../images/hero-villa.png'); }
.section-bg--faq::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, .94) 0%, rgba(247, 249, 252, .92) 100%);
}
.section-bg--contact::before { background-image: url('../images/map-gampaha.png'); }
.section-bg--contact::after {
  background: linear-gradient(135deg, rgba(247, 249, 252, .93) 0%, rgba(255, 255, 255, .91) 100%);
}

/* ---------- Scroll reveal ---------- */
.reveal-up {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity var(--reveal-duration) var(--ease-out),
    transform var(--reveal-duration) var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal-up.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* ---------- Stats (Why choose us) ---------- */
.stats-section:not(.section-bg) { background: #fff; }
.stat-card {
  background: #f7f9fc;
  border: 1px solid #e8eef5;
  border-radius: 12px;
  padding: 1.35rem 1rem;
  text-align: center;
  height: 100%;
  transition: box-shadow .2s, transform .2s;
}
.stat-card:hover { box-shadow: 0 8px 22px rgba(7, 31, 66, .1); transform: translateY(-3px); }
.stat-card i {
  font-size: 1.75rem;
  color: var(--blue);
  margin-bottom: .5rem;
  display: block;
}
.stat-value {
  font-family: 'Exo 2', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--navy);
  margin: 0;
  line-height: 1.2;
}
.stat-label { font-size: .82rem; color: var(--muted); margin: .35rem 0 0; font-weight: 500; }

/* ---------- How it works ---------- */
.process-section:not(.section-bg) { background: #fff; }
.process-card {
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 1.35rem 1.1rem;
  height: 100%;
  background: #fff;
  position: relative;
  padding-top: 2.4rem;
}
.process-step {
  position: absolute;
  top: 12px; right: 12px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy);
  font-family: 'Exo 2', sans-serif;
  font-weight: 800;
  font-size: .85rem;
  display: flex; align-items: center; justify-content: center;
}
.process-card i {
  font-size: 2rem;
  color: var(--blue);
  margin-bottom: .6rem;
  display: block;
}
.process-card h6 { font-weight: 800; color: var(--navy); margin-bottom: .5rem; font-size: .98rem; }
.process-card p { font-size: .85rem; color: var(--muted); margin: 0; line-height: 1.45; }

/* ---------- Areas we serve ---------- */
.areas-section:not(.section-bg) { background: #f7f9fc; }
.area-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .75rem 1rem;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e3e8f0;
  color: var(--navy);
  font-weight: 600;
  font-size: .88rem;
  text-decoration: none;
  transition: .2s;
}
.area-chip i { color: var(--yellow-dark); font-size: 1rem; }
.area-chip:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.area-chip:hover i { color: var(--yellow); }

/* ---------- FAQ ---------- */
.faq-section:not(.section-bg) { background: #fff; }
.faq-accordion .accordion-item {
  border: 1px solid #e8eef5;
  border-radius: 10px !important;
  margin-bottom: .65rem;
  overflow: hidden;
}
.faq-accordion .accordion-button {
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  color: var(--navy);
  background: #f7f9fc;
  box-shadow: none;
}
.faq-accordion .accordion-button:not(.collapsed) {
  background: var(--navy);
  color: #fff;
}
.faq-accordion .accordion-button::after { filter: brightness(0) saturate(100%) invert(15%) sepia(40%) saturate(2000%); }
.faq-accordion .accordion-button:not(.collapsed)::after { filter: brightness(0) invert(1); }
.faq-accordion .accordion-body {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.55;
  padding-top: .75rem;
}

/* ---------- Property cards ---------- */
.prop-card {
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  height: 100%;
  transition: box-shadow .25s, transform .25s;
}
.prop-card:hover { box-shadow: 0 10px 28px rgba(7, 31, 66, .14); transform: translateY(-4px); }
.prop-img {
  position: relative;
  overflow: hidden;
}
.prop-img img {
  width: 100%; height: 190px; object-fit: cover;
  transition: transform 0.55s var(--ease-out);
}
.prop-card:hover .prop-img img { transform: scale(1.06); }
.badge-sale {
  position: absolute; top: 12px; left: 12px;
  background: var(--navy);
  color: #fff;
  font-size: .75rem; font-weight: 600;
  padding: .25rem .8rem;
  border-radius: 20px;
}
.heart {
  position: absolute; top: 10px; right: 10px;
  width: 32px; height: 32px;
  border: none; border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  color: var(--blue);
}
.heart:hover, .heart.saved { color: #e0245e; }
.prop-body { padding: 1rem; text-align: center; }
.prop-title { font-size: .98rem; font-weight: 700; color: var(--navy); }
.prop-price { color: var(--blue); font-weight: 700; font-family: 'Exo 2', sans-serif; margin-bottom: .5rem; }
.prop-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem 1.1rem;
  font-size: .8rem; color: var(--muted);
  border-top: 1px solid #f0f0f0;
  padding-top: .6rem;
  margin-bottom: .8rem;
}
.prop-meta i { color: var(--blue); }
.btn-details {
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  font-size: .88rem;
  border-radius: 8px;
  padding: .5rem 1.3rem;
}
.btn-details:hover { background: var(--blue); color: #fff; }
.btn-details i { transition: transform .28s var(--ease-out); display: inline-block; }
.btn-details:hover i { transform: translateX(4px); }

/* ---------- Services ---------- */
.services:not(.section-bg) { background: #f7f9fc; }
.services-row { margin-top: 2rem; }
.service-item {
  text-align: center;
  padding: 1rem 1.5rem;
  height: 100%;
}
.service-item i { font-size: 2.2rem; color: var(--blue); }
.service-item h6 { font-weight: 800; color: var(--navy); margin: .5rem 0 0; }
.service-item p { font-size: .85rem; color: var(--muted); margin: 0; }
@media (min-width: 992px) {
  .services-row .col-lg-3:not(:last-child) .service-item { border-right: 1px solid #e3e8f0; }
}

/* ---------- About ---------- */
.about-img { border-radius: 14px; box-shadow: 0 8px 24px rgba(7, 31, 66, .15); }
.about-text { font-size: .9rem; color: var(--muted); }
.about-list { list-style: none; padding: 0; margin: 1rem 0; }
.about-list li { padding: .3rem 0; font-weight: 600; font-size: .92rem; }
.about-list i { color: var(--yellow-dark); margin-right: .5rem; }
.about-contact {
  border-left: 2px solid #eee;
  padding-left: 1.6rem;
  font-size: .92rem;
  font-weight: 600;
  color: var(--navy);
}
.about-contact i {
  color: var(--blue);
  font-size: 1.15rem;
  margin-right: .6rem;
}
.about-houses { margin-top: 1.2rem; }
.about-houses i { color: var(--blue); font-size: 1.5rem; margin-right: .5rem; opacity: .85; }

/* ---------- CTA banner ---------- */
.cta-banner { padding: 0 0 3rem; }
.cta-inner {
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 55%, #3d5f96 100%);
  border-radius: 14px;
  color: #fff;
  padding: 1.8rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
}
.cta-left { display: flex; align-items: center; gap: 1.2rem; flex: 1; }
.cta-icon { font-size: 3rem; color: var(--yellow); }
.cta-inner h4 { font-weight: 800; margin: 0; }
.cta-inner p { margin: 0; opacity: .85; font-size: .9rem; }
.cta-img {
  height: 130px;
  width: 190px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
}
.btn-cta {
  background: var(--yellow);
  color: var(--navy);
  font-weight: 700;
  border-radius: 30px;
  padding: .65rem 1.5rem;
  white-space: nowrap;
}
.btn-cta:hover { background: var(--yellow-dark); color: var(--navy); }
.btn-cta i { transition: transform .28s var(--ease-out); display: inline-block; }
.btn-cta:hover i { transform: translateX(4px); }

/* ---------- Testimonials ---------- */
.testi-card {
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 1.4rem;
  display: flex;
  gap: 1rem;
  height: 100%;
  background: #fff;
}
.testi-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--yellow);
  flex-shrink: 0;
}
.testi-quote { font-size: .92rem; margin-bottom: .4rem; }
.testi-name { font-size: .82rem; color: var(--muted); margin-bottom: .2rem; }
.testi-stars i { color: var(--yellow); font-size: .8rem; }

/* ---------- Contact ---------- */
.contact:not(.section-bg) { background: #f7f9fc; }
.map-box { position: relative; border-radius: 12px; overflow: hidden; }
.map-box img { width: 100%; height: 280px; object-fit: cover; }
.btn-viewmap {
  position: absolute; bottom: 12px; right: 12px;
  background: var(--navy);
  color: #fff;
  font-size: .8rem;
  border-radius: 8px;
}
.btn-viewmap:hover { background: var(--blue); color: #fff; }
.contact-info { margin-top: 1.4rem; font-weight: 600; font-size: .95rem; }
.contact-info i { color: var(--blue); margin-right: .7rem; font-size: 1.1rem; }
.contact-form {
  background: var(--navy);
  border-radius: 12px;
  padding: 1.8rem;
  color: #fff;
}
.contact-form h5 { font-weight: 800; margin-bottom: 1.2rem; }
.contact-form h5 i { color: var(--yellow); margin-right: .5rem; }
.contact-form .form-control {
  border: none;
  border-radius: 8px;
  padding: .7rem 1rem;
  font-size: .9rem;
}
.btn-send {
  background: var(--yellow);
  color: var(--navy);
  font-weight: 700;
  width: 100%;
  border-radius: 8px;
  padding: .75rem;
  margin-top: 1rem;
}
.btn-send:hover { background: var(--yellow-dark); color: var(--navy); }
.btn-send i { transition: transform .28s var(--ease-out); display: inline-block; }
.btn-send:hover i { transform: translateX(4px); }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy);
  color: #fff;
  padding: 2.5rem 0 1.2rem;
}
.footer-tag { color: var(--yellow); font-style: italic; font-family: 'Exo 2', sans-serif; margin: .5rem 0 0; }
.footer > .container > .d-flex {
  flex-direction: column;
  align-items: flex-start !important;
  text-align: left;
  gap: 1rem;
}
@media (min-width: 992px) {
  .footer > .container > .d-flex {
    flex-direction: row;
    align-items: center !important;
    justify-content: space-between;
    gap: 0;
  }
}
.footer-links {
  list-style: none; display: flex; flex-wrap: wrap;
  gap: .4rem 1rem;
  padding: 0; margin: 0;
}
.footer-links a { color: #fff; text-decoration: none; font-size: .9rem; }
.footer-links a:hover { color: var(--yellow); }
.footer-links li:not(:last-child)::after { content: '|'; margin-left: 1rem; opacity: .4; }
@media (max-width: 575px) {
  .footer-links li:not(:last-child)::after { display: none; }
}
.socials {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.socials a {
  display: inline-flex;
  width: 38px; height: 38px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 1.1rem;
  margin-left: 0;
}
.socials a:hover { background: var(--yellow); color: var(--navy); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .15);
  margin-top: 1.8rem;
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .8rem;
  opacity: .85;
}
.footer-bottom i { color: #e0245e; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .search-wrap { margin-top: -3rem; }
  .search-fields { grid-template-columns: 1fr 1fr; }
  .btn-search { grid-column: span 2; }
  .about-contact { border-left: none; padding-left: 0; margin-top: 1rem; }
  .cta-inner {
    flex-wrap: wrap;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 1.25rem;
  }
  .cta-left {
    flex-direction: column;
    text-align: center;
  }
  .cta-img { display: none; }
  .btn-cta { width: 100%; max-width: 320px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 767px) {
  .section { padding: 2.5rem 0; }
  .section-title { font-size: 1.35rem; }
  .page-hero-inner { padding: 2rem 0 2.5rem; }
  .search-tabs li {
    flex: 0 0 auto;
    min-width: 7.5rem;
    font-size: .8rem;
    padding: .65rem .45rem;
  }
}
@media (max-width: 575px) {
  .search-wrap .container {
    padding-left: max(0.75rem, env(safe-area-inset-left, 0px));
    padding-right: max(0.75rem, env(safe-area-inset-right, 0px));
  }
  .search-wrap { margin-top: -2rem; }
  .search-fields { grid-template-columns: 1fr; }
  .btn-search { grid-column: span 1; }
  .hero {
    padding: 3rem 0 5.5rem;
    background-position: 0 0, 70% center;
  }
  .hero-eyebrow { font-size: 1.05rem; }
  .section .d-flex.justify-content-between.flex-wrap.gap-3 {
    flex-direction: column;
    align-items: stretch !important;
  }
  .section .d-flex.justify-content-between.flex-wrap.gap-3 > .btn {
    width: 100%;
    justify-content: center;
  }
  .testi-card { flex-direction: column; align-items: flex-start; }
  .map-box img { height: 200px; }
}

/* ---------- Reduced motion ---------- */
.filter-summary {
  background: #f7f9fc;
  border: 1px solid #e8eef5;
  border-radius: 10px;
  padding: .85rem 1.1rem;
  font-size: .88rem;
  color: var(--navy);
}
.filter-summary strong { color: var(--blue); }

.alert-flash {
  border-radius: 10px;
  border: none;
  font-size: .9rem;
}

/* ---------- Admin ---------- */
.admin-body {
  min-height: 100vh;
  background: linear-gradient(160deg, #e8eef5 0%, #f7f9fc 45%, #fff 100%);
  font-family: 'Poppins', sans-serif;
}
.admin-login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}
.admin-login-card {
  width: 100%;
  max-width: 400px;
  background: #fff;
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0 12px 40px rgba(7, 31, 66, .12);
  border: 1px solid #e8eef5;
}
.admin-topnav {
  background: #fff;
  border-bottom: 1px solid #e8eef5;
  box-shadow: 0 2px 10px rgba(7, 31, 66, .06);
}
.admin-table-wrap {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e8eef5;
}
.admin-thumb {
  width: 56px;
  height: 42px;
  object-fit: cover;
  border-radius: 6px;
}
.admin-form-card {
  box-shadow: 0 8px 28px rgba(7, 31, 66, .08);
  border-color: #e8eef5 !important;
}
.btn-navy {
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 8px;
}
.btn-navy:hover { background: var(--blue); color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .page-preloader-inner { animation: none; }
  .page-preloader-bar { animation: none; opacity: .85; }
  .page-preloader { transition-duration: 0.15s; }
  .hero { animation: none; }
  .hero-text > * {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .reveal-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .prop-card:hover .prop-img img { transform: none; }
  .main-nav { transition: none; }
  .site-logo { transition: none; }
}
