/* only small desktops */
/* --------------------------------------------------------------------------
   Global responsive safety layer
   (keeps layout from breaking on uncommon screen sizes)
-------------------------------------------------------------------------- */

/* Prevent horizontal overflow from floats/absolute elements */
html,
body {
  max-width: 100%;
}

/* Site-wide visual refresh for HARIDHEESH pages */
:root {
  --hp-navy: #0f172a;
  --hp-blue: #1d4ed8;
  --hp-orange: #ff6b35;
  --hp-amber: #ffb703;
  --hp-cream: #fff7ed;
  --hp-bg: #f5f7fb;
  --hp-border: #e5edf8;
  --hp-muted: #64748b;
}

body {
  background: var(--hp-bg);
  color: #162033;
}

body,
p,
.form-control,
input,
select,
textarea {
  letter-spacing: 0;
}

h1,
h2,
h3,
h4,
.section-title,
.page-title {
  color: var(--hp-navy);
}

a,
.item-body .property-title a,
.blog-item .descr .title a {
  color: var(--hp-navy);
}

a:hover,
.item-body .property-title a:hover,
.blog-item .descr .title a:hover {
  color: var(--hp-orange);
}

.top-bar {
  background: var(--hp-navy);
  border: 0;
}

.top-bar,
.top-bar a,
.top-bar li {
  color: #edf5ff;
}

.header-top-button,
.header-top-button.white-bg {
  border-radius: 6px;
  font-weight: 700;
  padding: 9px 18px;
}

.header-top-button {
  background: var(--hp-orange);
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(255, 107, 53, 0.22);
}

.header-top-button.white-bg {
  background: #fff;
  color: var(--hp-navy) !important;
}

.navbar {
  border-bottom: 1px solid var(--hp-border);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.navbar-light .navbar-nav .nav-link {
  color: var(--hp-navy);
  font-weight: 700;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar li.active a.nav-link {
  color: var(--hp-orange) !important;
  background: transparent !important;
  border-radius: 0 !important;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--hp-orange), var(--hp-amber));
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -1px;
  box-shadow: 0 12px 24px rgba(255, 107, 53, 0.28);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  text-transform: uppercase;
}

.brand-name {
  color: var(--hp-navy);
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
}

.brand-tagline {
  color: var(--hp-orange);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  margin-top: 4px;
}

.navbar-brand img {
  width: auto;
  max-width: 190px;
  max-height: 82px;
  object-fit: contain;
  border-radius: 0;
}

.search-add input,
.form-control,
input,
select,
textarea {
  border-color: var(--hp-border) !important;
  border-radius: 8px !important;
  background: #fff !important;
}

.search-add .search-btn,
.footer-area .address li a i {
  color: var(--hp-orange);
}

.btn-common,
.btn-common:hover,
.btn-border:hover,
.label-status,
.pagination .page-item.active .page-link,
.controls .active,
.controls .btn:hover {
  background: var(--hp-orange) !important;
  border-color: var(--hp-orange) !important;
  color: #fff !important;
  border-radius: 6px;
  box-shadow: 0 12px 24px rgba(255, 107, 53, 0.2);
}

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

.section-title {
  font-size: 38px;
  line-height: 1.25;
}

.section-title:before {
  width: 58px;
  height: 4px;
  border-radius: 99px;
  background: var(--hp-orange);
}

.section-title-header p {
  color: var(--hp-orange);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

#page-banner-area,
.page-banner {
  min-height: 280px;
  background-position: center;
  background-size: cover;
}

.page-banner:before {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.88), rgba(29, 78, 216, 0.62));
}

.page-banner .page-banner-title {
  padding-top: 92px;
}

.page-banner .page-banner-title h2 {
  color: #fff;
  font-size: 44px;
  line-height: 1.15;
}

.page-banner a,
.page-banner .current {
  color: #edf5ff;
}

.property-main,
.blog-item,
.services-item,
.team-item,
.pricing-table,
.dashboard-wrapper,
.submit-property,
.contact-right-area,
.sidebar,
.portfolio-box,
.testimonial-item,
.agent-inner,
.listing-content,
.single-property,
.faq-box {
  border: 1px solid var(--hp-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  transition: all 0.25s ease;
}

.property-main:hover,
.blog-item:hover,
.services-item:hover,
.team-item:hover,
.portfolio-box:hover,
.pricing-table:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 52px rgba(15, 23, 42, 0.14);
}

.item-thumb img,
.blog-image img,
.team-img img,
.place-item img,
.property-slider .item img {
  width: 100%;
  object-fit: cover;
}

.item-thumb img,
.blog-image img {
  height: 250px;
}

.services-item .icon,
.featured-item .icon,
.counter .icon {
  color: var(--hp-orange);
}

.services-item {
  padding: 32px 26px;
}

.featured-bg {
  background: #eef4ff;
}

.counter-section,
.footer-area {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(30, 64, 175, 0.88));
}

.footer-area .footer-titel,
.footer-area .footer-titel span {
  color: #fff;
}

.footer-area .footer-link li a,
.footer-area .address li a {
  color: #cbd5e1;
}

.footer-area .footer-link li a:hover,
.footer-area .address li a:hover {
  color: #fff;
}

#copyright {
  background: var(--hp-navy);
}

#copyright p,
#copyright a {
  color: #cbd5e1;
}

#portfolio-section .mix {
  padding-bottom: 30px;
}

#portfolio-section .portfolio-box {
  height: 280px;
  border-radius: 16px;
}

#portfolio-section .portfolio-box .img-thumb {
  width: 100%;
  height: 280px;
}

#portfolio-section .portfolio-box .img-thumb img,
#portfolio .portfolio-box .img-thumb img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

#portfolio-section .portfolio-box .overlay-box {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.04), rgba(15, 23, 42, 0.76));
}

#portfolio-section .portfolio-box .overlay-box a {
  background: var(--hp-orange);
  color: #fff;
}

#portfolio-section .portfolio-box .overlay-box h3 {
  color: #fff;
}

.testimonial-item {
  padding: 32px;
}

.client-info .img-thumb img {
  object-fit: cover;
}

/* Attractive site-wide polish and animation layer */
::selection {
  background: rgba(255, 107, 53, 0.24);
  color: var(--hp-navy);
}

html {
  scroll-behavior: smooth;
}

.navbar,
.top-nav-collapse {
  animation: hpHeaderDrop 0.65s ease both;
}

.navbar-brand img {
  transition: transform 0.3s ease, filter 0.3s ease;
}

.navbar-brand:hover img {
  transform: scale(1.04);
  filter: drop-shadow(0 10px 18px rgba(15, 23, 42, 0.16));
}

.navbar-light .navbar-nav .nav-link {
  position: relative;
  transition: color 0.25s ease, transform 0.25s ease;
}

.navbar-light .navbar-nav .nav-link:after {
  position: absolute;
  content: "";
  left: 14px;
  right: 14px;
  bottom: 8px;
  height: 2px;
  border-radius: 99px;
  background: var(--hp-orange);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.navbar-light .navbar-nav .nav-link:hover {
  transform: translateY(-1px);
}

.navbar-light .navbar-nav .nav-link:hover:after,
.navbar li.active a.nav-link:after {
  transform: scaleX(1);
}

.top-bar .links li,
.header-top-right a {
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.top-bar .links li:hover,
.header-top-right a:hover {
  transform: translateY(-2px);
}

.page-banner,
#page-banner-area {
  position: relative;
  overflow: hidden;
}

.page-banner:after,
#page-banner-area:after {
  position: absolute;
  content: "";
  inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 183, 3, 0.28), transparent 28%),
    linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, 0.12), transparent 62%);
  animation: hpBannerGlow 7s ease-in-out infinite alternate;
  pointer-events: none;
}

.page-banner .container,
#page-banner-area .container {
  position: relative;
  z-index: 2;
}

.page-banner .page-banner-title h2,
.page-title {
  animation: hpFadeUp 0.8s ease both;
}

.section-title-header,
.page-header,
.blog-post,
.single-property-details,
.contact-form,
.login-form,
.form-content {
  position: relative;
}

.section-title-header:after {
  display: block;
  content: "";
  width: 86px;
  height: 4px;
  margin: 16px auto 0;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--hp-orange), var(--hp-amber));
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.22);
}

.property-main,
.blog-item,
.services-item,
.team-item,
.pricing-table,
.dashboard-wrapper,
.submit-property,
.contact-right-area,
.sidebar,
.portfolio-box,
.testimonial-item,
.agent-inner,
.listing-content,
.single-property,
.faq-box,
.widget,
.user-profile-box,
.my-properties,
.property-info,
.amenities,
.floor-plans,
.contact-form,
.login-form,
.form-content {
  position: relative;
  isolation: isolate;
}

.property-main:before,
.blog-item:before,
.services-item:before,
.team-item:before,
.pricing-table:before,
.dashboard-wrapper:before,
.submit-property:before,
.contact-right-area:before,
.sidebar:before,
.testimonial-item:before,
.agent-inner:before,
.listing-content:before,
.single-property:before,
.faq-box:before,
.widget:before,
.user-profile-box:before,
.property-info:before,
.contact-form:before,
.login-form:before,
.form-content:before {
  position: absolute;
  content: "";
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(255, 247, 237, 0.48));
  opacity: 0;
  transition: opacity 0.28s ease;
}

.property-main:hover:before,
.blog-item:hover:before,
.services-item:hover:before,
.team-item:hover:before,
.pricing-table:hover:before,
.dashboard-wrapper:hover:before,
.submit-property:hover:before,
.contact-right-area:hover:before,
.sidebar:hover:before,
.testimonial-item:hover:before,
.agent-inner:hover:before,
.listing-content:hover:before,
.single-property:hover:before,
.faq-box:hover:before,
.widget:hover:before,
.user-profile-box:hover:before,
.property-info:hover:before,
.contact-form:hover:before,
.login-form:hover:before,
.form-content:hover:before {
  opacity: 1;
}

.property-main:hover,
.blog-item:hover,
.services-item:hover,
.team-item:hover,
.portfolio-box:hover,
.pricing-table:hover,
.agent-inner:hover,
.widget:hover,
.faq-box:hover {
  border-color: rgba(255, 107, 53, 0.28);
}

.item-thumb,
.blog-image,
.team-img,
.portfolio-box .img-thumb,
.gallery-box,
.property-slider .item {
  overflow: hidden;
}

.item-thumb img,
.blog-image img,
.team-img img,
.portfolio-box .img-thumb img,
.gallery-box img,
.property-slider .item img,
.place-item img {
  transition: transform 0.55s ease, filter 0.55s ease;
}

.property-main:hover .item-thumb img,
.blog-item:hover .blog-image img,
.team-item:hover .team-img img,
.portfolio-box:hover .img-thumb img,
.gallery-box:hover img,
.property-slider .item:hover img,
.place-item:hover img {
  transform: scale(1.07);
  filter: saturate(1.08) contrast(1.04);
}

.btn,
.btn-common,
.btn-border,
.header-top-button,
.pagination .page-link,
.controls .btn {
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.btn:hover,
.btn-common:hover,
.btn-border:hover,
.header-top-button:hover,
.pagination .page-link:hover,
.controls .btn:hover {
  transform: translateY(-2px);
}

.form-control:focus,
input:focus,
select:focus,
textarea:focus,
.search-add input:focus {
  border-color: var(--hp-orange) !important;
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.12) !important;
}

.counter-section .counter,
.featured-item,
.process-card {
  transition: transform 0.3s ease;
}

.counter-section .counter:hover,
.featured-item:hover,
.process-card:hover {
  transform: translateY(-5px);
}

.hp-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s ease, transform 0.75s ease;
  transition-delay: var(--hp-delay, 0ms);
}

