/* ====================================================================
   JustHome — Theme Stylesheet (FIXED & ENHANCED)
   - White body with green shades
   - Glass effect (frosted panels)
   - Transparent elements
   - Rounded corners on all images
   - ALL SECTIONS have EQUAL SIZED elements
   - Navbar FIXED at top (transparent, blur background on mobile)
   - Footer TRANSPARENT (no background anywhere)
   - Carousel blur REMOVED
   - Carousel text properly centered and styled
   - ALL elements properly sized inside container
   - Fully responsive
   ==================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700&display=swap');

:root{
  /* ---- Color tokens ---- */
  --jh-black:        #07100c;
  --jh-black-soft:   #0d1812;
  --jh-green-deep:   #0f3d24;
  --jh-green:        #1f7a4d;
  --jh-green-bright: #34d399;
  --jh-white:        #f3f7f4;
  --jh-muted:        #4a6b5a;
  --jh-hairline:     rgba(52,211,153,0.18);

  /* ---- Glass tokens ---- */
  --glass-bg:         rgba(255,255,255,0.10);
  --glass-bg-strong:  rgba(255,255,255,0.18);
  --glass-border:     rgba(52,211,153,0.25);
  --glass-blur:       blur(16px) saturate(160%);

  /* ---- Type tokens ---- */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* ---- Layout tokens ---- */
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  
  /* ---- Fixed sizes ---- */
  --section-padding: 3.5rem 0;
  --card-height: 100%;
  --image-height: 300px;
  --carousel-image-height: 420px;
  --navbar-height: 76px;
  --container-max-width: 1320px;
}

/* ====================================================================
   Reset / page ground — White with green shades
   ==================================================================== */

body,
body.bg-white{
  background-color: #f2f8f5 !important;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(52,211,153,0.07) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(31,122,77,0.06) 0%, transparent 50%);
  color: #1a2e24;
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0.01em;
  min-height: 100vh;
  position: relative;
  padding-top: calc(var(--navbar-height) + 10px);
}

/* Faint blueprint grid + ambient green glow behind everything */
body::before{
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(31,122,77,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31,122,77,0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  pointer-events: none;
}
body::after{
  content: "";
  position: fixed;
  top: -10%;
  left: 50%;
  width: 80vw;
  height: 80vw;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(52,211,153,0.10), transparent 65%);
  z-index: -1;
  pointer-events: none;
}

h1, h2, h3, h4, h5, h6{
  font-family: var(--font-display);
  font-weight: 600;
  color: #0d2b1e;
  letter-spacing: -0.01em;
}

p, .lead, li, a{
  font-family: var(--font-body);
}
p, .lead{ 
  color: #2b4a3a; 
}

/* Eyebrow labels */
span.text-muted{
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--jh-green-bright) !important;
  margin-bottom: 0.5rem;
}

a{ 
  color: var(--jh-green); 
}
a:hover{ 
  color: #0f3d24; 
}

::selection{ 
  background: var(--jh-green); 
  color: var(--jh-white); 
}

