:root {
  --ink: #050505;
  --muted: #6a6a6a;
  --page: #f4f4f4;
  --brand: #050f46;
  --brand-hover: #091b68;
  --footer: var(--brand);
  --content-width: 90%;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--page);
  font-size: 14px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.page-container {
  width: var(--content-width);
  max-width: none;
}

.hero-section {
  position: relative;
  min-height: 715px;
  padding-top: 34px;
  background: #111;
  overflow: visible;
}

.hero-slider {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-slider,
.hero-slider .carousel-inner,
.hero-slider .carousel-item,
.hero-slide {
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-slide-one {
  background-image: url("../images/pdf-img-202.jpeg");
}

.hero-slide-two {
  background-image: url("../images/pdf-img-162.jpeg");
}

.hero-slide-three {
  background-image: url("../images/0x0.jpg");
}

.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
  top: 46%;
  bottom: auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(5, 15, 70, .82);
  color: #fff;
  opacity: 1;
  transform: translateY(-50%);
}

.hero-slider .carousel-control-prev {
  left: 2%;
}

.hero-slider .carousel-control-next {
  right: 2%;
}

.hero-slider .carousel-control-prev:hover,
.hero-slider .carousel-control-next:hover {
  background: var(--brand-hover);
}

.hero-slider .carousel-control-prev i,
.hero-slider .carousel-control-next i {
  font-size: 20px;
}

.hero-slider .carousel-indicators {
   bottom: 245px;
  /*bottom:10px;*/
  z-index: 4;
  gap: 7px;
  margin-bottom: 0;
}

.hero-slider .carousel-indicators [data-bs-target] {
  width: 9px;
  height: 9px;
  margin: 0;
  border: 0;
  border-radius: 50%;
}

.site-nav,
.hero-content,
.search-container {
  position: relative;
  z-index: 2;
}

.site-nav {
  padding: 0;
}

.site-nav .page-container {
  max-width: none;
  background: #fff;
  min-height: 72px;
  border-radius: 36px;
  padding: 0 26px 0 38px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, .1);
}

.navbar-brand {
  width: 104px;
  height: 62px;
  margin: 0;
  display: flex;
  align-items: center;
}

.navbar-brand img {
  width: 92px;
  height: auto;
  object-fit: contain;
}

.navbar-nav {
  gap: 36px;
}

.site-nav .nav-link {
  color: #111;
  font-size: 17px;
  line-height: 1;
  font-weight: 500;
  padding: 0;
  position: relative;
}

.site-nav .nav-link.active,
.site-nav .nav-link:hover {
  color: var(--brand);
}

.site-nav .nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--brand);
  border-radius: 999px;
}

.login-btn,
.dark-small-btn,
.search-btn,
.submit-btn,
.card-btn {
  border-radius: 999px;
  --bs-btn-bg: var(--brand);
  --bs-btn-border-color: var(--brand);
  --bs-btn-hover-bg: var(--brand-hover);
  --bs-btn-hover-border-color: var(--brand-hover);
  --bs-btn-active-bg: var(--brand-hover);
  --bs-btn-active-border-color: var(--brand-hover);
  background: var(--brand);
  color: #fff;
  border: 0;
}

.login-btn {
  min-width: 126px;
  min-height: 42px;
  /*padding: 10px 28px;*/
  padding: 13px 28px;
  font-size: 17px;
  line-height: 1;
  font-weight: 500;
}

.hero-content {
  max-width: none;
  padding-top: 60px;
  color: #fff;
}

.hero-content h1 {
  max-width: 915px;
  margin: 0;
  font-size: clamp(46px, 5vw, 74px);
  line-height: 1.12;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0;
  text-shadow: -8px 1px 8px #00000099;
}

.hero-content p {
  max-width: 585px;
  margin: 34px 0 0;
  color: rgba(255, 255, 255, .92);
  font-size: 16px;
  line-height: 1.55;
}

.search-container {
  width: var(--content-width);
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.search-panel {
  position: relative;
  z-index: 2;
  margin: 64px auto -78px;
  padding: 26px;
  background: #fff;
  border-radius: 40px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .16);
}

