* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: Poppins, Arial, sans-serif;
  background: #fff;
  color: #24304a;
}
a {
  color: inherit;
}
.container {
  width: min(1320px, calc(100% - 44px));
  margin: 0 auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fff;
  box-shadow: 0 2px 12px rgba(20, 30, 55, 0.06);
}
.topbar {
  background: #1c3158;
  color: #fff;
  font-size: 15px;
}
.topbar-inner {
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topbar-contact,
.topbar-social {
  display: flex;
  align-items: center;
  gap: 20px;
}
.topbar a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
}
.topbar-social a {
  font-weight: 700;
  opacity: 0.96;
}
.mainbar {
  background: #fff;
}
.header-inner {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #1f2e50;
  font-weight: 800;
  font-size: 22px;
  min-width: 250px;
}
.brand img {
  max-height: 62px;
  max-width: 250px;
  object-fit: contain;
}
.nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav a {
  font-size: 16px;
  text-decoration: none;
  color: #5d6884;
  font-weight: 500;
  padding: 10px 2px;
  transition: 0.2s;
}
.nav a:hover,
.nav a.active {
  color: #1c3158;
}
.nav .nav-cta {
  background: #1c3158;
  color: #fff;
  padding: 12px 22px;
  border-radius: 8px;
}
.nav .nav-cta:hover,
.nav .nav-cta.active {
  background: #142543;
  color: #fff;
}
.mainbar .menu-toggle {
  display: none;
  border: 1px solid #e5e8f0;
  background: #fff;
  border-radius: 999px;
  height: 42px;
  padding: 0 18px;
  font-weight: 700;
  color: #1c3158;
}
.mobile-nav {
  display: none;
  background: #fff;
  border-top: 1px solid #edf0f5;
  padding: 12px 22px;
}
.mobile-nav a {
  display: block;
  text-decoration: none;
  padding: 13px 0;
  color: #24304a;
  font-weight: 600;
}
.mobile-nav.active {
  display: block;
}
.home-hero {
  position: relative;
  min-height: calc(100vh - 142px);
  background-position: top;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: end;
  overflow: hidden;
}
.home-hero:not([style]) {
  background: linear-gradient(135deg, #283d66, #101827);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: #00000026;
}
.hero-text {
  position: relative;
  z-index: 2;
  color: #fff;
  padding-top: 40px;
  text-align: center;
      margin-bottom: 40px;
}
.hero-eyebrow {
  display: inline-flex;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 13px;
  font-weight: 700;
  color: #d9e3ff;
}
.hero-text h1 {
  font-size: clamp(42px, 5vw, 76px);
  line-height: 1.16;
  letter-spacing: -0.045em;
  margin: 0 0 24px;
  font-weight: 800;
}
.hero-text p {
  font-size: 21px;
  line-height: 1.7;
  margin: 0 0 28px;
  color: #eef3ff;
  text-align: center;

}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 25px;
  border-radius: 7px;
  text-decoration: none;
  font-weight: 700;
  border: 0;
}
.hero-btn,
.btn.primary.navy {
  background: #1c3158;
  color: #fff;
  box-shadow: 0 14px 30px rgba(28, 49, 88, 0.25);
}
.hero-btn:hover,
.btn.primary.navy:hover {
  background: #142543;
}
.section {
  padding: 86px 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 70px;
  align-items: center;
}
.about-visual {
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}
.about-visual img {
  max-width: 100%;
  max-height: 620px;
  object-fit: contain;
}
.about-placeholder {
  width: 100%;
  height: 480px;
  border-radius: 20px;
  background: #f3f5f9;
  display: grid;
  place-items: center;
  color: #8a94aa;
}
.about-copy h2,
.section-title h2 {
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.25;
  margin: 0 0 14px;
  color: #1c3158;
  letter-spacing: -0.035em;
}
.about-copy p {
  font-size: 18px;
  line-height: 1.85;
  color: #4e5a75;
  margin: 0 0 28px;
}
.section-title.center {
  text-align: center;
  position: relative;
  margin-bottom: 42px;
}
.section-title p {
  font-size: 22px;
  line-height: 1.45;
  color: #4e5a75;
  margin: 6px 0 0;
}
.see-all {
  position: absolute;
  right: 0;
  bottom: -28px;
  color: #7f889d;
  text-decoration: none;
  font-weight: 600;
}
.properties-section {
  background: #f5f7fb;
}
.property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.property-card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 10px 35px rgba(26, 42, 75, 0.08);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}
.property-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(26, 42, 75, 0.16);
}
.property-image {
  position: relative;
  display: block;
  height: 335px;
  background: #e9edf5;
  text-decoration: none;
  overflow: hidden;
}
.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.property-card:hover .property-image img {
  transform: scale(1.04);
}
.property-image:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 50%;
  background: linear-gradient(
    0deg,
    rgba(17, 24, 39, 0.78),
    rgba(17, 24, 39, 0)
  );
}
.image-placeholder {
  height: 100%;
  display: grid;
  place-items: center;
  color: #7d879b;
}
.property-price-overlay {
  position: absolute;
  z-index: 2;
  left: 26px;
  bottom: 25px;
  color: #fff;
  font-weight: 800;
  font-size: 25px;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.4);
}
.property-badge {
  position: absolute;
  z-index: 2;
  right: 20px;
  bottom: 22px;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
}
.property-body {
  padding: 22px 26px 24px;
}
.property-body h3 {
  font-size: 19px;
  line-height: 1.55;
  margin: 0 0 24px;
  color: #2a354f;
}
.property-body h3 a {
  text-decoration: none;
}
.property-specs {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  color: #6c768d;
  font-size: 16px;
}
.testimonials-band {
  position: relative;
  min-height: 360px;
  background: #1c3158;
  background-image: linear-gradient(
    rgba(28, 49, 88, 0.86),
    rgba(28, 49, 88, 0.86)
  );
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: center;
  color: #fff;
}
.testimonials-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28, 49, 88, 0.78);
}
.testimonials-content {
  position: relative;
  z-index: 2;
  text-align: center;
}
.testimonials-content h2 {
  font-size: 36px;
  margin: 0 0 12px;
}
.testimonials-content p {
  font-size: 18px;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto 16px;
  color: #fff;
}
.testimonials-content a {
  color: #dbe7ff;
  text-decoration: none;
  font-weight: 700;
}
.blog-preview {
  background: #fff;
}
.empty-state {
  background: #fff;
  border: 1px solid rgba(28, 49, 88, 0.1);
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  color: #5f6a80;
  box-shadow: 0 15px 50px rgba(28, 49, 88, 0.05);
}
.empty-state strong {
  display: block;
  color: #1c3158;
  font-size: 20px;
  margin-bottom: 8px;
}
.site-footer {
  background: #232c43;
  color: #fff;
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 70px;
}
.footer-logo {
  max-width: 230px;
  max-height: 72px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  margin-bottom: 22px;
}
.site-footer p,
.site-footer span,
.footer-links a {
  color: #c9d3ee;
  line-height: 1.8;
}
.site-footer h4 {
  margin: 0 0 22px;
  font-size: 20px;
}
.footer-links {
  display: grid;
  gap: 12px;
}
.footer-links.two-col {
  grid-template-columns: 1fr 1fr;
}
.footer-links a {
  text-decoration: none;
}
.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 18px;
}
.footer-social a {
  text-decoration: none;
  color: #fff;
}
.footer-bottom {
  margin-top: 55px;
  background: #1b2337;
  text-align: center;
  padding: 22px;
  color: #cbd5ee;
}
.whatsapp-float {
  position: fixed;
  right: 26px;
  bottom: 74px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #27d366;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 26px;
  z-index: 20;
  box-shadow: 0 10px 30px rgba(39, 211, 102, 0.35);
}
.scroll-top {
  position: fixed;
  right: 28px;
  bottom: 20px;
  width: 44px;
  height: 44px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: #303b57;
  color: #fff;
  text-decoration: none;
  font-size: 24px;
  z-index: 20;
}
.popup-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgb(15 23 42 / 77%);
  display: grid;
  place-items: center;
  padding: 20px;
}
.popup-box {
  width: min(520px, 100%);
  background: #fff;
  border-radius: 18px;
  padding: 34px;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}