/* Visible keyboard focus */
a:focus-visible,
button:focus-visible,
.btn:focus-visible{
  outline: 2px solid var(--jh-green-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce){
  *{ transition: none !important; animation: none !important; }
}

/* ====================================================================
   CONTAINER FIX — All containers use 1320px max-width
   ==================================================================== */

.container,
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl{
  max-width: var(--container-max-width) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px;
  padding-right: 24px;
}

/* ====================================================================
   Navigation — FIXED NAVBAR (transparent, blur background on mobile)
   ==================================================================== */

/* Navbar section - FIXED and TRANSPARENT */
section.py-2.py-md-3,
.container.px-3.px-lg-4 > section.py-2.py-md-3{
  padding: 0 !important;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  padding: 12px 20px 0 20px !important;
  background: transparent !important;
  transition: all 0.3s ease;
  max-width: var(--container-max-width) !important;
  margin: 0 auto !important;
  width: 100%;
}
section.py-2.py-md-3 .container-fluid,
.container.px-3.px-lg-4 > section.py-2.py-md-3 .container-fluid{
  max-width: var(--container-max-width) !important;
  padding: 0;
  margin: 0 auto;
}
section.py-2.py-md-3 .container-fluid .container-fluid,
.container.px-3.px-lg-4 > section.py-2.py-md-3 .container-fluid .container-fluid{
  padding: 0 !important;
  max-width: 100% !important;
}

nav.navbar{
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  padding: 0.6rem 1.25rem;
  width: 100%;
  box-shadow: none !important;
  transition: all 0.3s ease;
}

/* ===== NAVBAR BRAND WITH LOGO ===== */
.navbar-brand{
  font-family: var(--font-display);
  font-weight: 700;
  color: #0d2b1e !important;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.navbar-brand .logo-icon{
  display: inline-block;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--jh-green-bright);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  text-align: center;
  line-height: 36px;
  flex-shrink: 0;
}
.navbar-brand .brand-text{
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.navbar-brand .brand-text .main{
  font-size: 1.1rem;
  font-weight: 800;
  color: #0d2b1e;
}
.navbar-brand .brand-text .main span{
  color: var(--jh-green-bright);
}
.navbar-brand .brand-text .sub{
  font-size: 0.5rem;
  letter-spacing: 0.12em;
  color: var(--jh-muted);
  font-weight: 600;
  text-transform: uppercase;
}
.navbar-brand::before{
  display: none;
}

.navbar-nav .nav-link{
  color: #2b4a3a !important;
  font-weight: 500;
  position: relative;
  padding: 0.4rem 0.2rem;
  margin: 0 0.6rem;
  transition: color 0.2s var(--ease);
}
.navbar-nav .nav-link::after{
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0%;
  height: 2px;
  background: var(--jh-green-bright);
  transition: width 0.25s var(--ease);
}
.navbar-nav .nav-link:hover{ 
  color: #0d2b1e !important; 
}
.navbar-nav .nav-link:hover::after{ 
  width: 100%; 
}
.navbar-nav .nav-link.active{
  color: var(--jh-green) !important;
}
.navbar-nav .nav-link.active::after{
  width: 100%;
}

.navbar-toggler{
  background: rgba(255,255,255,0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 8px;
  border: 1px solid rgba(52,211,153,0.2);
  padding: 0.5rem 0.75rem;
}
.navbar-toggler-icon{
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(7, 16, 12, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  filter: none !important;
}
.navbar-collapse{
  background: transparent !important;
  border-radius: var(--radius-md);
}

/* ====================================================================
   Mobile Navigation - 3 Lines with Transparent Blur Background
   ==================================================================== */

@media (max-width: 991.98px){
  /* Navbar background becomes glass blur on mobile */
  section.py-2.py-md-3,
  .container.px-3.px-lg-4 > section.py-2.py-md-3{
    background: rgba(255,255,255,0.70) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(52,211,153,0.10) !important;
    padding: 8px 12px 0 12px !important;
    max-width: 100% !important;
  }
  
  nav.navbar{
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  
  .navbar-collapse{ 
    background: rgba(255,255,255,0.85) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-radius: var(--radius-md);
    padding: 0.75rem; 
    margin-top: 0.5rem;
    border: 1px solid rgba(52,211,153,0.12);
    box-shadow: 0 8px 32px rgba(0,0,0,0.06);
  }
  
  .navbar-nav .nav-link{
    padding: 0.6rem 0.8rem;
    margin: 0.2rem 0;
    border-radius: 8px;
    transition: all 0.2s ease;
  }
  
  .navbar-nav .nav-link:hover{
    background: rgba(52,211,153,0.08) !important;
    border-radius: 8px;
  }
  
  .navbar-nav .nav-link::after{
    display: none;
  }
  
  .navbar-toggler{
    background: rgba(255,255,255,0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(52,211,153,0.15);
  }
  
  .navbar-toggler-icon{
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(7, 16, 12, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }
  
  /* Show 3 lines (hamburger) on mobile */
  .navbar-toggler{
    display: flex !important;
  }
  
  /* Mobile brand smaller */
  .navbar-brand .logo-icon{
    width: 30px;
    height: 30px;
    line-height: 30px;
    font-size: 0.7rem;
  }
  .navbar-brand .brand-text .main{
    font-size: 0.95rem;
  }
  .navbar-brand .brand-text .sub{
    font-size: 0.45rem;
  }
}

/* ====================================================================
   Hero carousel — COMPLETELY CLEAN (No overlay, No shadow, No blur)
   ==================================================================== */

#carouselExampleCaptions{
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 100%;
  min-height: var(--carousel-image-height);
}
#carouselExampleCaptions .carousel-inner{
  height: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
}
#carouselExampleCaptions .carousel-item{
  height: var(--carousel-image-height);
  min-height: var(--carousel-image-height);
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-md);
  overflow: hidden;
}
#carouselExampleCaptions .position-relative{
  background: transparent !important;
  margin: 0;
  z-index: 2;
  padding: 2rem 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
#carouselExampleCaptions .position-relative .row{
  width: 100%;
  margin: 0;
}
#carouselExampleCaptions .position-relative .col-11,
#carouselExampleCaptions .position-relative .col-md-10{
  margin: 0 auto;
  text-align: center;
}
#carouselExampleCaptions span{
  color: #34d399 !important;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.85rem;
  display: inline-block;
  margin-bottom: 0.5rem;
}
#carouselExampleCaptions h2{ 
  color: #ffffff !important;
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}
#carouselExampleCaptions p{ 
  color: #ffffff !important;
  font-size: 1.1rem;
  max-width: 550px;
  margin: 0 auto 1.5rem auto;
  line-height: 1.6;
}
#carouselExampleCaptions .btn{
  display: inline-block;
  width: auto;
  min-width: 200px;
  padding: 0.7rem 2rem;
  font-size: 1rem;
  box-shadow: none !important;
}
#carouselExampleCaptions .btn:hover{
  box-shadow: none !important;
  transform: none !important;
}
.hero-cover-img{
  width: 100%;
  height: var(--carousel-image-height) !important;
  object-fit: cover;
  border-radius: var(--radius-md) !important;
}