.search-tabs {
  display: flex;
  gap: 26px;
  margin-bottom: 26px;
}

.tab-pill {
  min-width: 92px;
  min-height: 42px;
  padding: 11px 22px;
  border: 1px solid var(--brand);
  color: var(--brand);
  border-radius: 999px;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
}

.btn-check:checked + .tab-pill {
  background: var(--brand);
  color: #fff;
}

.search-panel .form-label {
  margin-bottom: 20px;
  font-size: 17px;
  font-weight: 600;
  color: #111;
}

.search-panel .row {
  --bs-gutter-x: 26px;
}

.search-panel .form-control,
.search-panel .form-select {
  min-height: 57px;
  border: 0;
  border-radius: 999px;
  background-color: #f1f1f1;
  color: #777;
  font-size: 15px;
  padding: 0 27px;
}

.inquiry-form label {
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
  color: #111;
}

.inquiry-form .form-control,
.inquiry-form .form-select {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background-color: #f1f1f1;
  color: #777;
  font-size: 12px;
  padding: 0 24px;
}

.search-btn {
  width: 100%;
  min-height: 57px;
  font-size: 16px;
  font-weight: 500;
}

.search-btn i {
  margin-left: 8px;
  font-size: 18px;
  vertical-align: -1px;
}

.partners-section {
  padding: 52px 0 32px;
  background: var(--page);
}

.partners-section .page-container {
  max-width: none;
}

.partners-section h2 {
  margin: 0 0 48px;
  text-align: center;
  font-size: 36px;
  line-height: 1.2;
  font-weight: 700;
}

.partners-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1112px;
  margin: 0 auto;
  gap: 24px;
}

.partners-grid img {
  width: 260px;
  height: 80px;
  max-width: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.gallery-section h2 {
  margin: 0 0 43px;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
}

.about-section {
  padding: 58px 0 92px;
}

.about-section .page-container {
  max-width: none;
}

.about-section .row {
  align-items: flex-start !important;
}

.eyebrow,
.outline-btn,
.outline-light-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 999px;
}

.eyebrow {
  min-width: 104px;
  height: 28px;
  margin-bottom: 38px;
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}

.about-section h2,
.inquiry-copy h2,
.client-copy h2 {
  margin: 0 0 28px;
  /*font-size: 35px;*/
  font-size: 40px;
  line-height: 1.22;
  font-weight: 800;
}

.about-section p,
.inquiry-copy p,
.client-copy p {
  color: #202020;
  font-size: 14px;
  line-height: 1.72;
 }

.outline-btn,
.outline-light-btn {
  padding: 8px 18px;
  font-size: 11px;
  font-weight: 600;
}

.outline-btn {
  color: var(--brand);
}

.outline-btn:hover {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.outline-light-btn {
  color: #fff;
}

.about-collage {
  position: relative;
  width: 100%;
  max-width: 882px;
  aspect-ratio: 882 / 620;
  margin-left: auto;
  margin-right: 46px;
}

.about-collage img {
  position: absolute;
  object-fit: cover;
}

.about-main {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: 80px 80px 80px 250px;
}

.about-small {
  right: 0;
  top: 10px;
  z-index: 2;
  width: 28%;
  height: 37%;
  border: 18px solid var(--page);
  border-radius: 100px;
}

.agent-badge {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 3;
  width: 28%;
  height: 35%;
  border-radius: 82px;
  background: var(--brand);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 18px var(--page);
}

.agent-badge strong {
  font-size: clamp(28px, 2.2vw, 42px);
  line-height: 1;
}

.agent-badge span {
  margin-top: 12px;
  font-size: clamp(13px, 1.3vw, 20px);
  font-weight: 600;
}

.properties-section {
  padding: 0 0 82px;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
}

.section-heading h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
}

.dark-small-btn {
  padding: 11px 24px;
  font-size: 12px;
  font-weight: 600;
}

.property-card,
.news-card {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  height: 100%;
}

.property-image {
  position: relative;
  height: 232px;
  border-radius: 12px;
  overflow: hidden;
}