.popup-box h2 {
  color: #1c3158;
  margin: 0 0 12px;
}
.popup-box p {
  color: #4e5a75;
  line-height: 1.7;
}
.popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  border: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f3f7;
  font-size: 24px;
  cursor: pointer;
}
.page-hero {
  padding: 80px 0 40px;
  background: #f5f7fb;
}
.page-hero h1,
.detail-hero h1 {
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.15;
  color: #1c3158;
  margin: 0 0 15px;
}
.page-hero p {
  font-size: 18px;
  line-height: 1.75;
  color: #58637b;
  max-width: 760px;
}
.detail-hero {
  padding: 60px 0;
  background: #fff;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 36px;
  align-items: center;
}
.detail-price {
  font-size: 32px;
  color: #1c3158;
}
.detail-cover {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 14px;
}
.detail-content {
  display: grid;
  gap: 22px;
}
.info-card {
  background: #fff;
  border: 1px solid #e7ebf3;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 14px 40px rgba(28, 49, 88, 0.05);
}
.info-card h2 {
  margin: 0 0 20px;
  color: #1c3158;
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.info-grid div {
  background: #f5f7fb;
  border-radius: 12px;
  padding: 16px;
}
.info-grid span {
  display: block;
  color: #788399;
  font-size: 13px;
}
.info-grid strong {
  display: block;
  margin-top: 7px;
  color: #1c3158;
}
.feature-grid,
.list-grid,
.testimonial-grid,
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card,
.text-card,
.testimonial-card,
.blog-card,
.contact-card,
.contact-form,
.article-content {
  background: #fff;
  border: 1px solid #e7ebf3;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 14px 40px rgba(28, 49, 88, 0.05);
}
.feature-card h3,
.text-card h3,
.blog-card h3 {
  color: #1c3158;
  font-size: 23px;
}
.feature-card p,
.text-card p,
.testimonial-card p,
.blog-card p,
.article-content p {
  color: #59647b;
  line-height: 1.8;
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 24px;
}
.contact-form {
  display: grid;
  gap: 16px;
}
.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
  color: #1c3158;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #dfe5ef;
  border-radius: 12px;
  padding: 15px 16px;
  font: inherit;
  background: #fafbfe;
}
.contact-form textarea {
  resize: vertical;
}
@media (max-width: 1100px) {
  .nav {
    gap: 14px;
  }
  .nav a {
    font-size: 14px;
  }
  .property-image {
    height: 280px;
  }
}
@media (max-width: 920px) {
  .topbar-inner {
    height: auto;
    padding: 12px 0;
    gap: 8px;
    align-items: flex-start;
  }

  .brand {
    min-width: 0;
  }
  .nav {
    display: none;
  }

  .about-grid,
  .detail-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .property-grid,
  .feature-grid,
  .list-grid,
  .testimonial-grid,
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }
  .home-hero {
    min-height: 560px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .see-all {
    position: static;
    display: inline-block;
    margin-top: 14px;
  }
}
@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1320px);
  }
  .header-inner {
    height: 74px;
  }
  .brand img {
    max-height: 48px;
    max-width: 190px;
  }
  .brand2 {
    display: none;
  }
  .topbar-social {
    display: none;
  }
  .home-hero {
    min-height: 520px;
  }
  .hero-text h1 {
    font-size: 38px;
  }
  .hero-text p {
    font-size: 17px;
  }
  .section {
    padding: 58px 0;
  }
  .property-grid,
  .feature-grid,
  .list-grid,
  .testimonial-grid,
  .blog-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }
  .property-image {
    height: 260px;
  }
  .footer-links.two-col {
    grid-template-columns: 1fr;
  }
  .whatsapp-float {
    right: 17px;
    bottom: 70px;
  }
  .scroll-top {
    right: 20px;
  }
}