.hp-reveal.hp-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes hpHeaderDrop {
  from {
    opacity: 0;
    transform: translateY(-14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hpFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hpBannerGlow {
  from {
    transform: translateX(-2%) scale(1);
    opacity: 0.68;
  }
  to {
    transform: translateX(2%) scale(1.04);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .hp-reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 767px) {
  .section-padding {
    padding: 58px 0;
  }

  .section-title {
    font-size: 28px;
  }

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

  .brand-mark {
    width: 42px;
    height: 42px;
    font-size: 19px;
  }

  .brand-name {
    font-size: 15px;
  }

  .brand-tagline {
    font-size: 9px;
    letter-spacing: 1px;
  }

  #portfolio-section .portfolio-box,
  #portfolio-section .portfolio-box .img-thumb,
  #portfolio-section .portfolio-box .img-thumb img,
  #portfolio .portfolio-box .img-thumb img {
    height: 230px;
  }
}

body {
  overflow-x: hidden;
}

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

/* Safer text wrapping */
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

p,
span,
a,
li {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Cards/boxes: allow shrinking on mobile */
.property-main,
.property-wrap,
.item-thumb,
.item-body,
.sidebar,
.widget {
  max-width: 100%;
}

/* Avoid 320px scroll from fixed/absolute positioning in small widths */
.back-to-top,
#preloader,
#loader-1 {
  max-width: 100%;
}

/* --------------------------------------------------------------------------
   Existing breakpoint rules
-------------------------------------------------------------------------- */

@media (min-width: 992px) and (max-width: 1199px) {
  .navbar-expand-lg .navbar-nav .nav-link {
    font-size: 13px;
    padding: 0 8px;
  }
  #main-slide .carousel-caption {
    top: 20%;
  }
  #main-slide .carousel-item .carousel-caption h4 {
    margin-bottom: 10px;
    font-size: 14px;
  }
  #main-slide .carousel-item .carousel-caption .heading {
    font-size: 20px;
    margin-bottom: 0;
  }
  #main-slide .carousel-item .carousel-caption p {
    font-size: 14px;
  }
  #main-slide .carousel-caption .btn {
    margin-top: 0;
  }
  .counter-section .counter p {
    font-size: 14px;
  }
  .footer-area .address li a {
    font-size: 13px;
  }
  .footer-area .footer-titel {
    font-size: 15px;
  }
  .property-details .others ul li {
    margin-left: 10px;
  }
  .property-details .others ul li span {
    font-size: 26px;
    line-height: 44px;
  }
  .item-body .property-title a {
    font-size: 14px;
  }
  .featured-bg .featured-item h3 {
    font-size: 14px;
  }
  .services-item .services-content h3 {
    font-size: 16px;
  }
  .blog-item .descr h3 a {
    font-size: 16px;
  }
  .property-details .info h3 {
    font-size: 22px;
  }
}

/* tablets */
@media (max-width: 991px) {
  .irs-with-grid {
    margin-bottom: 30px;
  }
  #main-slide .carousel-caption {
    top: 15%;
  }
  #main-slide .carousel-item .carousel-caption h4 {
    margin-bottom: 10px;
    font-size: 14px;
  }
  #main-slide .carousel-item .carousel-caption .heading {
    font-size: 20px;
    margin-bottom: 0;
  }
  #main-slide .carousel-item .carousel-caption p {
    font-size: 14px;
  }
  #main-slide .carousel-caption .btn {
    margin-top: 0;
  }
  .page-title-section {
    padding: 40px 0;
  }
  .section-titile-bg {
    display: none;
  }
  .section-title {
    position: relative;
    margin-bottom: 10px;
  }
  .featured-bg .featured-item h3 {
    font-size: 14px;
  }
}

/* only small tablets */
@media (min-width: 768px) and (max-width: 991px) {
  .top-bar .links li {
    margin-right: 5px;
  }
  .search-container {
    padding: 60px 0 60px;
  }
  .irs-with-grid {
    margin-bottom: 30px;
  }
  #clients-logo .client-logo {
    margin-bottom: 30px;
  }
  #main-slide .carousel-caption {
    top: 15%;
  }
  #main-slide .carousel-item .carousel-caption h4 {
    margin-bottom: 10px;
    font-size: 14px;
  }
  #main-slide .carousel-item .carousel-caption .heading {
    font-size: 20px;
    margin-bottom: 0;
  }
  #main-slide .carousel-item .carousel-caption p {
    font-size: 14px;
  }
  #main-slide .carousel-caption .btn {
    margin-top: 0;
  }
  .carousel-indicators {
    display: none;
  }
  .featured-bg .intro-title {
    margin-top: 30px;
  }
  .team-item {
    margin-bottom: 30px;
  }
  .blog-item {
    margin-bottom: 30px;
  }
  .footer-area .footer-titel {
    margin-top: 20px;
  }
  .sidebar.right {
    margin-top: 40px;
  }
  .property-details .others {
    float: left;
  }
  .item-body .property-title a {
    font-size: 15px;
  }
  .property-details .others ul li {
    margin-right: 20px;
    margin-left: 0;
  }
  .pagination-container .pagination .page-item .page-link {
    padding: .5rem .75rem;
  }
  .pagination-container .pagination .btn {
    padding: 7px 9px;
  }
  .dashborad-box .item .icon {
    display: none;
  }
}

/* only tablets */
@media (max-width: 640px) {
  .controls .btn {
    padding: 12px 18px;
  }
  .team-item {
    margin-bottom: 30px;
  }
}

/* mobile or only mobile */
@media (max-width: 767px) {
  .section-title {
    font-size: 26px;
  }
  .section-sub {
    font-size: 16px;
  }
  .sidebar-title {
    font-size: 15px;
  }
  .top-bar .links li {
    display: none;
  }
  .search-container {
    padding: 60px 0 60px;
  }
  .intro-sub-heading {
    font-size: 16px;
  }
  .search-container h2 {
    font-size: 26px;
    line-height: 40px;
  }
  .irs-with-grid {
    margin-bottom: 30px;
  }
  #main-slide .carousel-caption {
    top: 2%;
  }
  .carousel-indicators {
    display: none;
  }
  #main-slide .carousel-item .carousel-caption .heading {
    font-size: 14px;
  }
  #main-slide .carousel-item .carousel-caption h4 {
    font-size: 10px;
    margin-bottom: 0;
  }
  #main-slide .carousel-item .carousel-caption p {
    font-size: 13px;
  }
  #main-slide .carousel-item .carousel-caption .heading {
    margin-bottom: 20px;
  }
  #hero-area .contents {
    padding: 100px 0;
  }
  #hero-area .contents .head-title {
    font-size: 15px;
  }
  #hero-area .contents .btn {
    margin: 25px 3px 0 0;
  }
  .item-body .property-title a {
    font-size: 16px;
  }
  .item-body .adderess {
    font-size: 13px;
  }
  .item-body .property-title a {
    font-size: 15px;
  }
  .featured-bg .intro-title {
    margin-top: 30px;
  }
  .featured-bg .title-sub {
    font-size: 16px;
    line-height: 26px;
  }
  .services-item .services-content h3 {
    font-size: 15px;
  }
  .team-item {
    margin-bottom: 30px;
  }
  #clients-logo .client-logo {
    margin-bottom: 30px;
  }
  .blog-item {
    margin-bottom: 30px;
  }
  .footer-area .footer-titel {
    margin-top: 20px;
  }
  .product-filter .sort-by .sort-by-select {
    display: none;
  }
  .grid-layout .property-main {
    width: 97%;
  }
  .list-layout .property-main .item-thumb {
    width: 100%;
    float: none;
  }
  .list-layout .property-main .item-body {
    padding: 15px;
  }
  .property-details .info h3 {
    font-size: 18px;
  }
  .property-details .info .room-type {
    margin-bottom: 10px;
  }
  .property-details .details .details-listing p {
    font-size: 12px;
  }
  .property-details .others {
    float: left;
  }
  .property-details .others ul li {
    margin-left: 0;
    margin-right: 15px;
  }
  .property-details .others ul li span {
    font-size: 18px;
  }
  .blog-post .content {
    padding: 20px 15px;
  }
  .blog-post .content h2 {
    font-size: 18px;
  }
  .sidebar.right {
    padding-left: 0;
    margin-top: 30px;
  }
  #comments .comments-list li ul {
    padding-left: 0;
  }
  .author .thumb {
    float: none;
  }
  .author .body {
    width: 100%;
    margin-top: 30px;
  }
  #comments .comments-list .media {
    display: inline-block;
  }
  #comments .comments-list .media .thumb-left {
    float: none;
  }
  #comments .comments-list .media .thumb-left img {
    width: 40%;
  }
  #comments .comments-list .media .info-body {
    margin-left: 0;
    margin-top: 30px;
  }
  .contact-right-area {
    margin-bottom: 30px;
  }
  .page-banner .page-banner-title h2 {
    font-size: 18px;
  }
}

@media (min-width: 320px) and (max-width: 480px) {
  #main-slide .carousel-item .carousel-caption .heading {
    letter-spacing: 0;
  }
  #main-slide .carousel-item .carousel-caption p {
    display: none;
  }
  #main-slide .carousel-caption .btn {
    margin: 0;
    padding: 7px 9px;
    font-size: 12px;
    text-transform: capitalize;
  }
  #main-slide .carousel-caption {
    top: -6%;
  }
  #main-slide .carousel-item .carousel-caption .heading {
    margin-bottom: 0px;
  }
  #main-slide .carousel-control i {
    line-height: 26px;
    font-size: 14px;
    width: 30px;
    height: 30px;
  }
  .controls .btn {
    padding: 7px 8px;
    text-transform: capitalize;
    font-size: 11px;
  }
  .client-info .info-text h2 {
    font-size: 14px;
  }
  .listing-content .listing-content {
    padding: 5px;
  }
  .btn {
    padding: 8px 10px;
    font-size: 12px;
  }
}

/* Final theme enforcement */
.navbar,
.property-main,
.blog-item,
.services-item,
.team-item,
.portfolio-box,
.testimonial-item,
.sidebar,
.contact-right-area,
.dashboard-wrapper,
.submit-property {
  border-radius: 16px;
}

.brand-lockup,
.btn-common,
.header-top-button,
.property-main,
.blog-item,
.services-item,
.portfolio-box,
.process-card,
.team-item {
  will-change: transform;
}

.brand-lockup:hover {
  transform: translateY(-2px);
}

.brand-mark {
  position: relative;
  overflow: hidden;
}

.brand-mark:after {
  position: absolute;
  content: "";
  top: -40%;
  left: -70%;
  width: 45%;
  height: 180%;
  background: rgba(255, 255, 255, 0.35);
  transform: rotate(24deg);
  transition: left 0.6s ease;
}

.brand-lockup:hover .brand-mark:after {
  left: 130%;
}

.btn-common:hover,
.header-top-button:hover {
  transform: translateY(-2px);
}

.item-thumb img,
.blog-image img,
#portfolio-section .portfolio-box .img-thumb img {
  transition: transform 0.55s ease;
}

.property-main:hover .item-thumb img,
.blog-item:hover .blog-image img,
#portfolio-section .portfolio-box:hover .img-thumb img {
  transform: scale(1.06);
}

.btn-common,
.label-status,
.controls .active,
.controls .btn:hover {
  background: var(--hp-orange) !important;
  border-color: var(--hp-orange) !important;
  color: #fff !important;
}

#portfolio-section .portfolio-box,
#portfolio-section .portfolio-box .img-thumb,
#portfolio-section .portfolio-box .img-thumb img,
#portfolio .portfolio-box .img-thumb img {
  width: 100%;
  height: 280px !important;
  object-fit: cover;
}

#portfolio-section .portfolio-box {
  overflow: hidden;
}

@media (max-width: 767px) {
  #portfolio-section .portfolio-box,
  #portfolio-section .portfolio-box .img-thumb,
  #portfolio-section .portfolio-box .img-thumb img,
  #portfolio .portfolio-box .img-thumb img {
    height: 230px !important;
  }
}

/* Refined compact premium theme */
:root {
  --hp-navy: #071a33;
  --hp-blue: #15345d;
  --hp-orange: #c9962f;
  --hp-amber: #e6bd64;
  --hp-bg: #f7f8fb;
  --hp-border: #e8edf4;
  --hp-muted: #687386;
}

body {
  background: var(--hp-bg);
  color: #1f2937;
  font-size: 13px;
  line-height: 1.65;
}

p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--hp-muted);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--hp-navy);
  letter-spacing: 0;
}

.top-bar {
  background: #071a33;
  font-size: 12px;
}

.top-bar .links li {
  margin-right: 18px;
}

.navbar {
  min-height: 78px;
  box-shadow: 0 8px 24px rgba(7, 26, 51, 0.07);
}

.navbar-brand {
  padding: 6px 0;
}

.navbar-brand img {
  max-height: 64px;
  max-width: 160px;
}

.navbar-light .navbar-nav .nav-link {
  font-size: 13px;
  font-weight: 700;
  padding: 27px 13px;
  text-transform: uppercase;
}

.dropdown-menu {
  border: 1px solid var(--hp-border);
  border-radius: 10px;
  box-shadow: 0 18px 38px rgba(7, 26, 51, 0.12);
}

.dropdown-item {
  font-size: 13px;
}

.search-add input {
  height: 38px;
  font-size: 12px;
}

.header-top-button,
.btn-common,
.btn-border,
.controls .btn {
  border-radius: 7px !important;
  font-size: 12px;
  letter-spacing: 0.2px;
  padding: 10px 17px;
  text-transform: uppercase;
}