.property-image img,
.news-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-image span {
  position: absolute;
  left: 18px;
  top: 18px;
  padding: 9px 15px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 11px;
}

.property-body {
  padding-top: 26px;
}

.property-body h3 {
  margin: 0 0 15px;
  font-size: 17px;
  font-weight: 800;
}

.property-body h4 {
  margin: 0 0 22px;
  font-size: 17px;
  font-weight: 700;
}

.property-body p {
  margin: 0 0 27px;
  color: #282828;
  font-size: 12px;
}

.property-body p i {
  margin-right: 8px;
}

.property-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 26px;
  color: #1e1e1e;
  font-size: 12px;
  white-space: nowrap;
}

.property-meta i {
  margin-right: 5px;
}

.card-btn {
  width: 100%;
  min-height: 38px;
  /*font-size: 12px;*/
  font-size: 16px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 58px;
}

.stats-row div {
  text-align: center;
  border-right: 1px solid #cdcdcd;
}

.stats-row div:last-child {
  border-right: 0;
}

.stats-row strong {
  display: block;
  font-size: 38px;
  line-height: 1;
  font-weight: 500;
  color: #555;
}

.stats-row span {
  display: block;
  margin-top: 20px;
  font-size: 12px;
  font-weight: 600;
}

.inquiry-section {
  padding: 202px 0 86px;
  min-height: 846px;
  color: #fff;
  /*background: url("../images/pdf-img-64.jpeg") center / cover no-repeat;*/
  background: url("../images/12.jpg") center / cover no-repeat;
}

.inquiry-copy {
  padding-top: 44px;
}

.inquiry-copy h2 {
  color: #fff;
  text-shadow: 4px 3px 0 #000000;
}

.inquiry-copy p {
  max-width: 585px;
  color: rgba(255, 255, 255, .93);
}

.contact-line {
  margin: 28px 0 0;
  font-size: 16px;
  font-weight: 600;
}

.inquiry-form {
  padding: 34px 44px 42px;
  background: #fff;
  color: #111;
  border-radius: 20px;
}

.inquiry-form label {
  display: block;
  margin: 0 0 14px;
}

.inquiry-form .form-control,
.inquiry-form .form-select {
  margin-bottom: 24px;
}

.inquiry-form .row .form-control,
.inquiry-form .row .form-select {
  margin-bottom: 24px;
}

.submit-btn {
  width: 100%;
  min-height: 48px;
  font-size: 16px;
  /*font-size: 13px;*/
}

.gallery-section {
  padding: 86px 0 60px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-auto-rows: 272px;
  gap: 24px;
}