/* Portfolio list & detail refined layout */
.portfolio-page {
  background: #f7f8fb;
  padding: 52px 0 76px;
}
.portfolio-filter {
  margin-bottom: 38px;
}
.filter-row {
  display: grid;
  gap: 24px;
  margin-bottom: 18px;
}
.filter-row.two {
  grid-template-columns: 1fr 1fr;
}
.filter-row.three {
  grid-template-columns: 1fr 1fr 1fr;
}
.filter-control {
  height: 70px;
  background: #fff;
  border: 1px solid #e5e8f0;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(30, 46, 80, 0.06);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 18px;
  color: #a1abc0;
}
.filter-control input,
.filter-control select {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  color: #29344d;
  font-size: 18px;
}
.filter-control input::placeholder {
  color: #a1abc0;
}
.filter-control em {
  font-style: normal;
  color: #7a8498;
}
.advanced-filter {
  margin-top: 14px;
}
.advanced-filter summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 20px;
  color: #29344d;
  font-weight: 500;
}
.advanced-filter summary::-webkit-details-marker {
  display: none;
}
.advanced-filter summary span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #000;
  display: inline-block;
  position: relative;
}
.advanced-filter summary span:before,
.advanced-filter summary span:after {
  content: "";
  position: absolute;
  background: #fff;
  left: 9px;
  right: 9px;
  top: 17px;
  height: 2px;
}
.advanced-filter:not([open]) summary span:after {
  transform: rotate(90deg);
}
.advanced-body {
  padding: 28px 0 0;
}
.advanced-body h2 {
  margin: 0 0 18px;
  color: #1c3158;
}
.feature-check-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px 80px;
  max-width: 1100px;
}
.feature-check-grid label {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #657088;
  font-size: 17px;
}
.feature-check-grid input {
  width: 16px;
  height: 16px;
}
.filter-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.btn.ghost {
  background: #fff;
  border: 1px solid #dfe5ef;
  color: #1c3158;
}
.portfolio-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin: 18px 0 24px;
}
.portfolio-toolbar h1 {
  margin: 0;
  color: #1c3158;
  font-size: 34px;
}
.portfolio-toolbar span {
  color: #7a8498;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.portfolio-grid .property-card {
  border-radius: 8px;
}
.portfolio-grid .property-image {
  height: 285px;
}
.card-location {
  color: #7a8498;
  font-size: 13px;
  margin: -10px 0 18px;
}
.property-detail-page {
  background: #f6f8fb;
  padding: 34px 0 70px;
}
.property-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}
.property-main {
  display: grid;
  gap: 22px;
}
.detail-title-block {
  background: #fff;
  border: 1px solid #e3e8f2;
  border-radius: 6px;
  padding: 22px 26px;
}
.detail-title-block h1 {
  font-size: 25px;
  line-height: 1.35;
  color: #1c3158;
  margin: 0 0 12px;
}
.detail-meta-line {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  color: #6d768b;
}
.detail-meta-line strong {
  font-size: 24px;
  color: #1c3158;
}
.detail-meta-line span:not(:last-child) {
  background: #1c3158;
  color: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
}
.gallery-box {
  background: #fff;
  border: 1px solid #e3e8f2;
  border-radius: 6px;
  padding: 0;
  overflow: hidden;
}
.main-gallery-image {
  display: block;
  width: 100%;
  height: 560px;
  object-fit: cover;
}
.thumb-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  padding: 8px;
  background: #fff;
}
.thumb-row img {
  width: 100%;
  height: 82px;
  object-fit: cover;
  border-radius: 4px;
}
.detail-image-placeholder {
  height: 460px;
  display: grid;
  place-items: center;
  background: #edf1f7;
  color: #738098;
}
.detail-card {
  background: #fff;
  border: 1px solid #e3e8f2;
  border-radius: 6px;
  padding: 24px 28px;
}
.detail-card h2 {
  font-size: 18px;
  color: #1c3158;
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #dce2ec;
}
.property-info-table,
.address-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.property-info-table div,
.address-grid div {
  padding: 12px;
  border-bottom: 1px solid #edf1f6;
}

.property-info-table strong,
.address-grid strong {
  display: block;
  color: #20304f;
  font-size: 14px;
}