.section-padding {
  padding: 64px 0;
}

.section-title-header {
  margin-bottom: 24px;
}

.section-title-header p {
  font-size: 12px;
  letter-spacing: 1.4px;
  margin-bottom: 4px;
}

.section-title {
  font-size: 30px;
  line-height: 1.25;
  padding-top: 12px;
}

.section-title:before {
  top: 5px;
  width: 46px;
  height: 3px;
}

#main-slide .carousel-item,
#main-slide .carousel-item img {
  height: 590px;
  min-height: 590px;
}

#main-slide .carousel-caption {
  max-width: 760px;
  padding: 38px !important;
  border-radius: 14px;
}

#main-slide .carousel-caption h4 {
  font-size: 12px !important;
  letter-spacing: 1.6px;
}

#main-slide .carousel-caption h1 {
  font-size: 38px !important;
  line-height: 1.18 !important;
}

#main-slide .carousel-caption p {
  font-size: 15px !important;
}

.hero-actions .btn {
  font-size: 12px;
  padding: 11px 20px;
}

.trust-card {
  padding: 22px;
  border-radius: 14px;
  box-shadow: 0 16px 34px rgba(7, 26, 51, 0.09);
}

.trust-item strong {
  font-size: 25px;
}

.trust-item span {
  font-size: 12px;
}

.page-banner {
  min-height: 230px;
}

.page-banner .page-banner-title {
  padding-top: 78px;
}

.page-banner .page-banner-title h2 {
  font-size: 32px;
  line-height: 1.2;
}

.page-banner a,
.page-banner .current {
  font-size: 12px;
}

.property-main,
.blog-item,
.services-item,
.team-item,
.pricing-table,
.dashboard-wrapper,
.submit-property,
.contact-right-area,
.sidebar,
.portfolio-box,
.testimonial-item,
.agent-inner,
.listing-content,
.single-property,
.faq-box {
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(7, 26, 51, 0.07);
}

.property-main:hover,
.blog-item:hover,
.services-item:hover,
.team-item:hover,
.portfolio-box:hover,
.pricing-table:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(7, 26, 51, 0.12);
}

.item-body {
  padding: 18px;
}

.item-body .property-title,
.blog-item .descr .title,
.services-content h3,
.process-card h3,
.featured-bg .intro-title {
  font-size: 17px;
  line-height: 1.35;
}

.adderess,
.item-body .pricin-list,
.blog-footer,
.date {
  font-size: 12px;
}

.services-item {
  padding: 24px 20px;
}

.services-item .icon,
.featured-item .icon {
  font-size: 32px;
}

.process-card {
  min-height: 210px;
  padding: 26px 20px;
}

.process-icon {
  width: 48px;
  height: 48px;
  font-size: 22px;
}

.featured-bg .intro-title {
  font-size: 24px;
}

.featured-bg .title-sub {
  font-size: 18px;
  line-height: 1.45;
}

.counter .counterUp {
  font-size: 30px;
}

.counter p {
  font-size: 12px;
}

.footer-area {
  padding: 54px 0;
}

.footer-area .footer-titel {
  font-size: 17px;
}

.footer-area .footer-link li a,
.footer-area .address li a {
  font-size: 12px;
}

#portfolio-section .portfolio-box,
#portfolio-section .portfolio-box .img-thumb,
#portfolio-section .portfolio-box .img-thumb img,
#portfolio .portfolio-box .img-thumb img {
  height: 245px !important;
}

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

  .navbar {
    min-height: 68px;
  }

  .navbar-brand img {
    max-height: 54px;
    max-width: 140px;
  }

  .section-padding {
    padding: 46px 0;
  }

  .section-title {
    font-size: 24px;
  }

  #main-slide .carousel-item,
  #main-slide .carousel-item img {
    height: 500px;
    min-height: 500px;
  }

  #main-slide .carousel-caption {
    padding: 22px !important;
  }

  #main-slide .carousel-caption h1 {
    font-size: 26px !important;
  }

  #main-slide .carousel-caption p {
    font-size: 13px !important;
  }

  .page-banner .page-banner-title h2 {
    font-size: 24px;
  }

  #portfolio-section .portfolio-box,
  #portfolio-section .portfolio-box .img-thumb,
  #portfolio-section .portfolio-box .img-thumb img,
  #portfolio .portfolio-box .img-thumb img {
    height: 210px !important;
  }
}

/* Logo color theme: navy, gold, white */
:root {
  --hp-navy: #061f4f;
  --hp-blue: #0b2d68;
  --hp-orange: #d9a32a;
  --hp-amber: #f0c75e;
  --hp-bg: #f7f8fb;
  --hp-border: #e8edf4;
  --hp-muted: #657086;
}

.top-bar,
#copyright {
  background: var(--hp-navy) !important;
}

.navbar {
  background: #fff !important;
  border-bottom: 1px solid rgba(6, 31, 79, 0.08);
}

.navbar-light .navbar-nav .nav-link,
.brand-name,
h1,
h2,
h3,
h4,
.section-title {
  color: var(--hp-navy) !important;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar li.active a.nav-link,
.section-title-header p,
a:hover,
.search-add .search-btn,
.services-item .icon,
.featured-item .icon,
.counter .icon,
.footer-area .address li a i {
  color: var(--hp-orange) !important;
}

.section-title:before,
.btn-common,
.header-top-button,
.label-status,
.controls .active,
.controls .btn:hover,
#portfolio-section .portfolio-box .overlay-box a {
  background: var(--hp-orange) !important;
  border-color: var(--hp-orange) !important;
  color: var(--hp-navy) !important;
}

.btn-common:hover,
.header-top-button:hover {
  background: var(--hp-navy) !important;
  border-color: var(--hp-navy) !important;
  color: #fff !important;
}

.page-banner:before,
.counter-section,
.footer-area {
  background: linear-gradient(135deg, rgba(6, 31, 79, 0.96), rgba(11, 45, 104, 0.88)) !important;
}

.property-main,
.blog-item,
.services-item,
.team-item,
.pricing-table,
.dashboard-wrapper,
.submit-property,
.contact-right-area,
.sidebar,
.portfolio-box,
.testimonial-item,
.agent-inner,
.listing-content,
.single-property,
.faq-box {
  border-color: rgba(6, 31, 79, 0.09);
}

.property-main:hover,
.blog-item:hover,
.services-item:hover,
.team-item:hover,
.portfolio-box:hover,
.pricing-table:hover {
  box-shadow: 0 18px 38px rgba(6, 31, 79, 0.14);
}

.footer-area .footer-titel span,
.footer-area .footer-link li a:hover,
.footer-area .address li a:hover {
  color: var(--hp-amber) !important;
}

#portfolio-section .portfolio-box .overlay-box {
  background: linear-gradient(180deg, rgba(6, 31, 79, 0.06), rgba(6, 31, 79, 0.82)) !important;
}

/* Premium logo-theme redesign v2
   Restore normal site text size; only banner heading stays smaller. */
body {
  background: #f6f8fc !important;
  color: #334155;
  font-size: 14px !important;
  line-height: 1.72;
}

p,
.form-control,
input,
select,
textarea,
.footer-area .footer-link li a,
.footer-area .address li a {
  font-size: 14px !important;
  line-height: 1.72;
}

.top-bar {
  background: #061f4f !important;
  border-bottom: 3px solid #d9a32a;
}

.top-bar,
.top-bar a,
.top-bar li {
  font-size: 13px !important;
}

.navbar {
  min-height: 86px;
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 14px 34px rgba(6, 31, 79, 0.09);
}

.navbar-brand img {
  max-height: 72px;
  max-width: 180px;
  filter: drop-shadow(0 8px 14px rgba(6, 31, 79, 0.12));
}

.navbar-light .navbar-nav .nav-link {
  position: relative;
  color: #061f4f !important;
  font-size: 14px !important;
  font-weight: 700;
  letter-spacing: 0.2px;
  padding: 30px 14px;
  text-transform: uppercase;
}

.navbar-light .navbar-nav .nav-link:after {
  position: absolute;
  content: "";
  left: 14px;
  right: 14px;
  bottom: 22px;
  height: 2px;
  background: #d9a32a;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.navbar-light .navbar-nav .nav-link:hover:after,
.navbar li.active a.nav-link:after {
  transform: scaleX(1);
}

.search-add input,
.form-control,
input,
select,
textarea {
  border: 1px solid #dfe7f2 !important;
  border-radius: 10px !important;
  box-shadow: 0 8px 20px rgba(6, 31, 79, 0.04);
}

.section-padding {
  padding: 78px 0;
}

.section-title-header {
  margin-bottom: 32px;
}

.section-title-header p {
  color: #d9a32a !important;
  font-size: 13px !important;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.section-title {
  color: #061f4f !important;
  font-size: 34px !important;
  line-height: 1.25;
  padding-top: 14px;
}

.section-title:before {
  top: 5px;
  width: 56px;
  height: 3px;
  background: #d9a32a !important;
}

.page-banner {
  min-height: 235px;
  background-position: center;
}

.page-banner:before {
  background:
    linear-gradient(135deg, rgba(6, 31, 79, 0.9), rgba(6, 31, 79, 0.6)),
    radial-gradient(circle at 24% 30%, rgba(217, 163, 42, 0.24), transparent 34%) !important;
}

.page-banner .page-banner-title {
  padding-top: 82px;
}

.page-banner .page-banner-title h2 {
  font-size: 26px !important;
  line-height: 1.25;
  color: #fff !important;
  letter-spacing: 0.2px;
}

.page-banner a,
.page-banner .current {
  font-size: 13px !important;
}

.property-main,
.blog-item,
.services-item,
.team-item,
.pricing-table,
.dashboard-wrapper,
.submit-property,
.contact-right-area,
.sidebar,
.portfolio-box,
.testimonial-item,
.agent-inner,
.listing-content,
.single-property,
.faq-box {
  border: 1px solid rgba(6, 31, 79, 0.08);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(6, 31, 79, 0.08);
}

.property-main:hover,
.blog-item:hover,
.services-item:hover,
.team-item:hover,
.portfolio-box:hover,
.pricing-table:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 48px rgba(6, 31, 79, 0.14);
}

.item-body {
  padding: 22px;
}

.item-body .property-title,
.blog-item .descr .title,
.services-content h3,
.process-card h3,
.featured-bg .intro-title {
  color: #061f4f !important;
  font-size: 20px !important;
  line-height: 1.35;
}

.adderess,
.item-body .pricin-list,
.blog-footer,
.date {
  font-size: 13px !important;
}

.btn-common,
.header-top-button,
.btn-border,
.controls .btn {
  border-radius: 9px !important;
  font-size: 13px !important;
  font-weight: 700;
  padding: 11px 20px;
}

.btn-common,
.header-top-button,
.label-status,
.controls .active,
.controls .btn:hover {
  background: #d9a32a !important;
  border-color: #d9a32a !important;
  color: #061f4f !important;
}

.btn-common:hover,
.header-top-button:hover {
  background: #061f4f !important;
  border-color: #061f4f !important;
  color: #fff !important;
}

.services-item {
  padding: 30px 24px;
}

.services-item .icon,
.featured-item .icon,
.counter .icon {
  color: #d9a32a !important;
}

.featured-bg {
  background: linear-gradient(180deg, #eef4ff, #fff) !important;
}

.counter-section,
.footer-area {
  background: linear-gradient(135deg, #061f4f, #0b2d68) !important;
}

.footer-area {
  padding: 68px 0;
}

.footer-area .footer-titel {
  font-size: 20px !important;
}

#main-slide .carousel-caption h1 {
  font-size: 42px !important;
}

#main-slide .carousel-caption p {
  font-size: 16px !important;
}

@media (max-width: 767px) {
  body,
  p,
  .form-control,
  input,
  select,
  textarea {
    font-size: 13px !important;
  }

  .navbar-brand img {
    max-height: 58px;
    max-width: 148px;
  }

  .navbar-light .navbar-nav .nav-link {
    font-size: 13px !important;
    padding: 10px 14px;
  }

  .section-padding {
    padding: 54px 0;
  }

  .section-title {
    font-size: 27px !important;
  }

  .page-banner .page-banner-title h2 {
    font-size: 22px !important;
  }

  #main-slide .carousel-caption h1 {
    font-size: 28px !important;
  }

  #main-slide .carousel-caption p {
    font-size: 13px !important;
  }
}

/* Header redesign */
#header-wrap {
  position: relative;
  z-index: 50;
  background: #fff;
}

#header-wrap .top-bar {
  min-height: 38px;
  padding: 6px 0;
  background: linear-gradient(90deg, #061f4f, #0b2d68) !important;
  border-bottom: 0;
}