/* Arrows hidden */
.carousel-control-prev,
.carousel-control-next{
  display: none !important;
}

/* Indicators - Clean dots */
.carousel-indicators{
  position: absolute;
  bottom: 15px;
  z-index: 15;
  display: flex;
  justify-content: center;
  padding: 0;
  margin: 0;
  list-style: none;
  gap: 8px;
}
.carousel-indicators [data-bs-target]{
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background-color: #1f7a4d;
  opacity: 0.4;
  transition: all 0.3s ease;
  margin: 0;
}
.carousel-indicators .active{ 
  opacity: 1;
  background-color: #34d399;
  transform: scale(1.2);
}

/* ====================================================================
   Buttons — glass / outline with green accent
   ==================================================================== */

.btn{
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 999px !important;
  transition: all 0.25s var(--ease);
  padding: 0.7rem 2rem;
  font-size: 1rem;
}

.btn-outline-light{
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(52,211,153,0.4);
  color: #0d2b1e !important;
}
.btn-outline-light:hover{
  background: var(--jh-green-bright);
  border-color: transparent;
  color: #fff !important;
  box-shadow: none !important;
  transform: translateY(-2px);
}

.btn-primary{
  background: var(--jh-green);
  border: none;
  color: #fff;
}
.btn-primary:hover{
  background: #0f3d24;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(31,122,77,0.3);
}

/* ====================================================================
   Media block — virtual tour section, EQUAL SIZED
   ==================================================================== */

.media-block{
  border: none;
  background: transparent;
  padding: 0;
  height: 100%;
}
.media-block img,
.media-block iframe{
  border-radius: var(--radius-md) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
  height: var(--image-height) !important;
  width: 100%;
  object-fit: cover;
}
.media-block .carousel,
.media-block .carousel-inner,
.media-block .carousel-item{
  height: 100%;
}
.media-block .carousel-item img{
  height: var(--image-height) !important;
  object-fit: cover;
}

#carouselExampleIndicators .carousel-control-prev-icon,
#carouselExampleIndicators .carousel-control-next-icon{
  padding: 1rem;
}

/* ====================================================================
   Gallery — featured property cards, EQUAL SIZED
   ==================================================================== */

#portfolioCarousel .card{
  background: rgba(255,255,255,0.50);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(52,211,153,0.18);
  border-radius: var(--radius-lg) !important;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
  height: var(--card-height);
  display: flex;
  flex-direction: column;
}
#portfolioCarousel .card:hover{
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}
#portfolioCarousel .card img{
  border-radius: var(--radius-lg) var(--radius-lg) 0 0 !important;
  height: var(--image-height);
  object-fit: cover;
  width: 100%;
  flex-shrink: 0;
}
#portfolioCarousel .card-body{
  background: transparent;
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
#portfolioCarousel .card-body h6{
  font-family: var(--font-display);
  color: #0d2b1e;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