.map-box {
  margin-top: 18px;
  height: 300px;
  border-radius: 8px;
  overflow: hidden;
  background: #eef2f7;
}
.map-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.property-sidebar {
  display: grid;
  gap: 20px;
  position: sticky;
  top: 112px;
}
.agent-card,
.sidebar-list {
  background: #fff;
  border: 1px solid #e3e8f2;
  border-radius: 6px;
  padding: 22px;
}
.agent-card h3 {
  margin: 0 0 8px;
  color: #1c3158;
}
.agent-card > a {
  display: inline-flex;
  margin-bottom: 16px;
  color: #1c3158;
  text-decoration: none;
  font-size: 14px;
}
.mini-lead-form {
  display: grid;
  gap: 10px;
}
.mini-lead-form input,
.mini-lead-form textarea {
  width: 100%;
  border: 1px solid #dfe5ef;
  border-radius: 3px;
  padding: 11px 12px;
  font: inherit;
  font-size: 13px;
}
.mini-lead-form textarea {
  min-height: 120px;
  resize: vertical;
}
.mini-lead-form button {
  height: 42px;
  background: #1c3158;
  color: #fff;
  border: 0;
  border-radius: 3px;
  font-weight: 700;
  cursor: pointer;
}
.sidebar-list {
  display: grid;
  gap: 12px;
}
.sidebar-property {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid #edf1f6;
  padding-bottom: 12px;
}
.sidebar-property:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.sidebar-property img {
  width: 86px;
  height: 64px;
  object-fit: cover;
  border-radius: 4px;
  background: #edf1f7;
}
.sidebar-property strong {
  display: block;
  color: #1c3158;
  font-size: 12px;
  line-height: 1.45;
}
.sidebar-property em {
  display: block;
  color: #1c3158;
  font-style: normal;
  font-weight: 700;
  margin-top: 7px;
  font-size: 12px;
}
@media (max-width: 1200px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .property-detail-layout {
    grid-template-columns: 1fr;
  }
  .property-sidebar {
    position: static;
    grid-template-columns: 1fr 1fr;
  }
  .main-gallery-image {
    height: 480px;
  }
}
@media (max-width: 920px) {
  .filter-row.two,
  .filter-row.three {
    grid-template-columns: 1fr;
  }
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-check-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .property-info-table,
  .address-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .property-sidebar {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .portfolio-page {
    padding-top: 26px;
  }
  .filter-control {
    height: 58px;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .portfolio-grid .property-image {
    height: 260px;
  }
  .main-gallery-image {
    height: 320px;
  }
  .thumb-row {
    grid-template-columns: repeat(3, 1fr);
  }
  .detail-title-block h1 {
    font-size: 21px;
  }
  .property-info-table,
  .address-grid {
    grid-template-columns: 1fr;
  }
  .detail-card {
    padding: 20px;
  }
  .feature-check-grid {
    grid-template-columns: 1fr;
  }
  .portfolio-toolbar {
    display: block;
  }
  .property-detail-page {
    padding-top: 20px;
  }
}

/* Property detail slider - Semih Bekil reference layout */
.property-detail-page {
  background: #f3f6fb;
  padding: 34px 0 72px;
}
.property-detail-layout {
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
}
.detail-title-block {
  padding: 18px 0 10px;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.detail-title-block h1 {
  font-size: 18px;
  line-height: 1.35;
  margin: 0 0 7px;
  color: #10264b;
}
.detail-meta-line {
  gap: 8px;
  font-size: 13px;
}
.detail-meta-line strong {
  font-size: 24px;
  font-weight: 800;
  color: #102d58;
}
.detail-meta-line span:not(:last-child) {
  background: #142e5a;
  color: #fff;
  border-radius: 14px;
  padding: 4px 12px;
  font-size: 12px;
}
.gallery-box.property-gallery-slider {
  background: #fff;
  border: 1px solid #dce4ef;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: none;
}
.gallery-main-wrap {
  position: relative;
  width: 100%;
  height: 520px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.gallery-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
  background: #fff;
}
.gallery-slide.active {
  opacity: 1;
  visibility: visible;
}
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 54px;
  border: 0;
  background: rgba(16, 38, 75, 0.75);
  color: #fff;
  font-size: 35px;
  line-height: 1;
  border-radius: 3px;
  cursor: pointer;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s ease,
    opacity 0.2s ease;
}
.gallery-arrow:hover {
  background: #10264b;
}
.gallery-prev {
  left: 14px;
}
.gallery-next {
  right: 14px;
}
.gallery-counter {
  position: absolute;
  right: 14px;
  bottom: 14px;
  background: rgba(16, 38, 75, 0.82);
  color: #fff;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 700;
  z-index: 4;
}
.thumb-row.gallery-thumbs {
  display: flex;
  gap: 6px;
  padding: 8px;
  background: #fff;
  border-top: 1px solid #e6ebf3;
  overflow-x: auto;
  scrollbar-width: thin;
}
.gallery-thumb {
  flex: 0 0 86px;
  width: 86px;
  height: 62px;
  border: 2px solid transparent;
  border-radius: 2px;
  padding: 0;
  background: #eef2f7;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.72;
  transition: 0.18s ease;
}
.gallery-thumb:hover,
.gallery-thumb.active {
  opacity: 1;
  border-color: #102d58;
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.detail-card {
  border: 1px solid #dce4ef;
  border-radius: 3px;
  box-shadow: none;
  padding: 22px 24px;
  background: #fff;
}

.property-info-table {
  grid-template-columns: repeat(4, 1fr);
}
.property-info-table div {
  padding: 10px 8px;
}
.property-info-table span {
  font-size: 14px;
  color: #566781;
  font-weight: 600;
}
.property-info-table strong {
  font-size: 14px;
  color: #10264b;
}

.agent-card,
.sidebar-list {
  border: 1px solid #dce4ef;
  border-radius: 3px;
  box-shadow: none;
}
.agent-card h3 {
  text-align: center;
  font-size: 15px;
}
.agent-card > a {
  display: flex;
  justify-content: center;
  color: #cf3552;
  font-size: 12px;
}
.mini-lead-form input,
.mini-lead-form textarea {
  border-radius: 0;
  border-color: #d6dfeb;
}
.mini-lead-form button {
  border-radius: 0;
  background: #142e5a;
}
.sidebar-property strong {
  font-size: 11px;
}
.sidebar-property em {
  font-size: 11px;
}
.map-box {
  border: 1px solid #e4eaf2;
  border-radius: 0;
  background: #f0f3f8;
}
.main-gallery-image {
  display: none !important;
}
@media (max-width: 1200px) {
  .gallery-main-wrap {
    height: 460px;
  }
  .property-detail-layout {
    grid-template-columns: 1fr;
  }
  .property-sidebar {
    position: static;
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 920px) {
  .property-info-table {
    grid-template-columns: repeat(2, 1fr);
  }
  .property-sidebar {
    grid-template-columns: 1fr;
  }
  .gallery-main-wrap {
    height: 390px;
  }
  .gallery-thumb {
    flex-basis: 78px;
    width: 78px;
    height: 58px;
  }
}
@media (max-width: 640px) {
  .property-detail-page {
    padding-top: 20px;
  }
  .gallery-main-wrap {
    height: 310px;
  }
  .gallery-arrow {
    width: 34px;
    height: 46px;
    font-size: 30px;
  }
  .property-info-table {
    grid-template-columns: 1fr;
  }
  .detail-title-block h1 {
    font-size: 16px;
  }
  .detail-meta-line strong {
    font-size: 20px;
  }
  .gallery-thumb {
    flex-basis: 70px;
    width: 70px;
    height: 52px;
  }
}

/* About page - Semihabekil style override */
.about-hero-strip {
  position: relative;
  min-height: 285px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(rgba(28, 49, 88, 0.62), rgba(28, 49, 88, 0.62)),
    url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=1800&q=80")
      center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}
.about-hero-strip h1 {
  position: relative;
  z-index: 2;
  font-size: 38px;
  line-height: 1.15;
  margin: 0;
  font-weight: 800;
  color: #fff;
}
.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28, 49, 88, 0.12);
}
.about-semih-section {
  padding: 105px 0 90px;
  background: #fff;
}
.about-semih-grid {
  display: grid;
  grid-template-columns: minmax(360px, 520px) minmax(0, 650px);
  gap: 78px;
  align-items: start;
  justify-content: center;
}
.about-semih-left {
  position: relative;
  min-width: 0;
}
.about-sticky-wrap {
  position: sticky;
  top: 118px;
}
.about-main-person {
  display: block;
  width: 100%;
  max-height: 760px;
  object-fit: contain;
  object-position: center bottom;
}
.about-blue-note {
  margin-top: 18px;
  background: #eef4ff;
  border-left: 4px solid #1c3158;
  color: #33415f;
  font-size: 14px;
  line-height: 1.65;
  padding: 17px 20px;
}
.about-blue-note strong {
  display: block;
  color: #1c3158;
  margin-bottom: 5px;
}
.about-semih-right {
  padding-top: 34px;
  color: #5b6680;
}
.about-semih-right h2 {
  font-size: 38px;
  line-height: 1.2;
  margin: 0 0 12px;
  color: #1c3158;
  letter-spacing: -0.035em;
}
.about-subtitle-line {
  font-size: 17px;
  color: #6f7890;
  margin: 0 0 30px;
}
.about-semih-text {
  font-size: 16px;
  line-height: 1.95;
  color: #5d6780;
  white-space: normal;
}
.about-semih-text br {
  display: block;
  content: "";
  margin-top: 12px;
}
.about-semih-expertise {
  margin-top: 42px;
  display: grid;
  gap: 28px;
}
.about-semih-expertise-block h3,
.about-semih-certificates h3 {
  margin: 0 0 14px;
  color: #1c3158;
  font-size: 22px;
  line-height: 1.25;
}
.about-semih-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.about-semih-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #1c3158;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 8px 18px rgba(28, 49, 88, 0.14);
}
.about-semih-certificates {
  margin-top: 40px;
}
.about-semih-certificate-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(90px, 1fr));
  gap: 16px;
  max-width: 560px;
}
.about-semih-certificate-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 92px;
  background: #fff;
  border: 1px solid #e4e9f2;
  border-radius: 4px;
  padding: 10px;
  box-shadow: 0 8px 26px rgba(28, 49, 88, 0.06);
  transition: 0.2s ease;
}
.about-semih-certificate-grid a:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(28, 49, 88, 0.12);
}
.about-semih-certificate-grid img {
  max-width: 100%;
  max-height: 78px;
  object-fit: contain;
}
.about-profile-section,
.about-expertise-section,
.certificates-section {
  display: none !important;
}
@media (max-width: 1100px) {
  .about-semih-grid {
    grid-template-columns: 420px minmax(0, 1fr);
    gap: 46px;
  }
  .about-semih-right h2 {
    font-size: 34px;
  }
  .about-sticky-wrap {
    top: 98px;
  }
}
@media (max-width: 860px) {
  .about-hero-strip {
    min-height: 210px;
  }
  .about-semih-section {
    padding: 62px 0;
  }
  .about-semih-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .about-sticky-wrap {
    position: relative;
    top: auto;
  }
  .about-main-person {
    max-height: 560px;
  }
  .about-semih-right {
    padding-top: 0;
  }
  .about-semih-certificate-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .about-semih-grid {
    gap: 24px;
  }
  .about-semih-right h2 {
    font-size: 30px;
  }
  .about-semih-certificate-grid {
    grid-template-columns: 1fr 1fr;
  }
  .about-semih-badges span {
    font-size: 12px;
    padding: 7px 11px;
  }
  .about-hero-strip h1 {
    font-size: 30px;
  }
}