#header-wrap .top-bar .links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

#header-wrap .top-bar .links li {
  margin: 0;
  color: #eef4ff;
  font-size: 12px !important;
}

#header-wrap .top-bar .links i {
  color: #f0c75e;
  margin-right: 7px;
}

#header-wrap .header-top-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

#header-wrap .header-top-button {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin: 0;
  padding: 7px 13px;
  border-radius: 999px !important;
  background: #f0c75e !important;
  color: #061f4f !important;
  font-size: 11px !important;
  box-shadow: none;
}

#header-wrap .header-top-button.white-bg {
  background: rgba(255, 255, 255, 0.14) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

#header-wrap .navbar {
  min-height: 84px;
  padding: 0;
  background: transparent !important;
  border: 0;
  box-shadow: none;
}

#header-wrap .navbar > .container {
  min-height: 84px;
  margin-top: 0;
  background: #fff;
  border: 1px solid rgba(6, 31, 79, 0.08);
  border-top: 0;
  border-radius: 0 0 18px 18px;
  box-shadow: 0 18px 44px rgba(6, 31, 79, 0.11);
}

#header-wrap .navbar-header {
  display: flex;
  align-items: center;
}

#header-wrap .navbar-brand {
  display: inline-flex;
  align-items: center;
  min-height: 84px;
  padding: 8px 18px 8px 0;
  margin-right: 20px;
  border-right: 1px solid #edf1f7;
}

#header-wrap .navbar-brand img {
  max-width: 156px;
  max-height: 66px;
  object-fit: contain;
  filter: none;
}

#header-wrap .navbar-collapse {
  align-items: center;
}

#header-wrap .navbar-light .navbar-nav .nav-link {
  position: relative;
  padding: 31px 12px;
  color: #061f4f !important;
  font-size: 13px !important;
  font-weight: 800;
  letter-spacing: 0.3px;
}

#header-wrap .navbar-light .navbar-nav .nav-link:after {
  left: 12px;
  right: 12px;
  bottom: 24px;
  height: 3px;
  border-radius: 999px;
  background: #d9a32a;
}

#header-wrap .dropdown-menu {
  margin-top: 0;
  padding: 10px;
  border: 1px solid rgba(6, 31, 79, 0.08);
  border-radius: 12px;
  box-shadow: 0 18px 42px rgba(6, 31, 79, 0.14);
}

#header-wrap .dropdown-item {
  border-radius: 8px;
  color: #061f4f;
  font-size: 13px;
  font-weight: 600;
}

#header-wrap .dropdown-item:hover {
  background: #fff7df;
  color: #061f4f;
}

#header-wrap .search-add {
  margin-left: 12px;
}

#header-wrap .search-add .form-group {
  margin-bottom: 0;
}

#header-wrap .search-add input {
  width: 150px;
  height: 36px;
  padding: 0 36px 0 14px;
  border-radius: 999px !important;
  background: #f7f9fc !important;
  font-size: 12px !important;
  box-shadow: none;
}

#header-wrap .search-add .search-btn {
  right: 12px;
  color: #d9a32a !important;
}

@media (max-width: 991px) {
  #header-wrap .navbar > .container {
    border-radius: 0;
  }

  #header-wrap .navbar-brand {
    min-height: 74px;
    border-right: 0;
  }

  #header-wrap .navbar-brand img {
    max-width: 138px;
    max-height: 58px;
  }

  #header-wrap .navbar-toggler {
    margin-left: auto;
  }

  #header-wrap .navbar-light .navbar-nav .nav-link {
    padding: 11px 0;
  }

  #header-wrap .navbar-light .navbar-nav .nav-link:after {
    display: none;
  }
}

/* Premium redesign layer */
:root {
  --hp-navy: #061a44;
  --hp-navy-2: #0a2c68;
  --hp-gold: #d9a32a;
  --hp-gold-2: #f3c75d;
  --hp-ink: #10213f;
  --hp-soft: #f4f7fb;
  --hp-line: rgba(6, 31, 79, 0.1);
  --hp-shadow: 0 24px 60px rgba(6, 26, 68, 0.12);
}

body {
  background:
    radial-gradient(circle at 10% 0%, rgba(217, 163, 42, 0.1), transparent 30%),
    linear-gradient(180deg, #f8fafc 0%, #eef3f9 100%) !important;
  color: var(--hp-ink);
}

#header-wrap .top-bar {
  background:
    linear-gradient(90deg, rgba(6, 26, 68, 0.98), rgba(10, 44, 104, 0.98)),
    radial-gradient(circle at 80% 0%, rgba(217, 163, 42, 0.25), transparent 28%) !important;
}

#header-wrap .navbar > .container {
  max-width: 1140px;
  min-height: 90px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 0 0 22px 22px;
  box-shadow: 0 24px 70px rgba(6, 26, 68, 0.16);
  backdrop-filter: blur(16px);
}

#header-wrap .navbar-brand {
  min-height: 90px;
}

#header-wrap .navbar-brand img {
  max-width: 168px;
  max-height: 72px;
}

#header-wrap .navbar-light .navbar-nav .nav-link {
  padding: 34px 15px;
  color: var(--hp-navy) !important;
  font-size: 13px !important;
  letter-spacing: 0.5px;
}

#header-wrap .navbar-light .navbar-nav .nav-link:hover,
#header-wrap .navbar li.active a.nav-link {
  color: var(--hp-gold) !important;
}

#header-wrap .navbar-light .navbar-nav .nav-link:after {
  bottom: 27px;
  background: linear-gradient(90deg, var(--hp-gold), var(--hp-gold-2));
  box-shadow: 0 7px 14px rgba(217, 163, 42, 0.34);
}

#header-wrap .search-add input {
  width: 174px;
  height: 40px;
  border: 1px solid rgba(6, 31, 79, 0.1) !important;
  background: linear-gradient(180deg, #fff, #f7f9fc) !important;
}

.header-top-button,
#header-wrap .header-top-button {
  background: linear-gradient(135deg, var(--hp-gold), var(--hp-gold-2)) !important;
  color: var(--hp-navy) !important;
  border: 0 !important;
  box-shadow: 0 12px 26px rgba(217, 163, 42, 0.26) !important;
}

#header-wrap .header-top-button.white-bg {
  background: transparent !important;
  color: #fff !important;
  border: 1px solid rgba(243, 199, 93, 0.72) !important;
}

#main-slide {
  background: var(--hp-navy) !important;
}

#main-slide .carousel-item {
  min-height: 720px;
}

#main-slide .carousel-item img {
  height: 720px !important;
  object-fit: cover;
  transform: scale(1.03);
  animation: hpHeroZoom 12s ease-in-out infinite alternate;
}

#main-slide .carousel-item:before {
  background:
    linear-gradient(90deg, rgba(6, 26, 68, 0.92) 0%, rgba(6, 26, 68, 0.72) 42%, rgba(6, 26, 68, 0.34) 100%),
    radial-gradient(circle at 28% 45%, rgba(217, 163, 42, 0.28), transparent 28%) !important;
}

#main-slide .carousel-caption {
  max-width: 880px;
  width: min(760px, calc(100% - 40px));
  padding: 34px 42px !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  background: rgba(6, 26, 68, 0.44) !important;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.28) !important;
}

#main-slide .carousel-caption h4 {
  color: var(--hp-gold-2) !important;
}

#main-slide .carousel-caption h1 {
  color: #fff !important;
  max-width: 720px;
  margin: 0 auto 16px !important;
  font-size: 34px !important;
  line-height: 1.22 !important;
  letter-spacing: 0.2px;
  font-weight: 700 !important;
  text-wrap: balance;
}

#main-slide .slide-2-title,
#main-slide .slide-3-title {
  font-size: 30px !important;
  line-height: 1.28 !important;
  font-weight: 600 !important;
}

#main-slide .carousel-caption p {
  color: #eef4ff !important;
  max-width: 640px;
  margin-left: auto !important;
  margin-right: auto !important;
  font-size: 16px !important;
  line-height: 1.65 !important;
}

.btn-common,
.btn-border:hover,
.btn-hero-primary,
.pagination .page-item.active .page-link,
.controls .active,
.controls .btn:hover {
  background: linear-gradient(135deg, var(--hp-gold), var(--hp-gold-2)) !important;
  border-color: transparent !important;
  color: var(--hp-navy) !important;
  border-radius: 999px !important;
  font-weight: 800;
  box-shadow: 0 18px 36px rgba(217, 163, 42, 0.26) !important;
}

.btn-common:hover,
.btn-hero-primary:hover {
  background: linear-gradient(135deg, var(--hp-navy), var(--hp-navy-2)) !important;
  color: #fff !important;
  box-shadow: 0 18px 40px rgba(6, 26, 68, 0.28) !important;
}

.section-padding {
  padding: 104px 0 !important;
}

.section-title-header {
  margin-bottom: 54px;
}

.section-title-header p {
  color: var(--hp-gold) !important;
  font-size: 13px;
  letter-spacing: 2.8px;
}

.section-title {
  color: var(--hp-navy) !important;
  font-size: 44px !important;
  font-weight: 800;
}

.section-title:before {
  display: none;
}

.section-title-header:after {
  width: 118px;
  height: 5px;
  margin-top: 20px;
  background: linear-gradient(90deg, var(--hp-navy), var(--hp-gold), var(--hp-navy));
}

#page-banner-area,
.page-banner {
  min-height: 360px !important;
  background-color: var(--hp-navy);
}

.page-banner:before {
  background:
    linear-gradient(135deg, rgba(6, 26, 68, 0.94), rgba(10, 44, 104, 0.76)),
    radial-gradient(circle at 76% 24%, rgba(217, 163, 42, 0.28), transparent 30%) !important;
}

.page-banner .page-banner-title {
  padding-top: 130px !important;
}

.page-banner .page-banner-title h2 {
  color: #fff !important;
  font-size: 40px !important;
  font-weight: 800;
  text-shadow: 0 14px 34px rgba(0, 0, 0, 0.26);
}

.page-banner a,
.page-banner .current {
  color: #f8e4b0 !important;
  font-weight: 700;
}

.property-main,
.blog-item,
.services-item,
.team-item,
.pricing-table,
.dashboard-wrapper,
.submit-property,
.contact-right-area,
.sidebar,
.portfolio-box,
.testimonial-item,
.agent-inner,
.listing-content,
.single-property,
.faq-box,
.widget,
.user-profile-box,
.my-properties,
.property-info,
.amenities,
.floor-plans,
.contact-form,
.login-form,
.form-content {
  border: 1px solid rgba(255, 255, 255, 0.78) !important;
  border-radius: 22px !important;
  background: rgba(255, 255, 255, 0.92) !important;
  box-shadow: var(--hp-shadow) !important;
}

.property-main,
.blog-item,
.team-item,
.portfolio-box {
  overflow: hidden;
}

.property-main:after,
.blog-item:after,
.services-item:after,
.team-item:after,
.pricing-table:after,
.agent-inner:after {
  position: absolute;
  content: "";
  left: 24px;
  right: 24px;
  top: 0;
  height: 4px;
  border-radius: 0 0 99px 99px;
  background: linear-gradient(90deg, transparent, var(--hp-gold), transparent);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.property-main:hover:after,
.blog-item:hover:after,
.services-item:hover:after,
.team-item:hover:after,
.pricing-table:hover:after,
.agent-inner:hover:after {
  opacity: 1;
  transform: translateY(0);
}

.property-main:hover,
.blog-item:hover,
.services-item:hover,
.team-item:hover,
.portfolio-box:hover,
.pricing-table:hover,
.agent-inner:hover,
.widget:hover,
.faq-box:hover {
  transform: translateY(-10px) !important;
  box-shadow: 0 34px 84px rgba(6, 26, 68, 0.2) !important;
  border-color: rgba(217, 163, 42, 0.42) !important;
}

.item-thumb img,
.blog-image img {
  height: 280px !important;
}

.item-body,
.blog-item .descr,
.services-item,
.testimonial-item {
  padding: 32px !important;
}

.item-body .property-title a,
.blog-item .descr h3 a,
.services-content h3 a,
.featured-bg .intro-title,
.featured-bg .featured-item h3 a {
  color: var(--hp-navy) !important;
  font-weight: 800;
}

.label-status,
.property-main .label-inner,
.listing-badges .featured {
  background: linear-gradient(135deg, var(--hp-gold), var(--hp-gold-2)) !important;
  color: var(--hp-navy) !important;
  border-radius: 999px !important;
  font-weight: 800;
}

.services-item .icon,
.featured-item .icon {
  width: 72px;
  height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(217, 163, 42, 0.18), rgba(6, 26, 68, 0.08));
  color: var(--hp-gold) !important;
}