#portfolioCarousel .card-body .text-muted{
  color: var(--jh-green) !important;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 0.5rem;
}
#portfolioCarousel .card-body p{
  color: #2b4a3a;
  font-size: 0.95rem;
  margin-bottom: 0;
  flex: 1;
}
#portfolioCarousel .row{
  display: flex;
  flex-wrap: wrap;
}
#portfolioCarousel .row .col-md-4{
  display: flex;
}
#portfolioCarousel .row .col-md-4 .card{
  width: 100%;
}
#portfolioCarousel .carousel-control-prev-icon,
#portfolioCarousel .carousel-control-next-icon{
  background-color: rgba(0,0,0,0.35);
  border: none;
}

.gallery-card-img{
  width: 100%;
  height: var(--image-height);
  object-fit: cover;
}

/* ====================================================================
   Features section — equal height columns
   ==================================================================== */

.feature-img{
  border-radius: var(--radius-lg) !important;
  box-shadow: 0 16px 50px rgba(0,0,0,0.06);
  width: 100%;
  height: var(--image-height);
  object-fit: cover;
}

.text-primary{ 
  color: var(--jh-green) !important; 
}

ul.list-unstyled li{
  background: rgba(255,255,255,0.30);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(52,211,153,0.12);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  color: #0d2b1e;
  font-weight: 500;
  margin-bottom: 0.75rem;
  transition: all 0.2s var(--ease);
  min-height: 65px;
  display: flex;
  align-items: center;
  font-size: 1rem;
}
ul.list-unstyled li:hover{
  background: rgba(255,255,255,0.50);
  border-color: rgba(52,211,153,0.3);
}
ul.list-unstyled li svg{
  filter: drop-shadow(0 0 6px rgba(52,211,153,0.3));
  flex-shrink: 0;
  width: 26px;
  height: 26px;
}

/* ====================================================================
   Footer — TRANSPARENT (no background, no border, no anything)
   ==================================================================== */

footer{
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  padding: 1.5rem 0;
}

.footer-brand{
  font-family: var(--font-display);
  color: #0d2b1e !important;
  font-weight: 700;
  font-size: 1.5rem;
  display: inline-block;
}

footer .footer-address p{ 
  color: #2b4a3a; 
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
}
footer .footer-address a{ 
  color: var(--jh-green); 
  text-decoration: none;
}
footer .footer-address a:hover{
  color: #0f3d24;
}

footer h4{
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0d2b1e;
  margin-bottom: 0.9rem;
}

footer ul.list-unstyled{
  padding: 0;
  margin: 0;
  list-style: none;
}
footer ul.list-unstyled li{
  margin-bottom: 0.5rem;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  padding: 0 !important;
  min-height: auto !important;
  box-shadow: none !important;
}
footer ul.list-unstyled li:hover{
  background: transparent !important;
  border: none !important;
  transform: none !important;
}

footer .footer-link{
  color: #2b4a3a !important;
  transition: color 0.2s var(--ease);
  text-decoration: none;
  font-size: 0.95rem;
  background: transparent !important;
  padding: 0 !important;
}
footer .footer-link:hover{ 
  color: var(--jh-green) !important; 
  background: transparent !important;
}

footer .border-top{
  border-color: rgba(52,211,153,0.10) !important;
}

footer svg.text-primary{ 
  color: var(--jh-green) !important; 
}

footer .small,
footer .small.text-muted{ 
  color: #4a6b5a !important;
  font-size: 0.85rem;
}
footer .text-muted{
  color: #4a6b5a !important;
}

footer .border-top.d-lg-none{
  border-color: rgba(52,211,153,0.08) !important;
}

/* Override any glass effect on footer elements */
footer .glass,
footer .glass-strong,
footer .glass-section{
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
}

/* ====================================================================
   Featured Properties Section (BDHOUSING) - Fix for container
   ==================================================================== */

.container-fluid.px-3.px-md-4.py-4{
  max-width: var(--container-max-width) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px;
  padding-right: 24px;
}