/* Awards page - Semihabekil reference timeline */
.awards-hero-strip {
  position: relative;
  min-height: 130px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(rgba(28, 49, 88, 0.7), rgba(28, 49, 88, 0.7)),
    url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=1800&q=80")
      center/cover no-repeat;
  color: #fff;
}
.awards-hero-strip h1 {
  margin: 0;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.awards-page-section {
  background: #fff;
  padding: 58px 0 86px;
}
.awards-layout {
  display: grid;
  grid-template-columns: minmax(360px, 580px) minmax(0, 650px);
  gap: 66px;
  align-items: start;
  justify-content: center;
}
.awards-gallery-col {
  min-width: 0;
}
.awards-image-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: start;
}
.award-image-item {
  display: block;
  overflow: hidden;
  background: #f1f4f8;
  text-decoration: none;
}
.award-image-item.large {
  grid-column: 1 / -1;
}
.award-image-item img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
}
.award-image-item.large img {
  height: 710px;
  object-fit: cover;
  object-position: center top;
}
.awards-empty-image {
  min-height: 360px;
  background: #f4f6fb;
  display: grid;
  place-items: center;
  color: #7a8499;
  border-radius: 6px;
}
.awards-content-col.awards-timeline {
  position: relative;
  padding-left: 44px;
  padding-top: 2px;
}
.award-year-block {
  position: relative;
  margin: 0 0 34px;
}
.award-year-block h2 {
  color: #1f365f;
  font-size: 25px;
  font-weight: 600;
  line-height: 1;
  margin: 0 0 24px;
  letter-spacing: -0.03em;
}
.award-items {
  position: relative;
  display: grid;
  gap: 34px;
}
.award-items::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #e5262f;
}
.award-text-item {
  position: relative;
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 28px;
  align-items: flex-start;
  padding-left: 0;
}
.award-pin {
  position: relative;
  z-index: 2;
  width: 30px;
  height: 30px;
  margin-left: -13px;
  background: #fff;
  color: #1f365f;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  line-height: 1;
  font-weight: 800;
}
.award-copy h3 {
  margin: 0 0 10px;
  color: #1f365f;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: -0.03em;
}
.award-copy p {
  margin: 0;
  color: #5d6882;
  font-size: 15px;
  line-height: 1.8;
}
.awards-content-col.awards-timeline .empty-state {
  margin-left: -44px;
}
@media (max-width: 1100px) {
  .awards-layout {
    grid-template-columns: 430px minmax(0, 1fr);
    gap: 42px;
  }
  .award-image-item.large img {
    height: 560px;
  }
  .award-copy h3 {
    font-size: 24px;
  }
  .award-year-block h2 {
    font-size: 32px;
  }
}
@media (max-width: 860px) {
  .awards-page-section {
    padding: 42px 0 62px;
  }
  .awards-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .award-image-item.large img {
    height: auto;
    max-height: 560px;
  }
  .awards-content-col.awards-timeline {
    padding-left: 34px;
  }
  .award-copy h3 {
    font-size: 22px;
  }
  .award-copy p {
    font-size: 15px;
  }
  .award-year-block h2 {
    font-size: 30px;
  }
  .award-items {
    gap: 26px;
  }
  .awards-image-mosaic {
    gap: 14px;
  }
  .award-image-item img {
    height: 150px;
  }
}
@media (max-width: 520px) {
  .awards-hero-strip {
    min-height: 110px;
  }
  .awards-hero-strip h1 {
    font-size: 22px;
  }
  .awards-image-mosaic {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .award-image-item.large {
    grid-column: 1 / -1;
  }
  .award-image-item img {
    height: 120px;
  }
  .awards-content-col.awards-timeline {
    padding-left: 28px;
  }
  .award-items::before {
    width: 2px;
  }
  .award-text-item {
    grid-template-columns: 26px 1fr;
    gap: 18px;
  }
  .award-pin {
    width: 26px;
    height: 26px;
    margin-left: -12px;
    font-size: 15px;
  }
  .award-copy h3 {
    font-size: 20px;
  }
  .award-year-block h2 {
    font-size: 28px;
  }
}

/* Blog module */
.inner-hero.blog-hero {
  background:
    linear-gradient(90deg, rgba(31, 54, 95, 0.82), rgba(31, 54, 95, 0.55)),
    url("../img/page-hero.jpg");
  background-size: cover;
  background-position: center;
  padding: 82px 0;
  color: #fff;
}
.inner-hero.blog-hero h1 {
  font-size: 34px;
  font-weight: 800;
  margin: 0;
}
.semih-blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) 340px;
  gap: 42px;
  align-items: start;
}
.blog-main-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}
.blog-list-card,
.blog-side-card,
.blog-detail-card {
  background: #fff;
  border: 1px solid #e8edf5;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(31, 54, 95, 0.04);
}
.blog-list-card {
  overflow: hidden;
}
.blog-list-image {
  display: block;
  height: 238px;
  background: #f3f6fa;
  overflow: hidden;
}
.blog-list-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.35s;
}
.blog-list-card:hover .blog-list-image img {
  transform: scale(1.04);
}
.blog-image-placeholder {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #90a0ba;
  font-weight: 800;
}
.blog-list-body {
  padding: 22px;
}
.blog-category-pill {
  display: inline-flex;
  background: #eef3fb;
  color: #1f365f;
  border-radius: 20px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}