.services-item .icon i,
.featured-item .icon i {
  color: var(--hp-gold) !important;
  font-size: 34px !important;
}

.featured-bg {
  background:
    radial-gradient(circle at 0% 0%, rgba(217, 163, 42, 0.18), transparent 30%),
    linear-gradient(135deg, #061a44, #0a2c68) !important;
}

.featured-bg .intro-title,
.featured-bg .title-sub,
.featured-bg .intro-desc,
.featured-bg .featured-item h3 a,
.featured-bg .featured-item p {
  color: #fff !important;
}

.featured-bg .featured-item {
  padding: 28px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.counter-section,
.footer-area {
  background:
    radial-gradient(circle at 18% 12%, rgba(217, 163, 42, 0.2), transparent 30%),
    linear-gradient(135deg, #051636, #0a2c68) !important;
}

.counter-section .counter {
  padding: 28px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
}

.counter-section .counter .counterUp,
.counter-section .counter p,
.counter-section .counter .icon i {
  color: #fff !important;
}

.counter-section .counter .icon i {
  color: var(--hp-gold-2) !important;
}

#portfolio-section .portfolio-box,
#portfolio-section .portfolio-box .img-thumb,
#portfolio-section .portfolio-box .img-thumb img,
#portfolio .portfolio-box .img-thumb img {
  height: 320px !important;
}

#portfolio-section .portfolio-box .overlay-box {
  background: linear-gradient(180deg, rgba(6, 26, 68, 0.06), rgba(6, 26, 68, 0.88)) !important;
}

.testimonial-item .content .description {
  color: #44516a !important;
  font-size: 15px;
  line-height: 1.8;
}

.footer-area {
  position: relative;
  overflow: hidden;
}

.footer-area:before {
  position: absolute;
  content: "";
  inset: 0;
  background: linear-gradient(120deg, transparent 40%, rgba(255, 255, 255, 0.08), transparent 64%);
  animation: hpFooterShine 9s ease-in-out infinite;
  pointer-events: none;
}

.footer-area .container {
  position: relative;
  z-index: 2;
}

.footer-area .footer-titel {
  color: #fff !important;
  font-size: 20px;
}

.footer-area .footer-titel span {
  color: var(--hp-gold-2) !important;
}

.footer-area .footer-link li a,
.footer-area .address li a {
  color: #dbe7ff !important;
}

.footer-area .footer-link li a:hover,
.footer-area .address li a:hover {
  color: var(--hp-gold-2) !important;
}

.form-control,
input,
select,
textarea {
  min-height: 44px;
  border-radius: 14px !important;
  border-color: rgba(6, 31, 79, 0.12) !important;
}

.hp-reveal {
  transform: translateY(34px) scale(0.98);
  transition: opacity 0.85s ease, transform 0.85s ease;
}

.hp-reveal.hp-visible {
  transform: translateY(0) scale(1);
}

@keyframes hpHeroZoom {
  from {
    transform: scale(1.03);
  }
  to {
    transform: scale(1.1);
  }
}

@keyframes hpFooterShine {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  35% {
    opacity: 1;
  }
  70%,
  100% {
    transform: translateX(100%);
    opacity: 0;
  }
}

@media (max-width: 991px) {
  #header-wrap .navbar > .container {
    min-height: 78px;
    border-radius: 0 0 16px 16px;
  }

  #header-wrap .navbar-brand {
    min-height: 78px;
  }

  #header-wrap .navbar-brand img {
    max-width: 148px;
    max-height: 62px;
  }

  #main-slide .carousel-item,
  #main-slide .carousel-item img {
    min-height: 620px;
    height: 620px !important;
  }

  #main-slide .carousel-caption h1 {
    font-size: 28px !important;
  }

  .section-title {
    font-size: 34px !important;
  }
}

@media (max-width: 767px) {
  .section-padding {
    padding: 68px 0 !important;
  }

  #main-slide .carousel-item,
  #main-slide .carousel-item img {
    min-height: 560px;
    height: 560px !important;
  }

  #main-slide .carousel-caption {
    width: min(700px, calc(100% - 32px));
    padding: 24px !important;
  }

  #main-slide .carousel-caption h1 {
    font-size: 24px !important;
  }

  #main-slide .slide-2-title,
  #main-slide .slide-3-title {
    font-size: 21px !important;
  }

  #main-slide .carousel-caption p {
    font-size: 13px !important;
  }

  .page-banner .page-banner-title h2 {
    font-size: 28px !important;
  }

  .item-thumb img,
  .blog-image img {
    height: 230px !important;
  }
}

/* Logo color brand pass: navy, gold, and clean white */
:root {
  --hp-logo-navy: #001f5b;
  --hp-logo-navy-dark: #00143d;
  --hp-logo-gold: #d6a11f;
  --hp-logo-gold-light: #f3c95c;
  --hp-logo-white: #ffffff;
}

body {
  background:
    radial-gradient(circle at 14% 0%, rgba(214, 161, 31, 0.12), transparent 28%),
    radial-gradient(circle at 88% 10%, rgba(0, 31, 91, 0.08), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f3f6fb 48%, #eef3f9 100%) !important;
  color: var(--hp-logo-navy-dark);
}

#header-wrap .top-bar {
  background:
    linear-gradient(90deg, var(--hp-logo-navy-dark), var(--hp-logo-navy)),
    radial-gradient(circle at 82% 20%, rgba(243, 201, 92, 0.28), transparent 26%) !important;
}

#header-wrap .top-bar .links i,
#header-wrap .search-add .search-btn,
.search-add .search-btn,
.footer-area .address li a i {
  color: var(--hp-logo-gold) !important;
}

#header-wrap .navbar > .container {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 253, 0.94)) !important;
  border: 1px solid rgba(0, 31, 91, 0.1) !important;
  box-shadow:
    0 20px 60px rgba(0, 31, 91, 0.14),
    inset 0 -3px 0 rgba(214, 161, 31, 0.14) !important;
}

#header-wrap .navbar-brand {
  border-right: 1px solid rgba(0, 31, 91, 0.1) !important;
}

#header-wrap .navbar-brand img {
  padding: 5px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 31, 91, 0.1);
}

#header-wrap .navbar-light .navbar-nav .nav-link {
  color: var(--hp-logo-navy) !important;
}

#header-wrap .navbar-light .navbar-nav .nav-link:hover,
#header-wrap .navbar li.active a.nav-link,
.navbar-light .navbar-nav .nav-link:hover,
.navbar li.active a.nav-link {
  color: var(--hp-logo-gold) !important;
}

#header-wrap .navbar-light .navbar-nav .nav-link:after,
.navbar-light .navbar-nav .nav-link:after {
  background: linear-gradient(90deg, var(--hp-logo-navy), var(--hp-logo-gold), var(--hp-logo-navy)) !important;
}

.header-top-button,
#header-wrap .header-top-button,
.btn-common,
.btn-border:hover,
.btn-hero-primary,
.pagination .page-item.active .page-link,
.controls .active,
.controls .btn:hover {
  background: linear-gradient(135deg, var(--hp-logo-gold), var(--hp-logo-gold-light)) !important;
  color: var(--hp-logo-navy-dark) !important;
  border-color: transparent !important;
  box-shadow: 0 16px 34px rgba(214, 161, 31, 0.28) !important;
}

.header-top-button:hover,
#header-wrap .header-top-button:hover,
.btn-common:hover,
.btn-hero-primary:hover {
  background: linear-gradient(135deg, var(--hp-logo-navy-dark), var(--hp-logo-navy)) !important;
  color: #fff !important;
  box-shadow: 0 18px 42px rgba(0, 31, 91, 0.3) !important;
}

#header-wrap .header-top-button.white-bg {
  background: transparent !important;
  color: #fff !important;
  border: 1px solid rgba(243, 201, 92, 0.78) !important;
}

#main-slide,
#page-banner-area,
.page-banner {
  background-color: var(--hp-logo-navy-dark) !important;
}

#main-slide .carousel-item:before,
.page-banner:before {
  background:
    linear-gradient(105deg, rgba(0, 20, 61, 0.94) 0%, rgba(0, 31, 91, 0.76) 48%, rgba(0, 31, 91, 0.34) 100%),
    radial-gradient(circle at 32% 44%, rgba(214, 161, 31, 0.32), transparent 30%) !important;
}

#main-slide .carousel-caption {
  background:
    linear-gradient(135deg, rgba(0, 20, 61, 0.72), rgba(0, 31, 91, 0.46)) !important;
  border: 1px solid rgba(243, 201, 92, 0.24) !important;
  box-shadow:
    0 34px 90px rgba(0, 20, 61, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08) !important;
}

#main-slide .carousel-caption h4,
.section-title-header p {
  color: var(--hp-logo-gold-light) !important;
}

#main-slide .carousel-caption h1,
.page-banner .page-banner-title h2 {
  color: #fff !important;
}

#main-slide .carousel-caption p {
  color: #edf4ff !important;
}

.section-title,
h1,
h2,
h3,
h4,
.page-title {
  color: var(--hp-logo-navy) !important;
}

.section-title-header:after {
  background: linear-gradient(90deg, var(--hp-logo-navy), var(--hp-logo-gold), var(--hp-logo-navy)) !important;
}

.property-main,
.blog-item,
.services-item,
.team-item,
.pricing-table,
.dashboard-wrapper,
.submit-property,
.contact-right-area,
.sidebar,
.portfolio-box,
.testimonial-item,
.agent-inner,
.listing-content,
.single-property,
.faq-box,
.widget,
.user-profile-box,
.my-properties,
.property-info,
.amenities,
.floor-plans,
.contact-form,
.login-form,
.form-content {
  border: 1px solid rgba(0, 31, 91, 0.08) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 251, 255, 0.94)) !important;
  box-shadow: 0 22px 58px rgba(0, 31, 91, 0.11) !important;
}

.property-main:hover,
.blog-item:hover,
.services-item:hover,
.team-item:hover,
.portfolio-box:hover,
.pricing-table:hover,
.agent-inner:hover,
.widget:hover,
.faq-box:hover {
  border-color: rgba(214, 161, 31, 0.48) !important;
  box-shadow: 0 32px 82px rgba(0, 31, 91, 0.18) !important;
}

.property-main:after,
.blog-item:after,
.services-item:after,
.team-item:after,
.pricing-table:after,
.agent-inner:after {
  background: linear-gradient(90deg, transparent, var(--hp-logo-gold), transparent) !important;
}

.item-body .property-title a,
.blog-item .descr h3 a,
.services-content h3 a,
.featured-bg .featured-item h3 a,
a {
  color: var(--hp-logo-navy) !important;
}

a:hover,
.item-body .property-title a:hover,
.blog-item .descr h3 a:hover,
.services-content h3 a:hover {
  color: var(--hp-logo-gold) !important;
}

.services-item .icon,
.featured-item .icon {
  background:
    linear-gradient(135deg, rgba(214, 161, 31, 0.18), rgba(0, 31, 91, 0.08)) !important;
  color: var(--hp-logo-gold) !important;
  box-shadow: inset 0 0 0 1px rgba(214, 161, 31, 0.22);
}

.services-item .icon i,
.featured-item .icon i,
.counter-section .counter .icon i {
  color: var(--hp-logo-gold-light) !important;
}

.label-status,
.property-main .label-inner,
.listing-badges .featured {
  background: linear-gradient(135deg, var(--hp-logo-gold), var(--hp-logo-gold-light)) !important;
  color: var(--hp-logo-navy-dark) !important;
}

.featured-bg,
.counter-section,
.footer-area {
  background:
    radial-gradient(circle at 18% 12%, rgba(214, 161, 31, 0.2), transparent 30%),
    linear-gradient(135deg, var(--hp-logo-navy-dark), var(--hp-logo-navy)) !important;
}

.featured-bg .intro-title,
.featured-bg .title-sub,
.featured-bg .intro-desc,
.featured-bg .featured-item h3 a,
.featured-bg .featured-item p,
.counter-section .counter .counterUp,
.counter-section .counter p,
.footer-area .footer-titel {
  color: #fff !important;
}

.footer-area .footer-titel span,
.footer-area .footer-link li a:hover,
.footer-area .address li a:hover {
  color: var(--hp-logo-gold-light) !important;
}

.form-control:focus,
input:focus,
select:focus,
textarea:focus,
.search-add input:focus {
  border-color: var(--hp-logo-gold) !important;
  box-shadow: 0 0 0 4px rgba(214, 161, 31, 0.15) !important;
}