/* Property Card Styles - All inside container */
.property-card{
  background: rgba(255,255,255,0.60);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(52,211,153,0.15);
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 100%;
  transition: all 0.3s var(--ease);
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}
.property-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
  border-color: rgba(52,211,153,0.3);
}

.pc-media{
  position: relative;
  height: 180px;
  overflow: hidden;
  background: #e8f0ec;
}
.pc-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pc-compare{
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0,0,0,0.40);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.1);
}
.pc-fav{
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.70);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0d2b1e;
  font-size: 0.85rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  cursor: pointer;
  transition: all 0.2s var(--ease);
  border: 1px solid rgba(52,211,153,0.1);
}
.pc-fav:hover{
  background: rgba(255,255,255,0.9);
  transform: scale(1.1);
}
.pc-price{
  position: absolute;
  bottom: 0;
  left: 0;
  background: var(--jh-green);
  color: #fff;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.35rem 0.9rem;
  border-top-right-radius: 8px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.pc-body{
  padding: 0.85rem 1rem 1rem;
}
.pc-title{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  margin: 0;
  color: #0d2b1e;
}
.badge-sale{
  background: #fdeaea;
  color: #c0392b;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 5px;
  white-space: nowrap;
  flex-shrink: 0;
}
.badge-type{
  display: inline-block;
  margin-top: 0.4rem;
  background: rgba(31,122,77,0.10);
  color: var(--jh-green);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.22rem 0.6rem;
  border-radius: 5px;
}
.pc-location{
  font-size: 0.74rem;
  color: #4a6b5a;
  margin-top: 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.pc-specs{
  display: flex;
  margin-top: 0.65rem;
  border: 1px solid rgba(52,211,153,0.12);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255,255,255,0.2);
}
.pc-spec{
  flex: 1;
  text-align: center;
  padding: 0.38rem 0.2rem;
  border-right: 1px solid rgba(52,211,153,0.08);
}
.pc-spec:last-child{
  border-right: none;
}
.pc-spec .lbl{
  display: block;
  font-size: 0.58rem;
  color: #4a6b5a;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.pc-spec .val{
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: #0d2b1e;
  margin-top: 0.1rem;
}
.pc-footer{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.75rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(52,211,153,0.10);
}
.co-logo{
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(31,122,77,0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 800;
  color: var(--jh-green);
  flex-shrink: 0;
}
.co-name{
  font-size: 0.7rem;
  font-weight: 700;
  color: #0d2b1e;
  line-height: 1.1;
}
.co-sub{
  font-size: 0.58rem;
  color: #4a6b5a;
  font-weight: 600;
}
.view-link{
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--jh-green);
  text-decoration: none;
}
.view-link:hover{
  color: #0f3d24;
}

/* Sidebar Partner Card */
.partner-card{
  background: linear-gradient(180deg, rgba(6,15,12,0.2) 0%, rgba(6,15,12,0.85) 100%),
    url('https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?q=80&w=600&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-md);
  color: #fff;
  padding: 1.2rem;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(52,211,153,0.15);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.partner-tag{
  display: inline-block;
  background: var(--jh-green);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.28rem 0.6rem;
  border-radius: 5px;
}
.partner-title{
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  margin: 0.6rem 0 0;
}
.partner-loc{
  font-size: 0.72rem;
  color: #d0e0d8;
  margin-top: 0.1rem;
}
.partner-size-lbl{
  font-size: 0.6rem;
  color: #bcd0c8;
  letter-spacing: 0.04em;
  font-weight: 600;
  margin-top: 0.7rem;
  display: block;
}
.partner-size-val{
  font-size: 1.5rem;
  font-weight: 800;
}
.partner-size-val small{
  font-size: 0.8rem;
  font-weight: 600;
}
.partner-foot{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.7rem;
}
.verified{
  font-size: 0.6rem;
  color: #cfe3da;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.btn-inquire{
  background: var(--jh-green);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  border: none;
  border-radius: 7px;
  padding: 0.4rem 0.8rem;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.btn-inquire:hover{
  background: #0f3d24;
  transform: translateY(-1px);
}

/* Sidebar Recent Box */
.recent-box{
  background: rgba(255,255,255,0.50);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(52,211,153,0.12);
  border-radius: var(--radius-md);
  padding: 0.95rem 1rem 1.1rem;
  margin-top: 1rem;
}
.recent-tabs{
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(52,211,153,0.10);
  padding-bottom: 0.6rem;
}
.tab-active{
  font-size: 0.76rem;
  font-weight: 700;
  color: #0d2b1e;
  border-bottom: 2px solid var(--jh-green-bright);
  padding-bottom: 0.3rem;
  margin-bottom: -0.6rem;
}
.tab-muted{
  font-size: 0.7rem;
  font-weight: 600;
  color: #4a6b5a;
}
.recent-item{
  display: flex;
  gap: 0.65rem;
  padding-top: 0.8rem;
}
.r-thumb{
  width: 56px;
  height: 50px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #e8f0ec;
}
.r-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.r-name{
  font-size: 0.76rem;
  font-weight: 700;
  color: #0d2b1e;
  margin: 0;
}
.r-loc{
  font-size: 0.66rem;
  color: #4a6b5a;
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin-top: 0.1rem;
}
.r-price{
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--jh-green);
  margin-top: 0.15rem;
}
.badge-sale-sm{
  background: #fdeaea;
  color: #c0392b;
  font-size: 0.52rem;
  font-weight: 700;
  padding: 0.12rem 0.4rem;
  border-radius: 4px;
  margin-right: 0.3rem;
}

.section-title{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  border-left: 4px solid var(--jh-green-bright);
  padding-left: 0.65rem;
  margin: 0;
}

/* ====================================================================
   Responsive tweaks
   ==================================================================== */

@media (max-width: 1199.98px){
  #carouselExampleCaptions h2{ font-size: 2.2rem; }
  #carouselExampleCaptions p{ font-size: 1rem; max-width: 450px; }
}

@media (max-width: 991.98px){
  :root{
    --image-height: 260px;
    --carousel-image-height: 380px;
    --section-padding: 3rem 0;
    --navbar-height: 72px;
  }
  body{ padding-top: calc(var(--navbar-height) + 10px); }
  #carouselExampleCaptions h2{ font-size: 2rem; }
  #carouselExampleCaptions p{ font-size: 0.95rem; max-width: 400px; }
  ul.list-unstyled li{ font-size: 0.95rem; padding: 0.9rem 1.1rem; min-height: 58px; }
  .navbar-brand{ font-size: 1.3rem; }
  .container,
  .container-fluid.px-3.px-md-4.py-4,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl{
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 767.98px){
  :root{
    --image-height: 220px;
    --carousel-image-height: 340px;
    --section-padding: 2.5rem 0;
    --navbar-height: 64px;
  }
  #carouselExampleCaptions .position-relative{ margin: 0; }
  ul.list-unstyled li{ padding: 0.8rem 1rem; min-height: 52px; font-size: 0.9rem; }
  .navbar-brand{ font-size: 1.2rem; }
  .btn{ padding: 0.5rem 1.2rem; font-size: 0.9rem; }
  #portfolioCarousel .card img{ height: var(--image-height); }
  #portfolioCarousel .card-body{ padding: 1.2rem; }
  #portfolioCarousel .card-body h6{ font-size: 1rem; }
  .media-block img,
  .media-block iframe{ height: var(--image-height) !important; }
  .feature-img{ height: var(--image-height); }
  .hero-cover-img{ height: var(--carousel-image-height) !important; }
  #carouselExampleCaptions .carousel-item{
    height: var(--carousel-image-height);
    min-height: var(--carousel-image-height);
  }
  #carouselExampleCaptions h2{ font-size: 1.6rem; }
  #carouselExampleCaptions p{ font-size: 0.9rem; max-width: 350px; padding: 0 0.5rem; }
  #carouselExampleCaptions .btn{ min-width: 160px; font-size: 0.85rem; padding: 0.5rem 1.5rem; }
  body{ padding-top: calc(var(--navbar-height) + 8px); }
  footer{ padding: 1.5rem 0; }
  .footer-brand{ font-size: 1.3rem; }
  footer ul.list-unstyled li{
    margin-bottom: 0.4rem;
  }
  .container,
  .container-fluid.px-3.px-md-4.py-4,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl{
    padding-left: 16px;
    padding-right: 16px;
  }
  .pc-media{
    height: 160px;
  }
  .partner-card{
    min-height: 190px;
    padding: 1rem;
  }
}

@media (max-width: 576px){
  :root{
    --radius-lg: 14px;
    --radius-md: 10px;
    --image-height: 200px;
    --carousel-image-height: 300px;
    --section-padding: 2rem 0;
    --navbar-height: 60px;
  }
  .container,
  .container-fluid.px-3.px-md-4.py-4,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl{
    padding-left: 12px;
    padding-right: 12px;
  }
  footer{ padding: 1rem 0; margin-top: 1.5rem; }
  #portfolioCarousel .card img{ height: var(--image-height); }
  #portfolioCarousel .card-body{ padding: 1rem; }
  #portfolioCarousel .card-body h6{ font-size: 0.95rem; }
  #portfolioCarousel .card-body p{ font-size: 0.85rem; }
  .media-block img,
  .media-block iframe{ height: var(--image-height) !important; }
  .feature-img{ height: var(--image-height); }
  ul.list-unstyled li{ min-height: 46px; font-size: 0.85rem; padding: 0.7rem 0.9rem; }
  ul.list-unstyled li svg{ width: 22px; height: 22px; }
  .navbar-brand{ font-size: 1.1rem; }
  body{ padding-top: calc(var(--navbar-height) + 6px); }
  #carouselExampleCaptions h2{ font-size: 1.4rem; }
  #carouselExampleCaptions p{ font-size: 0.85rem; max-width: 280px; }
  #carouselExampleCaptions .btn{ min-width: 140px; font-size: 0.8rem; padding: 0.4rem 1rem; }
  #carouselExampleCaptions .position-relative{ padding: 1.5rem 1rem; }
  #carouselExampleCaptions span{ font-size: 0.75rem; }
  .footer-brand{ font-size: 1.2rem; }
  footer .footer-address p,
  footer .footer-link{ font-size: 0.85rem; }
  footer ul.list-unstyled li{
    margin-bottom: 0.3rem;
  }
  footer h4{
    font-size: 0.75rem;
  }
  .pc-media{
    height: 140px;
  }
  .pc-body{
    padding: 0.7rem 0.8rem 0.85rem;
  }
  .pc-title{
    font-size: 0.82rem;
  }
  .partner-card{
    min-height: 170px;
    padding: 0.9rem;
  }
  .partner-title{
    font-size: 0.95rem;
  }
  .partner-size-val{
    font-size: 1.2rem;
  }
  .recent-box{
    padding: 0.75rem 0.8rem 0.9rem;
  }
  .recent-item{
    padding-top: 0.6rem;
  }
  .r-thumb{
    width: 48px;
    height: 44px;
  }
  .r-name{
    font-size: 0.7rem;
  }
}

/* ====================================================================
   Utility classes
   ==================================================================== */

.glass{
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}
.glass-strong{
  background: var(--glass-bg-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
.bg-transparent{ background: transparent !important; }
.glass-section{
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(52,211,153,0.10);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.rounded-all{ border-radius: var(--radius-md) !important; overflow: hidden; }
.rounded-all-lg{ border-radius: var(--radius-lg) !important; overflow: hidden; }

/* Equal height rows */
.row.g-4{
  display: flex;
  flex-wrap: wrap;
}
.row.g-4 > [class*="col-"]{
  display: flex;
  flex-direction: column;
}
.row.g-4 > [class*="col-"] > *{
  flex: 1;
}
.container .row.g-4 .col-lg-6{
  display: flex;
}
.container .row.g-4 .col-lg-6 .h-100{
  width: 100%;
}
.container .row.g-4 .col-lg-6 img{
  border-radius: var(--radius-md) !important;
  height: var(--carousel-image-height);
  object-fit: cover;
  width: 100%;
}

/* Section titles */
section .display-5{ font-size: 2.8rem; }
section .display-6{ font-size: 2.2rem; }
section .lead{ font-size: 1.15rem; max-width: 650px; margin-left: auto; margin-right: auto; }

@media (max-width: 767.98px){
  section .display-5{ font-size: 2.2rem; }
  section .display-6{ font-size: 1.8rem; }
  section .lead{ font-size: 1rem; }
}
@media (max-width: 576px){
  section .display-5{ font-size: 1.8rem; }
  section .display-6{ font-size: 1.5rem; }
  section .lead{ font-size: 0.9rem; }
}