.blog-list-body h2 {
  font-size: 20px;
  line-height: 1.35;
  margin: 0 0 10px;
}
.blog-list-body h2 a {
  color: #1f365f;
  text-decoration: none;
}
.blog-list-body p {
  color: #64708a;
  line-height: 1.75;
  margin: 0 0 14px;
}
.read-more-link {
  color: #0c4da2;
  font-weight: 700;
  text-decoration: none;
}
.blog-sidebar {
  display: grid;
  gap: 24px;
}
.blog-side-card {
  padding: 24px;
}
.blog-side-card h3 {
  font-size: 20px;
  color: #1f365f;
  margin: 0 0 18px;
}
.blog-side-card input {
  width: 100%;
  border: 1px solid #dfe6f1;
  border-radius: 4px;
  padding: 14px 16px;
  color: #1f365f;
}
.blog-category-list {
  display: grid;
}
.blog-category-list a {
  padding: 13px 0;
  border-bottom: 1px solid #e7edf6;
  color: #52617c;
  text-decoration: none;
}
.blog-category-list a.active,
.blog-category-list a:hover {
  color: #1f365f;
  font-weight: 700;
}
.recent-blog-item {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  color: #1f365f;
  margin-bottom: 16px;
}
.recent-blog-item img {
  width: 74px;
  height: 56px;
  object-fit: cover;
  border-radius: 4px;
}
.recent-blog-item span {
  font-weight: 700;
  line-height: 1.35;
  font-size: 14px;
}
.blog-detail-card {
  padding: 40px;
}
.blog-detail-cover {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 24px;
}
.blog-detail-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  color: #64708a;
  font-size: 14px;
  margin-bottom: 10px;
}
.blog-detail-card h2 {
  font-size: 34px;
  line-height: 1.22;
  color: #1f365f;
  margin: 0 0 20px;
}
.blog-detail-content {
  color: #52617c;
  line-height: 1.95;
  font-size: 16px;
}
.blog-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}
.blog-preview-card {
  background: #fff;
  border: 1px solid #e8edf5;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(31, 54, 95, 0.04);
}
.blog-preview-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}
.blog-preview-card-body {
  padding: 20px;
}
.blog-preview-card h3 {
  margin: 0 0 10px;
  color: #1f365f;
  font-size: 20px;
  line-height: 1.35;
}
.blog-preview-card p {
  color: #64708a;
  line-height: 1.7;
}
.blog-preview-card a {
  color: #0c4da2;
  font-weight: 700;
  text-decoration: none;
}
@media (max-width: 992px) {
  .semih-blog-layout {
    grid-template-columns: 1fr;
  }
  .blog-main-grid,
  .blog-preview-grid {
    grid-template-columns: 1fr;
  }
  .blog-sidebar {
    grid-row: auto;
  }
  .blog-detail-card {
    padding: 24px;
  }
}

/* Home testimonials slider */
.home-testimonials-slider {
  min-height: 430px;
  padding: 88px 0;
  background: #1c3158;
  background-image:
    linear-gradient(rgba(28, 49, 88, 0.84), rgba(28, 49, 88, 0.84)),
    url("../images/testimonials-bg.jpg");
  background-position: center;
  background-size: cover;
  position: relative;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.home-testimonials-slider .testimonials-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28, 49, 88, 0.72);
}
.home-testimonials-slider .testimonials-content {
  position: relative;
  z-index: 2;
  text-align: center;
}
.home-testimonials-slider h2 {
  font-size: 34px;
  line-height: 1.2;
  margin: 0 0 8px;
  color: #fff;
}
.testimonials-all-link {
  display: inline-flex;
  margin-bottom: 30px;
  color: #dce7ff;
  text-decoration: none;
  font-weight: 700;
}
.home-testimonial-stage {
  position: relative;
  max-width: 850px;
  margin: 0 auto;
  min-height: 165px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.home-testimonial-item {
  display: none;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}
.home-testimonial-item.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
.home-testimonial-item p {
  font-size: 19px;
  line-height: 1.8;
  color: #fff;
  margin: 0 auto 22px;
  max-width: 860px;
}
.home-testimonial-item h3 {
  font-size: 25px;
  line-height: 1.2;
  margin: 0 0 9px;
  color: #fff;
  font-weight: 800;
}
.home-testimonial-stars {
  display: flex;
  justify-content: center;
  gap: 3px;
}
.home-testimonial-stars span {
  font-size: 20px;
  color: #fff;
}
.home-testimonial-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transition: 0.2s;
}
.home-testimonial-nav:hover {
  background: rgba(255, 255, 255, 0.3);
}
.home-testimonial-nav.prev {
  left: -80px;
}
.home-testimonial-nav.next {
  right: -80px;
}

/* Testimonials listing */
.testimonials-page-section {
  background: #fff;
}
.testimonials-masonry-grid {
  columns: 4 260px;
  column-gap: 18px;
}
.testimonial-modern-card {
  break-inside: avoid;
  background: #fff;
  border: 1px solid #dfe4ec;
  border-radius: 12px;
  padding: 24px 24px 20px;
  margin: 0 0 18px;
  box-shadow: 0 12px 32px rgba(28, 49, 88, 0.04);
  text-align: center;
}
.testimonial-modern-card p {
  font-size: 17px;
  line-height: 1.75;
  color: #33405d;
  margin: 0 0 18px;
}
.testimonial-card-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}
.testimonial-card-footer strong {
  font-size: 19px;
  color: #1c3158;
}
.testimonial-card-footer span {
  color: #5c6680;
  font-size: 15px;
}
.testimonial-card-stars {
  margin-top: 10px;
  color: #1c3158;
  letter-spacing: 2px;
}
.testimonial-card-stars span {
  font-size: 17px;
}
@media (max-width: 1050px) {
  .home-testimonial-nav.prev {
    left: 0;
  }
  .home-testimonial-nav.next {
    right: 0;
  }
  .home-testimonial-item {
    padding: 0 58px;
  }
}
@media (max-width: 640px) {
  .home-testimonials-slider {
    min-height: 380px;
    padding: 62px 0;
  }
  .home-testimonial-item p {
    font-size: 16px;
  }
  .home-testimonial-item h3 {
    font-size: 21px;
  }
  .home-testimonial-nav {
    width: 40px;
    height: 40px;
  }
  .testimonials-masonry-grid {
    columns: 1;
  }
  .testimonial-card-footer {
    justify-content: flex-start;
  }
  .testimonial-modern-card {
    text-align: left;
  }
}