/* Property and phase page redesign */
.property-details {
  position: relative;
  margin: -44px 0 36px;
  padding: 30px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.94));
  border: 1px solid rgba(0, 31, 91, 0.1);
  box-shadow: 0 26px 70px rgba(0, 31, 91, 0.14);
  z-index: 5;
}

.property-details:before {
  position: absolute;
  content: "";
  inset: 0;
  border-radius: inherit;
  border-top: 4px solid var(--hp-logo-gold);
  pointer-events: none;
}

.property-details .info h3 {
  margin-bottom: 10px;
  color: var(--hp-logo-navy) !important;
  font-size: 28px;
  font-weight: 800;
}

.property-details .info .badge,
.property-details .badge {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 7px 13px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--hp-logo-gold), var(--hp-logo-gold-light));
  color: var(--hp-logo-navy-dark);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.property-details .room-type {
  color: var(--hp-logo-gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.property-details .address {
  color: #53627a;
  font-size: 14px;
  line-height: 1.7;
}

.property-details .address i {
  color: var(--hp-logo-gold);
}

.property-details .details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.property-details .details-listing {
  padding: 18px 12px;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #f5f8fd);
  border: 1px solid rgba(0, 31, 91, 0.08);
  text-align: center;
}

.property-details .details-listing p {
  margin-bottom: 6px;
  color: #66758c;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.property-details .details-listing h5 {
  margin: 0;
  color: var(--hp-logo-navy);
  font-size: 24px;
  font-weight: 900;
}

.property-details .others ul {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.property-details .others li {
  margin: 0 !important;
}

.property-details .others li span {
  display: inline-flex;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--hp-logo-navy);
  color: #fff !important;
  font-size: 18px;
  font-weight: 900;
}

.property-details .others li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(214, 161, 31, 0.12);
  color: var(--hp-logo-gold) !important;
  border: 1px solid rgba(214, 161, 31, 0.24);
}

.property-slider {
  overflow: hidden;
  margin-bottom: 32px;
  border-radius: 26px;
  background: #fff;
  border: 1px solid rgba(0, 31, 91, 0.1);
  box-shadow: 0 24px 60px rgba(0, 31, 91, 0.12);
}

.property-slider .item img {
  width: 100%;
  height: 470px;
  object-fit: cover;
}

.property-slider .owl-controls .owl-buttons .owl-next,
.property-slider .owl-controls .owl-buttons .owl-prev {
  background: linear-gradient(135deg, var(--hp-logo-gold), var(--hp-logo-gold-light)) !important;
  color: var(--hp-logo-navy-dark) !important;
  box-shadow: 0 12px 28px rgba(0, 31, 91, 0.2);
}

.inner-box {
  padding: 30px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(0, 31, 91, 0.08);
  box-shadow: 0 18px 46px rgba(0, 31, 91, 0.09);
}

.inner-box .desc-title {
  position: relative;
  margin-bottom: 24px;
  padding-bottom: 14px;
  color: var(--hp-logo-navy) !important;
  font-size: 24px;
  font-weight: 850;
}

.inner-box .desc-title:after {
  position: absolute;
  content: "";
  left: 0;
  bottom: 0;
  width: 72px;
  height: 4px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--hp-logo-navy), var(--hp-logo-gold));
}

.inner-box p {
  color: #53627a;
  line-height: 1.85;
}

.additional-details,
.property-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.additional-details li,
.property-features li {
  padding: 14px 16px;
  border-radius: 14px;
  background: #f7f9fd;
  border: 1px solid rgba(0, 31, 91, 0.07);
  color: #53627a;
}

.additional-details li strong,
.property-features li span,
.property-features li i {
  color: var(--hp-logo-gold) !important;
}

.agent-inner {
  border-radius: 22px !important;
}

.agent-inner .agent-title .agent-photo img {
  border: 3px solid rgba(214, 161, 31, 0.34);
  box-shadow: 0 12px 24px rgba(0, 31, 91, 0.12);
}

.listing-item,
.listing-content {
  border-radius: 18px;
}

.listing-content .listing-content {
  border-radius: 16px;
  background: linear-gradient(135deg, var(--hp-logo-navy-dark), var(--hp-logo-navy)) !important;
}

@media (max-width: 991px) {
  .property-details {
    margin-top: -28px;
  }

  .property-details .details,
  .additional-details,
  .property-features {
    grid-template-columns: 1fr;
  }

  .property-details .others ul {
    justify-content: flex-start;
    margin-top: 18px;
  }

  .property-slider .item img {
    height: 360px;
  }
}

@media (max-width: 767px) {
  .property-details {
    padding: 22px;
  }

  .property-details .info h3 {
    font-size: 22px;
  }

  .property-slider .item img {
    height: 270px;
  }

  .inner-box {
    padding: 22px;
  }
}

/* Clear image handling: avoid blurry stretch and keep project photos crisp */
.item-thumb,
.blog-image,
.property-slider,
.portfolio-box .img-thumb,
.listing-item,
.property-wrap {
  background: linear-gradient(135deg, var(--hp-logo-navy-dark), var(--hp-logo-navy));
}

.item-thumb img,
.blog-image img,
.property-slider .item img,
.portfolio-box .img-thumb img,
.listing-item img,
.property-main img,
#main-slide .carousel-item img {
  image-rendering: auto;
  object-fit: cover !important;
  object-position: center center;
}

.item-thumb img[src*="phase1"],
.portfolio-box .img-thumb img[src*="phase1"],
.property-main img[src*="phase1"] {
  object-position: center 38%;
}

.property-slider .item img[src*="phase1"] {
  object-position: center 34%;
}

.property-main .item-thumb img {
  min-height: 250px;
}

.listing-item img {
  min-height: 220px;
  object-fit: cover;
}

/* Final phase/property page layout fix */
#content {
  background:
    radial-gradient(circle at 8% 0%, rgba(214, 161, 31, 0.12), transparent 28%),
    linear-gradient(180deg, #f8fafc 0%, #eef3f8 100%);
}

.property-details,
.property-details * {
  word-break: normal !important;
  overflow-wrap: normal !important;
}

.property-details {
  margin: -56px auto 42px !important;
  padding: 0 !important;
  overflow: hidden;
  border-radius: 24px !important;
  background: #fff !important;
  border: 1px solid rgba(0, 31, 91, 0.08) !important;
  box-shadow: 0 26px 72px rgba(0, 31, 91, 0.14) !important;
}

.property-details:before {
  display: none;
}

.property-details > .row {
  display: grid;
  grid-template-columns: minmax(280px, 1.15fr) minmax(360px, 1.35fr) minmax(230px, 0.85fr);
  align-items: stretch;
  gap: 0;
  margin: 0;
}

.property-details > .row > [class*="col-"] {
  max-width: none;
  padding: 0;
}

.property-details .info {
  height: 100%;
  padding: 34px 30px;
  background:
    linear-gradient(135deg, rgba(0, 31, 91, 0.96), rgba(0, 20, 61, 0.92)),
    radial-gradient(circle at 12% 16%, rgba(214, 161, 31, 0.24), transparent 36%);
}

.property-details .info h3 {
  color: #fff !important;
  font-size: 30px !important;
  line-height: 1.2;
}

.property-details .info .badge,
.property-details .badge {
  color: #00143d !important;
  vertical-align: middle;
}

.property-details .room-type {
  color: #f3c95c !important;
  letter-spacing: 1.8px;
}

.property-details .address {
  max-width: 320px;
  color: rgba(255, 255, 255, 0.82) !important;
}

.property-details .address i {
  color: #f3c95c !important;
}

.property-details .details {
  height: 100%;
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 16px;
  padding: 34px 26px;
  background: linear-gradient(180deg, #fff, #f8fafc);
}

.property-details .details-listing {
  display: flex;
  min-width: 0;
  min-height: 118px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 12px !important;
  border-radius: 20px !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 247, 251, 0.98)) !important;
  border: 1px solid rgba(0, 31, 91, 0.08) !important;
  box-shadow: inset 0 -3px 0 rgba(214, 161, 31, 0.16);
}

.property-details .details-listing p {
  margin: 0 0 8px !important;
  color: #001f5b !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  white-space: nowrap;
  letter-spacing: 1px;
}

.property-details .details-listing h5 {
  color: #d6a11f !important;
  font-size: 26px !important;
  line-height: 1 !important;
}

.property-details .others {
  height: 100%;
  padding: 34px 30px;
  background:
    linear-gradient(135deg, rgba(214, 161, 31, 0.16), rgba(255, 255, 255, 0.96));
}

.property-details .others ul {
  height: 100%;
  flex-wrap: wrap;
  justify-content: center !important;
  align-content: center;
}

.property-details .others li:first-child {
  flex: 0 0 100%;
  text-align: center;
}

.property-details .others li span {
  min-width: 190px;
  justify-content: center;
  border-radius: 18px !important;
  background: linear-gradient(135deg, #00143d, #001f5b) !important;
  color: #fff !important;
  font-size: 24px !important;
  line-height: 1.15;
  white-space: normal;
}

.property-details .others li a {
  width: 46px !important;
  height: 46px !important;
  background: #fff !important;
  color: #d6a11f !important;
  box-shadow: 0 10px 24px rgba(0, 31, 91, 0.12);
}

.property-slider {
  border-radius: 24px !important;
  box-shadow: 0 24px 62px rgba(0, 31, 91, 0.13) !important;
}

.inner-box {
  margin-bottom: 28px !important;
  border-radius: 20px !important;
}

@media (max-width: 1199px) {
  .property-details > .row {
    grid-template-columns: 1fr;
  }

  .property-details .info,
  .property-details .details,
  .property-details .others {
    padding: 28px;
  }

  .property-details .others ul {
    justify-content: flex-start !important;
  }

  .property-details .others li:first-child {
    flex: 0 0 auto;
  }
}

@media (max-width: 767px) {
  .property-details {
    margin-top: -32px !important;
  }

  .property-details .details {
    grid-template-columns: 1fr !important;
  }

  .property-details .details-listing {
    min-height: 90px;
  }

  .property-details .others li span {
    min-width: 0;
    width: 100%;
    font-size: 19px !important;
  }
}

/* Clean final design pass */
p,
span,
a,
li {
  overflow-wrap: break-word !important;
  word-break: normal !important;
}

body {
  background: #f5f7fb !important;
}

#header-wrap {
  background: #fff;
}

#header-wrap .navbar > .container {
  border-radius: 0 0 16px 16px !important;
}

.page-banner {
  min-height: 245px !important;
  margin-bottom: 0;
}

.page-banner .page-banner-title {
  padding-top: 88px !important;
}

.page-banner .page-banner-title h2 {
  margin-bottom: 12px;
  font-size: 34px !important;
  letter-spacing: 0;
}

#content.section-padding {
  padding-top: 72px !important;
}

.property-details {
  margin: 0 auto 36px !important;
  border-radius: 18px !important;
}

.property-details > .row {
  grid-template-columns: 1.05fr 1.2fr 0.8fr;
}

.property-details .info {
  padding: 30px;
}

.property-details .info h3 {
  font-size: 26px !important;
}

.property-details .details {
  padding: 30px 22px;
}

.property-details .details-listing {
  min-height: 104px;
  border-radius: 16px !important;
}

.property-details .details-listing p {
  white-space: normal;
}

.property-details .details-listing h5 {
  font-size: 21px !important;
}

.property-details .others {
  padding: 30px 24px;
}

.property-details .others li span {
  min-width: 0;
  padding: 13px 18px;
  font-size: 20px !important;
}

.property-slider {
  margin-bottom: 26px;
  border-radius: 18px !important;
}

.property-slider .item img {
  height: 410px;
}

.inner-box,
.agent-inner,
.sidebar,
.widget {
  border-radius: 18px !important;
  box-shadow: 0 16px 42px rgba(0, 31, 91, 0.09) !important;
}

.inner-box .desc-title {
  font-size: 22px;
}

.additional-details,
.property-features {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.additional-details li,
.property-features li {
  background: #fff;
  box-shadow: inset 4px 0 0 rgba(214, 161, 31, 0.28);
}

.property-main {
  border-radius: 18px !important;
}

.property-main .item-body {
  padding: 24px !important;
}

.property-main .property-title {
  line-height: 1.3;
}

.property-main .pricin-list .property-price {
  color: #d6a11f !important;
  font-size: 20px !important;
}

/* .back-to-top {
  background: linear-gradient(135deg, #001f5b, #00143d) !important;
  border: 1px solid rgba(214, 161, 31, 0.28);
  box-shadow: 0 14px 28px rgba(0, 31, 91, 0.24);
} */

@media (max-width: 1199px) {
  .property-details > .row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .page-banner {
    min-height: 205px !important;
  }

  .page-banner .page-banner-title {
    padding-top: 66px !important;
  }

  .page-banner .page-banner-title h2 {
    font-size: 26px !important;
  }

  #content.section-padding {
    padding-top: 48px !important;
  }

  .property-details .info,
  .property-details .details,
  .property-details .others {
    padding: 22px;
  }

  .property-slider .item img {
    height: 260px;
  }

  .additional-details,
  .property-features {
    grid-template-columns: 1fr;
  }
}