.gallery-grid a {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-tall {
  grid-row: span 2;
}

.gallery-grid i {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 14px;
}

.testimonials-section {
  padding: 55px 0 88px;
}

.testimonial-stack {
  position: relative;
  min-height: 690px;
}

.testimonial-card {
  position: absolute;
  width: 495px;
  min-height: 236px;
  padding: 42px 72px 34px 168px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 25px 40px rgba(0, 0, 0, .12);
}

.testimonial-card.active {
  top: 218px;
  right: 0;
  z-index: 2;
}

.testimonial-card.faded {
  top: 0;
  right: 92px;
  opacity: .55;
}

.testimonial-card.lower {
  top: 436px;
  right: 92px;
}

.testimonial-card img {
  position: absolute;
  left: 36px;
  top: 42px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-card p {
  margin: 0 0 22px;
  color: #363636;
  font-size: 12px;
  line-height: 1.65;
}

.testimonial-card h3 {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 800;
}

.testimonial-card span {
  color: #777;
  font-size: 12px;
}

.testimonial-card .bi-quote {
  position: absolute;
  right: 42px;
  bottom: 28px;
  color: #777;
  font-size: 54px;
}

.testimonial-vertical-slider {
  width: 100%;
  max-width: 700px;
  height: 772px;
  margin: 0 auto;
  padding: 7px 24px 7px 38px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 15%, #000 85%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 15%, #000 85%, transparent 100%);
}

.testimonial-track {
  display: flex;
  flex-direction: column;
  gap: 26px;
  will-change: transform;
}

.testimonial-vertical-slider .testimonial-card {
  position: relative;
  inset: auto;
  width: calc(100% - 46px);
  height: 240px;
  min-height: 240px;
  flex: 0 0 240px;
  margin: 0;
  padding: 42px 76px 34px 176px;
  border-radius: 22px;
  opacity: .34;
  box-shadow: 0 28px 48px rgba(0, 0, 0, .2);
  transition: opacity 700ms ease, transform 700ms ease;
}

.testimonial-vertical-slider .testimonial-card img {
  left: 38px;
  top: 42px;
  width: 110px;
  height: 110px;
}

.testimonial-vertical-slider .testimonial-card:nth-child(2) {
  z-index: 2;
  opacity: 1;
  transform: translateX(46px);
}

.testimonial-vertical-slider .testimonial-card:nth-child(n+4) {
  opacity: 0;
}

.testimonial-vertical-slider .testimonial-card p {
  margin-bottom: 18px;
  font-size: 15px;
  line-height: 1.75;
}

.testimonial-vertical-slider .testimonial-card h3 {
  margin-bottom: 7px;
  font-size: 18px;
}

.testimonial-vertical-slider .testimonial-card span {
  font-size: 15px;
}

.testimonial-vertical-slider .testimonial-card .bi-quote {
  right: 34px;
  bottom: 22px;
  font-size: 78px;
  line-height: .7;
}

.client-copy {
  padding-left: 18px;
}

.client-copy p {
  max-width: 600px;
  margin-bottom: 32px;
}

.news-section {
  padding: 0 0 96px;
}

.news-arrows {
  display: flex;
  gap: 14px;
}

.news-arrows button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--brand);
  border-radius: 50%;
  background: transparent;
  color: var(--brand);
}

.news-arrows button:hover {
  background: var(--brand);
  color: #fff;
}

.news-slider {
  width: 100%;
  overflow: hidden;
}

.news-track {
  display: flex;
  gap: 24px;
  will-change: transform;
}

.news-track .news-card {
  flex: 0 0 calc((100% - 48px) / 3);
}

.news-card {
  padding: 20px;
  border-radius: 10px;
}

.news-card > img {
  height: 259px;
  border-radius: 10px;
}

.news-body {
  padding: 24px 6px 0;
}

.news-body h3 {
  margin: 0 0 28px;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 800;
}

.news-body p {
  margin: 0 0 26px;
  color: #4a4a4a;
  font-size: 13px;
  line-height: 1.65;
}

.news-body div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
}

.site-footer {
  color: #fff;
  background: var(--footer);
}

.site-footer .page-container {
  padding-top: 110px;
  padding-bottom: 80px;
}

.footer-logo {
  width: 160px;
  height: 96px;
  margin-bottom: 28px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #fff;
  object-fit: contain;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, .68);
  font-size: 13px;
  line-height: 1.8;
}

.site-footer h3 {
  margin: 0 0 34px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.site-footer a {
  display: block;
  margin-bottom: 18px;
}

.socials {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.socials a {
  margin: 0;
  color: #fff;
}

.copyright {
  padding: 22px 16px;
  border-top: 1px solid rgba(255, 255, 255, .18);
  text-align: center;
  color: rgba(255, 255, 255, .75);
  font-size: 12px;
}

/* Inner pages */
.inner-page {
  background: var(--page);
}

.inner-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  padding-top: 34px;
}

.page-hero {
  min-height: 520px;
  padding: 210px 0 90px;
  color: #fff;
  background-position: center;
  background-size: cover;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .52);
}

.page-hero {
  position: relative;
}

.page-hero .page-container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 850px;
  margin: 0 0 20px;
  font-size: clamp(44px, 5vw, 76px);
  line-height: 1.08;
  font-style: italic;
  font-weight: 800;
  /*text-shadow: 4px 3px 0 #000000;*/
  text-shadow: -8px 1px 8px #00000099;
}

.page-hero p {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, .9);
  font-size: 16px;
  line-height: 1.7;
  
  
}

.page-hero--about {
  background-image: url("../images/pdf-img-268.jpeg");
}

.page-hero--about::before {
  background: none;
}