/* Contact page module */
.contact-hero-strip {
  min-height: 150px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(rgba(23, 52, 92, 0.72), rgba(23, 52, 92, 0.72)),
    url("../img/page-hero.jpg") center/cover no-repeat;
  color: #fff;
}
.contact-hero-strip h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
}
.contact-page-section {
  padding: 70px 0;
  background: #fff;
}
.contact-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.85fr);
  gap: 42px;
  align-items: start;
}
.contact-form-card {
  display: grid;
  gap: 18px;
}
.contact-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.contact-form-card label {
  display: grid;
  gap: 8px;
  color: #17345c;
  font-size: 14px;
  font-weight: 500;
}
.contact-form-card input,
.contact-form-card textarea {
  width: 100%;
  border: 0;
  background: #f1f2f5;
  min-height: 48px;
  padding: 13px 15px;
  color: #17345c;
  outline: none;
  resize: vertical;
  border-radius: 0;
  font: inherit;
}
.contact-form-card textarea {
  min-height: 150px;
}
.contact-submit-wrap {
  display: flex;
  justify-content: flex-end;
}
.contact-submit {
  border: 0;
  background: #17345c;
  color: #fff;
  min-width: 120px;
  min-height: 44px;
  border-radius: 3px;
  cursor: pointer;
  font-weight: 700;
}
.contact-info-card h2 {
  color: #17345c;
  font-size: clamp(26px, 3vw, 36px);
  margin: 0 0 12px;
  font-weight: 800;
}
.contact-lead {
  color: #61708a;
  margin: 0 0 32px;
  line-height: 1.7;
}
.contact-info-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  margin-bottom: 22px;
  width: 100%;
}
.contact-icon {
  width: 34px;
  height: 34px;
  color: #17345c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  line-height: 1;
}
.contact-info-item strong {
  display: block;
  color: #17345c;
  margin-bottom: 4px;
  font-weight: 800;
}
.contact-info-item span,
.contact-info-item a {
  display: block;
  color: #4f5d76;
  line-height: 1.6;
  text-decoration: none;
}
.contact-map-section {
  width: 100%;
  height: 420px;
  overflow: hidden;
  background: #eef2f7;
}
.contact-map-section iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
@media (max-width: 900px) {
  .contact-main-grid,
  .contact-form-row {
    grid-template-columns: 1fr;
  }
  .contact-page-section {
    padding: 45px 0;
  }
  .contact-map-section {
    height: 340px;
  }
}

/* Split popup with frequency control */
.popup-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.52);
  display: grid;
  place-items: center;
  padding: 22px;
}
.popup-box.popup-box-split {
  width: min(920px, 100%);
  padding: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(260px, 42%) 1fr;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 28px 90px rgba(15, 23, 42, 0.25);
  position: relative;
}
.popup-media {
  background: #f8fafc;
  min-height: 320px;
  display: grid;
  place-items: center;
}
.popup-media img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
}
.popup-content {
  padding: 44px 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.popup-content h2 {
  color: #263755;
  margin: 0 0 14px;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.18;
}
.popup-content p {
  margin: 0 0 24px;
  color: #5b667d;
  font-size: 17px;
  line-height: 1.75;
  white-space: normal;
}
.popup-action {
  align-self: flex-start;
  color: #fff;
  background: #263755;
}
.popup-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  border: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  color: #ef4444;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
  display: grid;
  place-items: center;
}
@media (max-width: 768px) {
  .popup-box.popup-box-split {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 34px);
    overflow-y: auto;
  }
  .popup-media {
    min-height: 220px;
  }
  .popup-content {
    padding: 28px 24px;
  }
}

/* v40 icon polish */
.topbar-contact a,
.topbar-social a,
.footer-social a,
.card-location,
.property-specs span,
.detail-meta-line span,
.agent-card a,
.footer-contact-item,
.contact-info-item,
.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.topbar-contact i,
.topbar-social i {
  font-size: 15px;
  line-height: 1;
}

.topbar-social a,
.footer-social a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    color 0.2s ease;
}

.topbar-social a:hover,
.footer-social a:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
}

.property-specs.semih-specs span,
.property-specs span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #6c768d;
}

.property-specs.semih-specs i,
.property-specs i {
  color: #aab3c6;
  font-size: 18px;
  width: 20px;
  text-align: center;
}

.card-location i,
.detail-meta-line i {
  color: #d33932;
  font-size: 13px;
}

.footer-contact-list {
  display: grid;
  gap: 14px;
}

.footer-contact-item {
  align-items: flex-start;
  color: #c9d3ee;
  line-height: 1.65;
}

.footer-contact-item i {
  width: 20px;
  min-width: 20px;
  margin-top: 5px;
  color: #fff;
  text-align: center;
}
.footer-contact-item span {
  display: flex;
  gap: 5px;
}

.footer-contact-item strong {
  display: block;
  color: #fff;
  font-weight: 700;
  margin-bottom: 2px;
}

.footer-contact-item a {
  color: #c9d3ee;
  text-decoration: none;
}

.whatsapp-float i,
.scroll-top i {
  font-size: 24px;
  line-height: 1;
}

.award-pin i {
  font-size: 14px;
  color: #1f365f;
}

.contact-icon {
  border: 1px solid rgba(23, 52, 92, 0.18);
  border-radius: 10px;
  background: #fff;
  font-size: 17px !important;
}

.contact-icon i {
  color: #17345c;
  font-size: 17px;
}

.contact-info-item:hover .contact-icon {
  background: #17345c;
  color: #fff;
}

.contact-info-item:hover .contact-icon i {
  color: #fff;
}

.agent-card a i {
  color: #17345c;
}

.menu-toggle i {
  font-size: 15px;
}

@media (max-width: 768px) {
  .topbar-contact {
    flex-wrap: wrap;
    justify-content: space-between;
    display: flex;
    width: 100%;
  }
  .menu-toggle {
    display: block !important;
  }
  .topbar-social a,
  .footer-social a {
    width: 26px;
    height: 26px;
  }
}