/* Simple clean design reset */
body {
  background: #f4f6fa !important;
  color: #1c2b45 !important;
}

#header-wrap .top-bar {
  padding: 8px 0 !important;
  background: #001f5b !important;
}

#header-wrap .navbar {
  min-height: 82px !important;
  background: #fff !important;
  box-shadow: 0 8px 24px rgba(0, 31, 91, 0.08) !important;
}

#header-wrap .navbar > .container {
  min-height: 82px !important;
  margin-top: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
}

#header-wrap .navbar-brand {
  min-height: 82px !important;
  border-right: 1px solid #e8edf5 !important;
}

#header-wrap .navbar-brand img {
  max-width: 145px !important;
  max-height: 62px !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

#header-wrap .navbar-light .navbar-nav .nav-link {
  padding: 31px 15px !important;
  color: #001f5b !important;
  font-size: 13px !important;
}

#header-wrap .navbar-light .navbar-nav .nav-link:after {
  bottom: 24px !important;
  height: 2px !important;
  background: #d6a11f !important;
  box-shadow: none !important;
}

#header-wrap .search-add input {
  height: 38px !important;
  border-radius: 20px !important;
  background: #fff !important;
}

.page-banner {
  min-height: 210px !important;
  background: #001f5b !important;
}

.page-banner:before,
#page-banner-area:after,
.page-banner:after {
  display: none !important;
}

.page-banner .page-banner-title {
  padding-top: 72px !important;
}

.page-banner .page-banner-title h2 {
  margin-bottom: 10px !important;
  color: #fff !important;
  font-size: 30px !important;
  font-weight: 700 !important;
}

.page-banner a,
.page-banner .current {
  color: #f3c95c !important;
  font-size: 13px !important;
}

#content.section-padding {
  padding: 54px 0 70px !important;
  background: #f4f6fa !important;
}

.property-details {
  margin: 0 0 30px !important;
  padding: 26px !important;
  overflow: visible !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 10px 30px rgba(0, 31, 91, 0.08) !important;
}

.property-details > .row {
  display: flex !important;
  align-items: center !important;
  row-gap: 22px;
}

.property-details > .row > [class*="col-"] {
  padding-right: 15px !important;
  padding-left: 15px !important;
}

.property-details .info,
.property-details .details,
.property-details .others {
  height: auto !important;
  padding: 0 !important;
  background: transparent !important;
}

.property-details .info h3 {
  margin: 0 0 8px !important;
  color: #001f5b !important;
  font-size: 26px !important;
  font-weight: 700 !important;
}

.property-details .badge {
  padding: 6px 11px !important;
  border-radius: 20px !important;
  background: #d6a11f !important;
  color: #00143d !important;
  font-size: 11px !important;
}

.property-details .room-type {
  margin-bottom: 6px !important;
  color: #d6a11f !important;
  font-size: 12px !important;
  letter-spacing: 1px !important;
}

.property-details .address {
  margin: 0 !important;
  color: #53627a !important;
}

.property-details .details {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 12px !important;
}

.property-details .details-listing {
  min-height: 86px !important;
  padding: 15px 10px !important;
  border: 1px solid #e8edf5 !important;
  border-radius: 12px !important;
  background: #f8fafc !important;
  box-shadow: none !important;
  text-align: center !important;
}

.property-details .details-listing p {
  margin-bottom: 8px !important;
  color: #53627a !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.5px !important;
  white-space: normal !important;
}

.property-details .details-listing h5 {
  margin: 0 !important;
  color: #001f5b !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}

.property-details .others ul {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  gap: 10px !important;
  height: auto !important;
  margin: 0 !important;
}

.property-details .others li:first-child {
  flex: 0 0 auto !important;
}

.property-details .others li span {
  min-width: 0 !important;
  padding: 11px 16px !important;
  border-radius: 10px !important;
  background: #001f5b !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}

.property-details .others li a {
  width: 40px !important;
  height: 40px !important;
  border: 1px solid #e8edf5 !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: #d6a11f !important;
  box-shadow: none !important;
}

.property-slider,
.inner-box,
.agent-inner,
.sidebar,
.widget,
.property-main,
.blog-item,
.services-item,
.team-item,
.testimonial-item {
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 10px 28px rgba(0, 31, 91, 0.07) !important;
}

.property-slider {
  overflow: hidden !important;
}

.property-slider .item img {
  height: 390px !important;
  object-fit: cover !important;
}

.inner-box {
  padding: 26px !important;
}

.inner-box .desc-title {
  margin-bottom: 20px !important;
  color: #001f5b !important;
  font-size: 21px !important;
  font-weight: 700 !important;
}

.inner-box .desc-title:after {
  width: 52px !important;
  height: 3px !important;
  background: #d6a11f !important;
}

.additional-details,
.property-features {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.additional-details li,
.property-features li {
  border: 1px solid #e8edf5 !important;
  border-radius: 10px !important;
  background: #f8fafc !important;
  box-shadow: none !important;
}

.footer-area {
  background: #00143d !important;
}

@media (max-width: 991px) {
  .property-details .others ul {
    justify-content: flex-start !important;
  }

  .property-slider .item img {
    height: 310px !important;
  }
}

@media (max-width: 767px) {
  #header-wrap .navbar-brand {
    border-right: 0 !important;
  }

  .property-details {
    padding: 20px !important;
  }

  .property-details .details,
  .additional-details,
  .property-features {
    grid-template-columns: 1fr !important;
  }

  .property-details .others ul {
    flex-wrap: wrap !important;
  }

  .property-slider .item img {
    height: 240px !important;
  }
}

/* Fix property summary: no split blocks, no skinny vertical stat pills */
.property-details {
  padding: 28px !important;
  border-radius: 16px !important;
  background: #ffffff !important;
}

.property-details > .row {
  display: flex !important;
  align-items: center !important;
  margin-right: -15px !important;
  margin-left: -15px !important;
}

.property-details > .row > [class*="col-"]:nth-child(1) {
  flex: 0 0 34% !important;
  max-width: 34% !important;
}

.property-details > .row > [class*="col-"]:nth-child(2) {
  flex: 0 0 42% !important;
  max-width: 42% !important;
}

.property-details > .row > [class*="col-"]:nth-child(3) {
  flex: 0 0 24% !important;
  max-width: 24% !important;
}

.property-details .info,
.property-details .details,
.property-details .others {
  margin-top: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.property-details .info h3 {
  color: #001f5b !important;
}

.property-details .address {
  max-width: none !important;
}

.property-details .details {
  width: 100% !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(118px, 1fr)) !important;
  gap: 14px !important;
}

.property-details .details .details-listing,
.property-details .details-listing {
  float: none !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 78px !important;
  padding: 14px 12px !important;
  border: 1px solid #e3e9f2 !important;
  border-radius: 12px !important;
  background: #f8fafc !important;
}

.property-details .details .details-listing p,
.property-details .details-listing p {
  white-space: nowrap !important;
  margin-bottom: 7px !important;
  color: #001f5b !important;
  font-size: 11px !important;
}

.property-details .details .details-listing h5,
.property-details .details-listing h5 {
  color: #d6a11f !important;
  font-size: 19px !important;
}

.property-details .others ul {
  justify-content: flex-end !important;
  flex-wrap: wrap !important;
}

.property-details .others li:first-child {
  flex: 0 0 100% !important;
  text-align: right !important;
}

.property-details .others li span {
  display: inline-flex !important;
  white-space: nowrap !important;
  border-radius: 12px !important;
  font-size: 16px !important;
}

@media (max-width: 1199px) {
  .property-details > .row > [class*="col-"]:nth-child(1),
  .property-details > .row > [class*="col-"]:nth-child(2),
  .property-details > .row > [class*="col-"]:nth-child(3) {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  .property-details .others li:first-child {
    text-align: left !important;
  }
}

@media (max-width: 767px) {
  .property-details .details {
    grid-template-columns: 1fr !important;
  }

  .property-details .details .details-listing p,
  .property-details .details-listing p,
  .property-details .others li span {
    white-space: normal !important;
  }
}

/* Contact page redesign */
.contact-modern {
  background: #f4f6fa !important;
}

.contact-modern .row {
  row-gap: 28px;
}

.contact-info-panel,
.contact-form-card {
  height: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(0, 31, 91, 0.08);
}

.contact-info-panel {
  padding: 34px;
  background: linear-gradient(135deg, #00143d, #001f5b);
  color: #fff;
}

.contact-form-card {
  padding: 38px;
}

.contact-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: #d6a11f;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.contact-info-panel h2,
.contact-form-card h2 {
  margin-bottom: 12px;
  font-size: 30px;
  font-weight: 800;
}

.contact-info-panel h2,
.contact-info-panel h3 {
  color: #fff !important;
}

.contact-form-card h2 {
  color: #001f5b !important;
}

.contact-lead,
.contact-form-card p {
  color: #64748b;
  line-height: 1.75;
}

.contact-info-panel .contact-lead {
  color: rgba(255, 255, 255, 0.82);
}

.contact-list {
  margin-top: 26px;
}

.contact-list .single-contact {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
  padding: 15px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-list .contact-icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #d6a11f;
  color: #00143d;
}

.contact-list .single-contact p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.55;
}

.contact-list .single-contact b,
.contact-list .single-contact span {
  display: block;
}

.contact-list .single-contact b {
  color: #fff;
}

.director-card {
  margin-top: 24px;
  padding: 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.director-card h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.director-card p,
.director-card li {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
}

.director-card ul {
  margin: 12px 0 0;
  padding-left: 18px;
}

.contact-info-panel .social-icon {
  margin-top: 22px;
}

.contact-info-panel .social-icon a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-form-card .form-control {
  min-height: 50px;
  border-radius: 12px !important;
  background: #f8fafc !important;
}

.contact-form-card textarea.form-control {
  min-height: 145px;
  resize: vertical;
}

.contact-form-card .btn-common {
  min-width: 170px;
}

@media (max-width: 767px) {
  .contact-info-panel,
  .contact-form-card {
    padding: 24px;
  }

  .contact-info-panel h2,
  .contact-form-card h2 {
    font-size: 25px;
  }
}

/* Final shared header: match index page style on every page */
#header-wrap {
  position: relative !important;
  z-index: 100 !important;
  background: #fff !important;
}

#header-wrap .top-bar {
  min-height: 72px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  background: #001f5b !important;
  border: 0 !important;
}

#header-wrap .top-bar .row {
  align-items: center !important;
}

#header-wrap .top-bar .links {
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
  margin: 0 !important;
}

#header-wrap .top-bar .links li,
#header-wrap .top-bar .links a {
  margin: 0 !important;
  color: #fff !important;
  font-size: 12px !important;
}

#header-wrap .top-bar .links i {
  color: #d6a11f !important;
}

#header-wrap .header-top-right {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  gap: 10px !important;
}

#header-wrap .header-top-button {
  min-height: 38px !important;
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 10px 18px !important;
  border-radius: 999px !important;
  background: #f3c13a !important;
  color: #00143d !important;
  border: 1px solid #f3c13a !important;
  box-shadow: none !important;
  font-size: 11px !important;
  font-weight: 800 !important;
}

#header-wrap .header-top-button.white-bg {
  background: transparent !important;
  color: #fff !important;
  border-color: #f3c13a !important;
}

#header-wrap .navbar {
  min-height: 88px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

#header-wrap .navbar > .container {
  max-width: 1140px !important;
  min-height: 74px !important;
  margin-top: 14px !important;
  display: flex !important;
  align-items: center !important;
  background: #fff !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: 0 18px 45px rgba(0, 31, 91, 0.08) !important;
}

#header-wrap .navbar-header {
  display: flex !important;
  align-items: center !important;
}

#header-wrap .navbar-brand {
  min-height: 74px !important;
  display: inline-flex !important;
  align-items: center !important;
  padding: 0 28px 0 16px !important;
  margin: 0 24px 0 0 !important;
  border-right: 1px solid #e7edf5 !important;
}

#header-wrap .navbar-brand img {
  max-width: 76px !important;
  max-height: 58px !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

#header-wrap .navbar-collapse {
  align-items: center !important;
}