.page-hero--property {
  background-image: url("../images/pdf-img-202.jpeg");
}

.page-hero--property::before {
  background: none;
}

.page-hero--blog {
  background-image: url("../images/28.png");
}

.page-hero--blog::before {
  background: none;
}

.page-hero--contact {
  background-image: url("../images/25.jpeg");
  
}

.page-hero--contact::before {
  background: none;
}

.inner-content {
  padding-top: 90px;
  padding-bottom: 100px;
}

.inner-page .properties-section,
.inner-page .news-section {
  padding-top: 90px;
}

.page-intro {
  max-width: 760px;
  margin: 0 auto 55px;
  text-align: center;
}

.page-intro h2 {
  margin: 0 0 18px;
  font-size: 36px;
  font-weight: 800;
}

.page-intro p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.contact-details {
  display: grid;
  gap: 18px;
}

.contact-detail-card {
  padding: 28px;
  border-radius: 18px;
  background: #fff;
}

.contact-detail-card i {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 18px;
}

.contact-detail-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
}

.contact-detail-card p {
  margin: 0;
  color: var(--muted);
}

.inner-contact-form,
.login-card {
  padding: 42px;
  border-radius: 22px;
  background: #fff;
}

.inner-contact-form label,
.login-card label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
}

.inner-contact-form .form-control,
.inner-contact-form .form-select,
.login-card .form-control {
  min-height: 54px;
  margin-bottom: 22px;
  border: 0;
  border-radius: 999px;
  background: #f1f1f1;
  padding: 0 24px;
}

.inner-contact-form textarea.form-control {
  min-height: 150px;
  padding-top: 18px;
  border-radius: 22px;
  resize: vertical;
}

.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 140px 5% 70px;
  background: linear-gradient(rgba(0, 0, 0, .58), rgba(0, 0, 0, .58)), url("../images/pdf-img-202.jpeg") center / cover;
}

.login-card {
  width: min(100%, 480px);
}

.login-card h1 {
  margin: 0 0 12px;
  font-size: 34px;
  font-weight: 800;
}

.login-card > p {
  margin-bottom: 30px;
  color: var(--muted);
}

.login-card .login-options {
  display: flex;
  justify-content: space-between;
  margin: 0 0 24px;
  font-size: 12px;
}

.login-card .login-options label {
  margin: 0;
}

.login-card .login-options input {
  margin-right: 6px;
}

.login-card .submit-btn {
  min-height: 54px;
}

.login-card .signup-line {
  margin: 24px 0 0;
  text-align: center;
  font-size: 13px;
}

@media (max-width: 1199px) {
  .page-container {
    max-width: none;
  }

  .navbar-nav {
    gap: 16px;
  }

  .hero-section {
    min-height: 680px;
  }

  .about-collage {
    min-height: 0;
    margin-right: auto;
  }

  .about-main {
    width: 100%;
  }

  .property-meta {
    flex-wrap: wrap;
  }

  .testimonial-card {
    position: relative;
    inset: auto !important;
    width: 100%;
    margin-bottom: 24px;
  }

  .testimonial-stack {
    min-height: 0;
  }
}