/* Dynamic header dropdown menus */
.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav-item > a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.nav-item > a i {
  font-size: 11px;
  transition: transform .18s ease;
}
.nav-item:hover > a i {
  transform: rotate(180deg);
}
.nav-dropdown {
  position: absolute;
  top: calc(100% + 16px);
  left: 0;
  min-width: 230px;
  background: #fff;
  border: 1px solid #edf0f5;
  box-shadow: 0 18px 48px rgba(20, 35, 65, .13);
  border-radius: 14px;
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: .18s ease;
  z-index: 80;
}
.nav-item:hover > .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 11px 13px;
  border-radius: 10px;
  color: #5d6884;
  white-space: nowrap;
}
.nav-dropdown a:hover,
.nav-dropdown a.active {
  background: #f4f7fb;
  color: #1c3158;
}
.mobile-nav .nav-item {
  display: block;
}
.mobile-nav .nav-item > a {
  display: flex;
  justify-content: space-between;
}
.mobile-nav .nav-dropdown {
  position: static;
  opacity: 1;
  visibility: visible;
  transform: none;
  box-shadow: none;
  border: 0;
  border-left: 2px solid #edf0f5;
  border-radius: 0;
  padding: 0 0 0 14px;
  margin: 0 0 8px 8px;
}
.mobile-nav .nav-dropdown a {
  padding: 9px 0;
  background: transparent !important;
}
@media (max-width: 920px) {
  .nav-item:hover > .nav-dropdown { display: block; }
}


.property-card.is-sold .property-image img{filter:grayscale(.2) brightness(.75)}
.property-badge.sold,.sold-detail-badge{background:#e11d48!important;color:#fff!important}
.property-kind-badge{position:absolute;left:18px;top:18px;background:rgba(255,255,255,.9);color:#1f365f;border-radius:999px;padding:6px 12px;font-size:12px;font-weight:800;z-index:2}
.blog-detail-content{color:#536178;font-size:16px;line-height:1.9}
.blog-detail-content p{margin:0 0 18px}
.blog-detail-content h1,.blog-detail-content h2,.blog-detail-content h3{color:#1f365f;margin:28px 0 14px;line-height:1.3}
.blog-detail-content ul,.blog-detail-content ol{padding-left:24px;margin:0 0 18px}
.blog-detail-content a{color:#1f365f;text-decoration:underline}
.portfolio-listing-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.portfolio-filter-sidebar {
  position: sticky;
  top: 166px;
  align-self: start;
  z-index: 5;
}
.filter-panel-card {
  background: #fff;
  border: 1px solid #e6ebf3;
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(28, 49, 88, .08);
  padding: 20px;
}
.filter-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid #eef2f7;
}
.filter-panel-head strong {
  display: block;
  color: #1c3158;
  font-size: 20px;
  line-height: 1.1;
}
.filter-panel-head small {
  display: block;
  margin-top: 6px;
  color: #7a8498;
  font-size: 12px;
}
.filter-panel-close {
  display: none;
  width: 38px;
  height: 38px;
  border: 1px solid #e4e9f2;
  border-radius: 12px;
  background: #fff;
  color: #1c3158;
}
.portfolio-filter {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 0;
}
.portfolio-filter .filter-control {
  height: 54px;
  width: 100%;
  border-radius: 12px;
  padding: 0 14px;
  gap: 10px;
  box-shadow: none;
  background: #fbfcfe;
}
.portfolio-filter .filter-control input,
.portfolio-filter .filter-control select {
  font-size: 14px;
  color: #1f2d46;
}
.filter-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.portfolio-filter .advanced-filter {
  margin-top: 4px;
  border-top: 1px solid #eef2f7;
  padding-top: 16px;
}
.portfolio-filter .advanced-filter summary {
  width: 100%;
  font-size: 15px;
  font-weight: 700;
  color: #1c3158;
  justify-content: flex-start;
  gap: 10px;
}
.portfolio-filter .advanced-filter summary span {
  width: 28px;
  height: 28px;
  background: #1c3158;
}
.portfolio-filter .advanced-filter summary span:before,
.portfolio-filter .advanced-filter summary span:after {
  left: 8px;
  right: 8px;
  top: 13px;
}
.portfolio-filter .advanced-body {
  padding: 18px 0 0;
}
.portfolio-filter .advanced-body h2 {
  font-size: 14px;
  margin-bottom: 12px;
}
.portfolio-filter .feature-check-grid {
  grid-template-columns: 1fr;
  gap: 10px;
  max-width: none;
}
.portfolio-filter .feature-check-grid label {
  font-size: 14px;
  gap: 10px;
}
.portfolio-filter .filter-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 8px;
}
.portfolio-filter .filter-actions .btn {
  min-height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  font-size: 14px;
}
.portfolio-listing-main {
  min-width: 0;
}
.portfolio-listing-main .portfolio-toolbar {
  margin-top: 0;
}
.portfolio-listing-main .portfolio-grid {
  gap: 24px;
}
.portfolio-mobile-filterbar {
  display: none;
}
.portfolio-filter-toggle {
  border: 0;
  background: #1c3158;
  color: #fff;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 14px 30px rgba(28, 49, 88, .18);
}
@media (max-width: 1180px) {
  .portfolio-listing-layout {
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 22px;
  }
  .portfolio-listing-main .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 920px) {
  .portfolio-mobile-filterbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
  }
  .portfolio-mobile-filterbar span {
    color: #7a8498;
    font-size: 14px;
  }
  .portfolio-listing-layout {
    display: block;
  }
  .portfolio-filter-sidebar {
    position: static;
    display: none;
    margin-bottom: 22px;
  }
  .portfolio-filter-sidebar.active {
    display: block;
    animation: filterDrop .18s ease-out;
  }
  .filter-panel-card {
    border-radius: 20px;
    padding: 18px;
  }
  .filter-panel-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .portfolio-toolbar span {
    display: none;
  }
  .portfolio-listing-main .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .portfolio-page {
    padding-top: 22px;
  }
  .portfolio-mobile-filterbar {
    position: sticky;
    top: 0;
    z-index: 12;
    background: rgba(247, 248, 251, .94);
    backdrop-filter: blur(12px);
    padding: 10px 0;
  }
  .portfolio-filter-toggle {
    width: 100%;
    justify-content: center;
  }
  .portfolio-mobile-filterbar span {
    display: none;
  }
  .filter-mini-grid,
  .portfolio-filter .filter-actions {
    grid-template-columns: 1fr;
  }
  .portfolio-listing-main .portfolio-grid {

.popup-backdrop.is-closing {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.12s ease;
}
.popup-backdrop [data-popup-close] {
  pointer-events: auto;
}