#header-wrap .navbar-nav {
  align-items: center !important;
}

#header-wrap .navbar-light .navbar-nav .nav-link {
  position: relative !important;
  padding: 28px 15px 24px !important;
  margin: 0 !important;
  color: #001f5b !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: 0.2px !important;
}

#header-wrap .navbar-light .navbar-nav .nav-link:hover,
#header-wrap .navbar li.active a.nav-link {
  color: #d6a11f !important;
  background: transparent !important;
}

#header-wrap .navbar-light .navbar-nav .nav-link:after {
  content: "" !important;
  position: absolute !important;
  left: 15px !important;
  right: 15px !important;
  bottom: 14px !important;
  height: 2px !important;
  border-radius: 99px !important;
  background: #d6a11f !important;
  transform: scaleX(0) !important;
  box-shadow: none !important;
}

#header-wrap .navbar-light .navbar-nav .nav-link:hover:after,
#header-wrap .navbar li.active a.nav-link:after {
  transform: scaleX(1) !important;
}

#header-wrap .search-add {
  margin: 0 16px 0 20px !important;
}

#header-wrap .search-add .form-group {
  margin: 0 !important;
}

#header-wrap .search-add input {
  width: 172px !important;
  height: 42px !important;
  padding: 0 42px 0 15px !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #001f5b !important;
  font-size: 12px !important;
}

#header-wrap .search-add .search-btn {
  top: 9px !important;
  right: 12px !important;
  color: #d6a11f !important;
}

@media (max-width: 991px) {
  #header-wrap .top-bar {
    min-height: auto !important;
    padding: 10px 0 !important;
  }

  #header-wrap .navbar > .container {
    max-width: 100% !important;
    min-height: 72px !important;
    margin-top: 0 !important;
  }

  #header-wrap .navbar-brand {
    min-height: 72px !important;
    border-right: 0 !important;
  }

  #header-wrap .navbar-light .navbar-nav .nav-link {
    padding: 12px 15px !important;
  }

  #header-wrap .navbar-light .navbar-nav .nav-link:after {
    display: none !important;
  }
}

/* Remove unclear CSS background images */
#page-banner-area,
.section-intro {
  background-image: linear-gradient(105deg, rgba(0, 20, 61, 0.9), rgba(0, 31, 91, 0.55)), url("../img/phase5/p52.jpg") !important;
  background-position: center !important;
  background-size: cover !important;
}

.counter-section {
  background-image: linear-gradient(135deg, rgba(0, 20, 61, 0.94), rgba(0, 31, 91, 0.82)), url("../img/phase2/p22.jpg") !important;
  background-position: center !important;
  background-size: cover !important;
}

.pricing-table .plan-info,
.pricing-active .plan-info,
.pricing-table:hover .plan-info {
  background-image: linear-gradient(135deg, rgba(255,255,255,0.94), rgba(248,250,252,0.96)), url("../img/phase4/p42.jpg") !important;
  background-position: center !important;
  background-size: cover !important;
}

/* Phase page alignment corrections */
.property-details {
  padding: 24px !important;
}

.property-details > .row {
  align-items: stretch !important;
}

.property-details .info {
  display: flex !important;
  min-height: 118px;
  flex-direction: column;
  justify-content: center;
}

.property-details .address {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.6;
}

.property-details .address i {
  flex: 0 0 auto;
  margin-top: 3px;
  color: #d6a11f !important;
}

.property-details .details {
  height: 100%;
  align-content: center;
}

.property-details .details .details-listing,
.property-details .details-listing {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.property-details .details .details-listing p,
.property-details .details-listing p {
  display: block;
  width: 100%;
  text-align: center;
  letter-spacing: 0.3px !important;
}

.property-details .others {
  display: flex !important;
  height: 100% !important;
  align-items: center !important;
  justify-content: flex-end !important;
}

.property-details .others ul {
  width: 100%;
  justify-content: flex-end !important;
  align-items: center !important;
}

.property-details .others li {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  float: none !important;
}

.property-details .others li:first-child {
  flex: 0 0 100% !important;
  margin-bottom: 8px !important;
}

.property-details .others li a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}

.property-details .others li a i {
  line-height: 1 !important;
  margin: 0 !important;
}

.widget.mb2 {
  display: flex;
  gap: 10px;
  padding: 18px !important;
}

.widget-button {
  float: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  margin: 0 !important;
  border-radius: 12px !important;
  background: #fff !important;
  border: 1px solid #e2e8f0 !important;
  color: #001f5b !important;
}

.widget-button i {
  position: static !important;
  line-height: 1 !important;
  left: auto !important;
  top: auto !important;
}

.agent-inner .agent-title {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  margin-bottom: 22px !important;
}

.agent-inner .agent-title .agent-photo {
  float: none !important;
  flex: 0 0 auto;
}

.agent-inner .agent-title .agent-photo img {
  width: 68px !important;
  height: 68px !important;
  object-fit: contain;
  border-radius: 14px !important;
  background: #fff;
}

.agent-inner .agent-title .agent-details {
  position: static !important;
  margin-left: 0 !important;
  transform: none !important;
}

.agent-inner .agent-title .agent-details h3 {
  margin-bottom: 6px !important;
}

.agent-inner .agent-title .agent-details span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.agent-inner .form-control {
  margin-bottom: 14px !important;
}

.agent-inner .fullwidth {
  width: 100%;
}

.listing-item {
  overflow: hidden;
}

.listing-item img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.listing-badges {
  height: auto !important;
  pointer-events: none;
}

.listing-badges span {
  top: 12px !important;
  right: 12px !important;
  float: none !important;
  border-radius: 999px !important;
}

.listing-badges .featured {
  left: 12px !important;
  top: 12px !important;
  width: auto !important;
  transform: none !important;
  padding: 5px 12px !important;
}

.listing-content .listing-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 14px 0 0 !important;
  padding: 14px !important;
}

.listing-content .listing-content li {
  padding: 0 !important;
  color: #fff !important;
}

.accordion-fp .card {
  overflow: hidden;
  margin-bottom: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
}

.accordion-fp .card-header {
  padding: 0;
  background: #f8fafc;
  border: 0;
}

.accordion-fp .accordion-title {
  width: 100%;
  padding: 15px 18px;
  color: #001f5b;
  font-weight: 700;
  text-align: left;
  background: transparent;
  border: 0;
}

.accordion-fp .thumb img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: 12px;
}

.property-features.checkboxes li {
  display: flex;
  align-items: center;
  gap: 9px;
}

.property-features.checkboxes li i {
  flex: 0 0 auto;
  line-height: 1;
}

@media (max-width: 991px) {
  .property-details .others {
    justify-content: flex-start !important;
  }

  .property-details .others ul {
    justify-content: flex-start !important;
  }
}

/* Sidebar icon and carousel control alignment */
.right-sidebar .widget {
  position: relative;
  overflow: visible;
  padding: 24px !important;
}

.right-sidebar .sidebar-title {
  margin: 0 86px 22px 0 !important;
  padding: 0 !important;
  color: #001f5b !important;
  font-size: 20px !important;
  line-height: 1.25 !important;
  letter-spacing: 1px !important;
}

.right-sidebar .widget-social .sidebar-title {
  margin-right: 0 !important;
}

.right-sidebar .social-icons {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.right-sidebar .social-icons li {
  display: inline-flex !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.right-sidebar .social-icons li a {
  width: 42px !important;
  height: 42px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 50% !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #001f5b !important;
  line-height: 1 !important;
  box-shadow: none !important;
}

.right-sidebar .social-icons li a i {
  display: block !important;
  margin: 0 !important;
  line-height: 1 !important;
  font-size: 16px !important;
}

.right-sidebar .social-icons li a:hover {
  background: #001f5b !important;
  color: #fff !important;
}

#listing-carousel {
  position: relative;
}

#listing-carousel .owl-controls .owl-buttons {
  position: absolute !important;
  top: -58px !important;
  right: 0 !important;
  display: flex !important;
  gap: 8px !important;
  width: auto !important;
  height: auto !important;
  transform: none !important;
}

#listing-carousel .owl-controls .owl-buttons div,
#listing-carousel .owl-controls .owl-buttons .owl-prev,
#listing-carousel .owl-controls .owl-buttons .owl-next {
  position: static !important;
  width: 34px !important;
  height: 34px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 50% !important;
  border: 1px solid #e2e8f0 !important;
  background: #fff !important;
  color: #001f5b !important;
  line-height: 1 !important;
  transform: none !important;
}

#listing-carousel .owl-controls .owl-buttons div i {
  line-height: 1 !important;
  margin: 0 !important;
}

#listing-carousel .owl-controls .owl-buttons div:hover {
  background: #001f5b !important;
  color: #fff !important;
}

@media (max-width: 767px) {
  .right-sidebar .sidebar-title {
    margin-right: 0 !important;
  }

  #listing-carousel .owl-controls .owl-buttons {
    position: static !important;
    margin-bottom: 12px !important;
    justify-content: flex-end !important;
  }
}

/* Final footer redesign */
.site-footer.footer-area {
  padding: 72px 0 56px !important;
  background:
    linear-gradient(135deg, rgba(0, 20, 61, 0.98), rgba(0, 31, 91, 0.96)),
    radial-gradient(circle at 18% 0%, rgba(214, 161, 31, 0.2), transparent 32%) !important;
  color: #dbe7ff !important;
  position: relative;
  overflow: hidden;
}

.site-footer:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(214, 161, 31, 0.18), transparent 28%, transparent 72%, rgba(214, 161, 31, 0.12));
  pointer-events: none;
}

.site-footer .container {
  position: relative;
  z-index: 2;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.45fr 0.8fr 0.9fr 1.25fr;
  gap: 38px;
  align-items: start;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 108px;
  height: 82px;
  margin-bottom: 22px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.18);
}

.footer-logo img {
  max-width: 82px;
  max-height: 64px;
  object-fit: contain;
}

.footer-brand p {
  max-width: 340px;
  margin-bottom: 22px;
  color: #dbe7ff !important;
  font-size: 14px;
  line-height: 1.8;
}

.site-footer .footer-titel {
  margin-bottom: 20px !important;
  color: #fff !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
}

.site-footer .footer-titel span {
  color: #f3c13a !important;
}

.site-footer .footer-link {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.site-footer .footer-link li {
  list-style: none !important;
  margin-bottom: 11px !important;
}

.site-footer .footer-link li a {
  display: inline-flex;
  align-items: center;
  color: #dbe7ff !important;
  font-size: 14px !important;
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-footer .footer-link li a:before {
  display: none !important;
  content: none !important;
}

.site-footer .footer-link li a:hover {
  color: #f3c13a !important;
  transform: none;
}

.footer-phase-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 14px;
}

.footer-contact-card {
  padding: 24px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
}

.site-footer .address {
  margin: 0 0 20px;
}

.site-footer .address li {
  margin-bottom: 13px !important;
}

.site-footer .address li a {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: #dbe7ff !important;
  font-size: 14px !important;
  line-height: 1.6;
}

.site-footer .address li a i {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(243, 193, 58, 0.14);
  color: #f3c13a !important;
}

.footer-subscribe {
  margin-top: 18px;
}

.footer-subscribe label {
  display: block;
  margin-bottom: 10px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.site-footer #subscribe-form .form-group {
  display: flex;
  align-items: center;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}

.site-footer #subscribe-form .form-control {
  height: 46px !important;
  min-height: 46px !important;
  border: 0 !important;
  border-radius: 12px 0 0 12px !important;
  background: #fff !important;
  color: #001f5b !important;
  padding: 0 14px !important;
}

.site-footer #subscribe-form .sub-btn {
  position: static !important;
  width: 48px !important;
  height: 46px !important;
  min-width: 48px !important;
  padding: 0 !important;
  border-radius: 0 12px 12px 0 !important;
  background: #f3c13a !important;
  color: #00143d !important;
  box-shadow: none !important;
}

.footer-social.social-icon {
  display: flex;
  gap: 10px;
}

.footer-social.social-icon a,
.site-footer .social-icon a {
  width: 38px !important;
  height: 38px !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: #fff !important;
}

.footer-social.social-icon a:hover,
.site-footer .social-icon a:hover {
  background: #f3c13a !important;
  color: #00143d !important;
}

#copyright {
  padding: 18px 0 !important;
  background: #00143d !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

#copyright p {
  margin: 0 !important;
  color: #dbe7ff !important;
  font-size: 13px !important;
  text-align: center;
}

@media (max-width: 991px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 767px) {
  .site-footer.footer-area {
    padding: 52px 0 40px !important;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-contact-card {
    padding: 20px;
  }
}