@media (max-width: 991px) {
  .site-nav .page-container {
    border-radius: 20px;
    padding: 8px 18px;
  }

  .navbar-collapse {
    padding: 20px 0 10px;
  }

  .navbar-nav {
    align-items: flex-start !important;
    margin-bottom: 18px;
  }

  .hero-content {
    padding-top: 95px;
  }

  .search-panel {
    margin-top: 62px;
    margin-bottom: -110px;
    padding: 26px;
  }

  .partners-section {
    padding-top: 140px;
  }

  .about-small {
    right: 0;
  }

  .inquiry-section {
    padding-top: 120px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .client-copy {
    padding-left: 0;
  }

  .news-track .news-card {
    flex-basis: calc((100% - 24px) / 2);
  }
}

@media (max-width: 767px) {
  body {
    font-size: 13px;
  }

  .search-container {
    width: var(--content-width);
  }

  .search-tabs {
    gap: 10px;
  }

  .tab-pill {
    flex: 1 1 0;
    min-width: 0;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 15px;
  }

  .hero-section {
    min-height: auto;
    padding-bottom: 48px;
  }

  .hero-slider .carousel-indicators {
    bottom: 18px;
  }

  .hero-content h1 {
    font-size: 40px;
  }

  .search-panel {
    margin: 48px auto 0;
    border-radius: 28px;
  }

  .search-panel .form-label {
    margin-bottom: 10px;
  }

  .partners-section {
    padding-top: 64px;
  }

  .partners-section h2 {
    margin-bottom: 32px;
    font-size: 28px;
  }

  .inner-header {
    padding-top: 18px;
  }

  .page-hero {
    min-height: 460px;
    padding-top: 180px;
  }

  .page-hero h1 {
    font-size: 42px;
  }

  .inner-content,
  .inner-page .properties-section,
  .inner-page .news-section {
    padding-top: 64px;
    padding-bottom: 70px;
  }

  .page-intro h2 {
    font-size: 30px;
  }

  .inner-contact-form,
  .login-card {
    padding: 28px 22px;
  }

  .news-track .news-card {
    flex-basis: 100%;
  }

  .section-heading {
    align-items: flex-start;
    gap: 18px;
    flex-direction: column;
  }

  .about-collage {
    min-height: 0;
  }

  .about-main {
    width: 100%;
  }

  .about-small {
    width: 28%;
    height: 37%;
  }

  .agent-badge {
    width: 46%;
    height: 30%;
    padding: 6px;
    border-radius: 20px;
    box-shadow: 0 0 0 10px var(--page);
  }

  .agent-badge strong {
    font-size: 20px;
  }

  .agent-badge span {
    margin-top: 4px;
    font-size: 11px;
    text-align: center;
    line-height: 1.2;
  }

  .stats-row {
    grid-template-columns: 1fr 1fr;
    row-gap: 36px;
  }

  .stats-row div:nth-child(2) {
    border-right: 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }

  .gallery-tall {
    grid-row: span 1;
  }

  .testimonial-card {
    padding: 150px 28px 32px;
  }

  .testimonial-card img {
    left: 28px;
  }

  .testimonial-vertical-slider {
    height: 630px;
    padding: 5px 8px;
  }

  .testimonial-vertical-slider .testimonial-track {
    gap: 18px;
  }

  .testimonial-vertical-slider .testimonial-card {
    width: 100%;
    height: 198px;
    min-height: 198px;
    flex-basis: 198px;
    padding: 24px 20px 20px 105px;
  }

  .testimonial-vertical-slider .testimonial-card:nth-child(2) {
    transform: none;
  }

  .testimonial-vertical-slider .testimonial-card img {
    left: 24px;
    top: 22px;
    width: 62px;
    height: 62px;
  }

  .testimonial-vertical-slider .testimonial-card p {
    font-size: 12px;
    line-height: 1.55;
  }

  .testimonial-vertical-slider .testimonial-card h3,
  .testimonial-vertical-slider .testimonial-card span {
    font-size: 13px;
  }

  .testimonial-vertical-slider .testimonial-card .bi-quote {
    right: 18px;
    bottom: 16px;
    font-size: 52px;
  }

  .site-footer .page-container {
    padding-top: 70px;
  }
}

@media (max-width: 575px) {
  .site-nav {
    padding: 0 12px;
  }

  .agent-badge {
    width: 52%;
    height: 26%;
    border-radius: 16px;
    box-shadow: 0 0 0 8px var(--page);
  }

  .agent-badge strong {
    font-size: 18px;
  }

  .agent-badge span {
    font-size: 10px;
  }

  .hero-content,
  .search-panel,
  .about-section,
  .properties-section,
  .inquiry-section,
  .gallery-section,
  .testimonials-section,
  .news-section {
    padding-left: 4px;
    padding-right: 4px;
  }

  .search-panel,
  .inquiry-form {
    padding-left: 20px;
    padding-right: 20px;
  }

  .property-card,
  .news-card {
    padding: 16px;
  }

  .property-image,
  .news-card > img {
    height: 215px;
  }
}
