
/* custom variables & overrides – only where bootstrap doesn't provide or brand identity is strong */
:root {
  --ensky-primary: #ef8025;
  --ensky-primary-light: #ff9c61;
  --ensky-bg-light: #fffdf9;
  --ensky-surface: #f6f1eb;
  --ensky-text-dark: #1d1a17;
  --ensky-text-muted: #5f5b53;
  --ensky-border: rgba(31, 27, 23, 0.08);
  --ensky-font: 'Outfit', 'Outfit Fallback', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --info-bar-height: 0px;
  --ensky-navbar-height: 76px;
  --ensky-cta-radius: 12px;
}

body.has-info-bar {
  --info-bar-height: 38px;
}
@media (min-width: 992px) {
  body.has-info-bar {
    --info-bar-height: 48px;
  }
}

body {
  font-family: var(--ensky-font);
  color: var(--ensky-text-dark);
}

main {
  /* Body padding already offsets the fixed header (info bar + navbar). */
  padding-top: 0;
}

h1, h2, h3, .display-5, .nav-logo {
  font-family: var(--ensky-font);
}

/* navbar: keep blur, but use bootstrap spacing + custom */
.navbar-blur {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--ensky-border);
  box-shadow: 0 25px 45px rgba(31, 27, 23, 0.08);
  padding: 12px 0;
  transition:
    background 0.35s ease,
    backdrop-filter 0.35s ease,
    -webkit-backdrop-filter 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

/* Home: no bar background until user scrolls (see .navbar-blur--solid) */
body.page-home .navbar-blur:not(.navbar-blur--solid) {
  --bs-navbar-color: #fff;
  --bs-navbar-hover-color: rgba(255, 255, 255, 0.92);
  --bs-navbar-active-color: #fff;
  --bs-navbar-disabled-color: rgba(255, 255, 255, 0.45);
  background: transparent !important;
  background-color: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom-color: transparent !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

/* Home transparent bar: white nav links (overrides .text-secondary) */
body.page-home .navbar-blur:not(.navbar-blur--solid) .navbar-nav .nav-link {
  color: #fff !important;
  transition: color 0.3s ease, opacity 0.3s ease;
}
body.page-home .navbar-blur:not(.navbar-blur--solid) .navbar-nav .nav-link:hover,
body.page-home .navbar-blur:not(.navbar-blur--solid) .navbar-nav .nav-link:focus {
  color: #fff !important;
  opacity: 0.92;
}
body.page-home .navbar-blur.navbar-blur--solid .navbar-nav .nav-link {
  transition: color 0.3s ease, opacity 0.3s ease;
}

/* Mobile toggler: light icon + border on transparent home nav */
body.page-home .navbar-blur:not(.navbar-blur--solid) .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.45);
}
body.page-home .navbar-blur:not(.navbar-blur--solid) .navbar-toggler-icon {
  filter: brightness(0) invert(1);
}

/*
 * Transparent nav was still reading as “white” because body padding left a band
 * of page background above the hero. Pull the hero up so the slide sits behind the nav.
 */
body.page-home {
  --home-nav-offset: var(--ensky-navbar-height);
}
body.page-home.has-info-bar {
  --home-nav-offset: calc(var(--info-bar-height) + var(--ensky-navbar-height));
}
body.page-home .hero {
  margin-top: calc(-1 * var(--home-nav-offset));
}

.nav-logo {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ensky-primary);
  letter-spacing: 0.5px;
  text-decoration: none;
}
.nav-logo span { color: var(--ensky-text-dark); }

.info-bar {
  background: #111827;
  color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  /* Must match --info-bar-height so the nav’s `top` sits flush (no body background strip). */
  min-height: var(--info-bar-height);
  box-sizing: border-box;
  display: flex;
  align-items: center;
}

.info-bar > .container-fluid {
  width: 100%;
}

.info-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0.25rem 0;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  width: 100%;
}

.info-bar__left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.info-bar__link {
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.info-bar__right {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.info-bar__social {
  color: #fff;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}

.info-bar__social:hover {
  background: #ef8025;
  color: #fff;
  border-color: transparent;
}

.info-bar__tagline {
  letter-spacing: 0.06em;
  font-size: 0.8rem;
}

body {
  /* Offset fixed navbar (and info bar when present). */
  padding-top: var(--ensky-navbar-height);
}

body.has-info-bar {
  padding-top: calc(var(--info-bar-height) + var(--ensky-navbar-height));
}

.navbar-blur {
  top: 0;
}

body.has-info-bar .navbar-blur {
  top: var(--info-bar-height);
  margin-top: 0;
  border-top: 0;
}

/* override bootstrap primary color to ensky orange */
.btn-primary {
  background-color: var(--ensky-primary) !important;
  border-color: var(--ensky-primary) !important;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.85rem;
  padding: 0.75rem 2rem;
  border-radius: var(--ensky-cta-radius);
}
.btn-primary:hover {
  background-color: #d96a07 !important;
  border-color: #d96a07 !important;
  transform: translateY(-2px);
  transition: 0.2s;
}
.btn-outline-ensky {
  border: 1px solid var(--ensky-border);
  color: var(--ensky-text-dark);
  background: transparent;
  padding: 0.75rem 2rem;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: var(--ensky-cta-radius);
  text-decoration: none;
}
.btn-outline-ensky:hover {
  border-color: var(--ensky-primary);
  background: rgba(239, 128, 37, 0.05);
}

/* section tags / small headings */
.section-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ensky-primary);
  margin-bottom: 0.5rem;
  display: block;
}

/* dropdown menu (bootstrap dropdown used later) */
.dropdown-menu-custom {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--ensky-border);
  border-radius: 6px;
  box-shadow: 0 15px 40px rgba(31, 27, 23, 0.15);
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.nav-item.dropdown {
  position: relative;
}
.nav-item.dropdown:hover .dropdown-menu-custom {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.mega-nav {
  position: static;
}

.mega-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  /* Pull up + top padding = invisible bridge so the pointer never crosses page content */
  padding: 14px 0 1.5rem;
  margin-top: -14px;
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transform: translateY(0);
  transition: opacity 0.2s ease;
  box-sizing: border-box;
}

.mega-nav:hover .mega-panel,
.mega-nav.mega-nav--open .mega-panel {
  opacity: 1;
  pointer-events: auto;
}

.mega-panel__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 1.25rem max(1rem, env(safe-area-inset-left)) 1.5rem max(1rem, env(safe-area-inset-right));
  border: 1px solid var(--ensky-border);
  border-radius: 0 0 20px 20px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  box-shadow: 0 28px 60px rgba(31, 27, 23, 0.12);
}

.mega-panel__col {
  display: grid;
  align-content: start;
  gap: 10px;
}

.mega-panel__eyebrow {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ensky-primary);
  font-weight: 700;
}

.mega-panel__col a {
  color: var(--ensky-text-dark);
  text-decoration: none;
  font-weight: 600;
}

.mega-panel__col p {
  margin: 0;
  color: var(--ensky-text-muted);
  line-height: 1.7;
}

.mega-panel__col--accent {
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(239,128,37,0.12), rgba(29,26,23,0.03));
}

.mega-panel__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: var(--ensky-cta-radius);
  background: var(--ensky-primary);
  color: #fff !important;
}

/* search controls styling */
.search-panel {
  border: 1px solid rgba(31, 27, 23, 0.08);
  min-height: 200px;
}
.search-mode .btn {
  border-radius: 0;
  border: 1px solid rgba(31, 27, 23, 0.12);
  letter-spacing: 0.5px;
  font-size: 0.8rem;
  text-transform: uppercase;
  padding: 0.65rem 1.5rem;
}
.search-mode .btn:first-child {
  border-radius: 2px 0 0 2px;
  border-right-width: 0;
}
.search-mode .btn:last-child {
  border-radius: 0 2px 2px 0;
}
.search-mode .btn:not(.active):hover {
  color: var(--ensky-primary);
  background: rgba(239, 128, 37, 0.08);
}
.search-panel .form-select,
.search-panel .form-control {
  border-radius: 16px;
  border-color: rgba(31, 27, 23, 0.12);
  border-width: 1px;
  min-height: 48px;
  background: #fff;
  box-shadow: none;
}
.filter-input-style {
  border-radius: 16px;
  border-color: rgba(31, 27, 23, 0.12);
  border-width: 1px;
  min-height: 48px;
  padding: 0.75rem 1rem;
  background: #fff;
  box-shadow: none;
  transition: box-shadow 0.2s ease;
}
.filter-input-style:focus {
  box-shadow: 0 0 0 0.2rem rgba(239, 128, 37, 0.25);
  outline: none;
}
.search-panel .property-purpose .btn {
  min-width: 110px;
  padding: 0.65rem 1.25rem;
}
.property-purpose p {
  max-width: 600px;
}
.price-range-inputs {
  gap: 0.5rem;
}

/* hero slider – we keep the structure but use bootstrap text utils */
.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
}
.slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  display: flex;
  align-items: flex-end;
}
.slide.active { opacity: 1; }
.slide-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1);
  transition: transform 8s ease-out;
}
.slide.active .slide-bg {
  transform: scale(1.12);
}
.slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.2) 45%, transparent 100%);
}
.slide-content {
  position: relative; z-index: 2;
  width: min(64vw, 520px);
  background: rgba(0,0,0,0.15);
  color: #fff;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(29,26,23,0.08);
  border-radius: 32px;
  padding: 2rem 2.5rem;
  box-shadow: 0 40px 70px rgba(31, 27, 23, 0.28);
  margin: 0 0 1rem 5rem;
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.8s 0.4s, transform 0.8s 0.4s;
  bottom: 120px;
}
.slide.active .slide-content {
  opacity: 1;
  transform: translateY(-10px);
}

/* Hero slide card: cap height so long titles don’t grow into the fixed nav / logo */
body.page-home .hero .slide-content {
  max-height: min(52vh, calc(100vh - var(--home-nav-offset) - 11rem));
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 0;
  gap: 0.35rem;
}
.hero-slide__meta {
  max-width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}
.hero-slide__badge {
  align-self: flex-start;
  max-width: 100%;
  white-space: normal;
  word-break: break-word;
  line-height: 1.3;
}
.hero-slide__title {
  font-size: clamp(1.25rem, 2.8vw + 0.65rem, 2.65rem);
  line-height: 1.18;
  margin: 0 0 0.35rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
  hyphens: auto;
}
.hero-slide__description {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.45;
  opacity: 0.95;
}
.hero .slide-content .d-flex.gap-3 {
  flex-shrink: 0;
}

.slider-dots { position: absolute; bottom: 2rem; right: 3rem; z-index: 10; display: flex; gap: 8px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.3); cursor: pointer; transition: 0.3s; }
.dot.active { background: var(--ensky-primary); width: 22px; border-radius: 3px; }
.slider-counter { position: absolute; bottom: 2rem; left: 3rem; z-index: 10; color: rgba(255,255,255,0.5); font-size: 0.8rem; letter-spacing: 1px; }
.slider-counter span { color: var(--ensky-primary); font-size: 1.2rem; font-weight: 700; }

/* hero filter bar — overlaps bottom of hero (sibling after <section class="hero">) */
.hero-filter {
  position: relative;
  z-index: 25;
  margin-top: -60px;
  padding: 0 1.5rem 1rem;
  display: flex;
  justify-content: center;
}
.hero-filter .container-xl {
  width: 100%;
  max-width: 1200px;
}
.hero-filter .filter-inner {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(31, 27, 23, 0.12);
  border-radius: 24px;
  padding: 1rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}
.hero-filter .filter-inner--compact {
  padding: 0.55rem 0.65rem;
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
}
/* One radius for search + filter button (match each other; 14px matches inner controls) */
.hero-filter__compact {
  --hero-filter-compact-radius: 14px;
}
.hero-filter__compact .input-group-text {
  border-radius: var(--hero-filter-compact-radius) 0 0 var(--hero-filter-compact-radius) !important;
}
.hero-filter__compact .input-group .form-control {
  border-radius: 0 var(--hero-filter-compact-radius) var(--hero-filter-compact-radius) 0 !important;
}
.hero-filter__drawer-btn {
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.72rem;
  padding-left: 0.85rem;
  padding-right: 0.85rem;
  border-radius: var(--hero-filter-compact-radius, 14px);
  white-space: nowrap;
  line-height: 1;
  overflow: visible;
  color: #fff !important;
  gap: 0.25rem;
}
.hero-filter__drawer-icon {
  font-size: 1.2rem;
  line-height: 1;
  color: #fff !important;
  display: inline-block;
  vertical-align: middle;
  -webkit-font-smoothing: antialiased;
}
.hero-filter__compact .input-group .form-control,
.hero-filter__compact .input-group-text {
  min-height: 46px;
}
@media (max-width: 575.98px) {
  .hero-filter__drawer-btn {
    padding-left: 0.65rem;
    padding-right: 0.65rem;
    min-width: 46px;
    min-height: 46px;
  }
}
/* Drawers above fixed mobile bottom bar (mobile-action-bar z-index 1200) */
@media (max-width: 991.98px) {
  .offcanvas.show {
    z-index: 1230;
  }
  .offcanvas-backdrop.show {
    z-index: 1220;
  }
}
.hero-filter-offcanvas .offcanvas-body {
  padding-bottom: 1.5rem;
}
.hero-filter-offcanvas .filter-button {
  margin-top: 0;
}
.section-gap {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
@media (max-width: 768px) {
    .hide-on-sm{
        display: none !important;
    }
    .mobile-hide {
      display: none !important;
    }
    .slide-content {
        margin: 0 0 1rem 1rem !important;
      }
    body.page-home .hero .slide-content {
      max-height: min(46vh, calc(100vh - var(--home-nav-offset) - 8.5rem));
      width: min(92vw, 520px);
    }
    .hero-slide__title {
      -webkit-line-clamp: 2;
      font-size: clamp(1.2rem, 4.2vw + 0.5rem, 2rem);
    }
      .hero {
        min-height: calc(75vh + 40px) !important;
      }
      .slider-dots {bottom: 90px; right: 3rem; }
    .slider-counter {bottom: 5rem; left: 3rem;}
  .section-gap {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .mega-panel {
    display: none;
  }
}
.project-section {
  padding: 0 1rem;
  background-color: rgba(239, 128, 37, 0.08);
}
.project-section .section-title {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.7rem;
  color: var(--ensky-primary);

}
.project-section h2 {
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.project-toggle {
  display: inline-flex;
  gap: 0.75rem;
  border-radius: 999px;
  background: rgba(31, 27, 23, 0.05);
  padding: 0.25rem;
}
.project-toggle button {
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 999px;
  background: transparent;
  color: var(--ensky-text-dark);
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: background 0.25s, color 0.25s;
}
.project-toggle button.active {
  background: var(--ensky-primary);
  color: #fff;
}
.initiative-hero {
  margin-top: 1rem;
}
.initiative-image {
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.2);
}
.initiative-photo {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}
.project-carousel {
  margin-top: 1.5rem;
}
.project-carousel.owl-carousel .owl-stage-outer {
  padding-bottom: 1.5rem;
}
.project-carousel.owl-carousel .owl-item {
  display: flex;
  justify-content: center;
}
.project-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 400px;
  background: #111;
  color: #fff;
  /* box-shadow: 0 20px 35px rgba(0, 0, 0, 0.35); */
  max-width: 350px;
  width: 100%;
}
.project-card .project-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.85);
  transition: transform 0.6s ease;
}
.project-card:hover .project-image {
  transform: scale(1.08);
}
.project-card .project-details {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.25rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.9) 95%);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.project-card .project-main h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  transition: transform 0.3s ease;
}
.project-card .project-main p {
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.8);
}
.project-card .project-extra {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.9);
  opacity: 0;
  transform: translateY(12px);
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, max-height 0.3s ease;
}
.project-card:hover .project-main h3 {
  transform: translateY(-12px);
}
.project-card:hover .project-extra {
  opacity: 1;
  transform: translateY(0);
  max-height: 60px;
}
.property-grid {
  margin-top: 1.5rem;
}
.property-grid:not(.owl-carousel) {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.property-carousel.owl-carousel .owl-stage-outer {
  padding-bottom: 1.5rem;
}
.property-carousel.owl-carousel .owl-item {
  display: flex;
  justify-content: center;
}
.property-card {
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0px 5px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  position: relative;
}
.property-card .project-image {
  height: 230px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.project-content {
  padding: 2.4rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.property-label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: #fff;
  color: var(--ensky-primary);
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 1.4px;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
.project-content h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
}
.property-location {
  margin: 0;
  color: var(--ensky-text-muted);
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}
.property-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--ensky-primary);
  margin: 0;
}
.property-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  color: var(--ensky-text-muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.property-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.property-meta i {
  font-size: 0.9rem;
  color: var(--ensky-primary);
}
.property-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.agent-info {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.agent-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 2px solid #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.agent-info span {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
}
.agent-info small {
  color: var(--ensky-text-muted);
  font-size: 0.75rem;
}
.share-icons {
  display: flex;
  gap: 0.5rem;
  color: var(--ensky-text-muted);
}
.share-icons i {
  font-size: 1rem;
  cursor: pointer;
  transition: color 0.2s ease;
}
.share-icons i:hover {
  color: var(--ensky-primary);
}
.filter-inner .form-label {
  font-size: 0.75rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--ensky-text-muted);
}
.filter-inner .form-control,
.filter-inner .form-select {
  border-radius: 16px;
  border-color: rgba(31, 27, 23, 0.12);
  min-height: 48px;
}
.filter-search .input-group-text {
  border-radius: 16px 0 0 16px;
  border-color: rgba(31, 27, 23, 0.12);
  background: rgba(239, 128, 37, 0.08);
  color: var(--ensky-primary);
  border-right-width: 0;
}
.filter-search .form-control {
  border-radius: 0 16px 16px 0;
  border-left-width: 0;
}
.filter-controls {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.65rem;
}
.filter-controls > * {
  min-width: 0;
}
@media (max-width: 768px) {
  .filter-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.filter-button {
  border-radius: var(--ensky-cta-radius);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 30px;
}
@media (max-width: 991.98px) {
  /* Pull well up onto the hero image (was -30px; most of the bar sat below the banner). */
  .hero-filter {
    margin-top: -5.5rem;
    padding: 0 1rem 0.65rem;
  }
  .hero {
    min-height: calc(100vh + 40px);
  }
}
@media (max-width: 575.98px) {
  .hero-filter {
    margin-top: -6.75rem;
    padding: 0 0.85rem 0.5rem;
  }
}

/* trust band icons */
.trust-icon {
  width: 46px; height: 46px;
  background: rgba(239, 128, 37, 0.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}

/* stats numbers */
.stat-num {
  font-family: var(--ensky-font);
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--ensky-primary);
  line-height: 1;
}

/* award cards */
.award-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 4px;
  padding: 1.8rem 1.5rem;
  text-align: center;
  transition: 0.2s;
  min-width: 170px;
}
.award-card:hover { border-color: var(--ensky-primary); transform: translateY(-4px); }

/* phone mock (still custom but minimal) */
.phone-mockup {
  width: 260px; height: 520px;
  background: linear-gradient(160deg, #1a1a1a, #111);
  border: 2px solid rgba(239,128,37,0.3);
  border-radius: 38px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6);
  overflow: hidden;
}
.phone-screen {
  background: #1c1408;
  margin: 8px;
  border-radius: 32px;
  height: calc(100% - 16px);
  padding: 1.5rem 1rem;
}

/* footer custom bg */
.footer-custom {
  background: #000;
  border-top: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.88);
}

.footer-custom a {
  color: rgba(255,255,255,0.78);
  text-decoration: none;
}
.footer-custom a:hover {
  color: #fff;
  text-decoration: none;
}
.footer-custom .text-secondary {
  color: rgba(255,255,255,0.68) !important;
}

/* fade-up animation (keep for scroll) */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s, transform 0.7s;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

.testimonials-section {
  position: relative;
  background: #fff;
}
.testimonials-section .owl-carousel {
  position: relative;
  padding: 0 3rem 1rem;
  overflow: visible;
}
@media (max-width: 575.98px) {
  .testimonials-section .owl-carousel {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}
.testimonials-section .owl-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  height: 44px;
  margin: 0;
  pointer-events: none;
  z-index: 4;
}
.testimonials-section .owl-nav button.owl-prev,
.testimonials-section .owl-nav button.owl-next {
  pointer-events: auto;
  position: absolute !important;
  top: 0 !important;
  left: auto !important;
  right: auto !important;
  width: 44px;
  height: 44px;
  margin: 0 !important;
  border-radius: 50%;
  border: 1px solid var(--ensky-border);
  background: #fff !important;
  color: var(--ensky-text-dark) !important;
  box-shadow: 0 8px 24px rgba(31, 27, 23, 0.1);
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.testimonials-section .owl-nav button.owl-prev {
  left: 0 !important;
}
.testimonials-section .owl-nav button.owl-next {
  right: 0 !important;
}
.testimonials-section .owl-nav button.owl-prev:hover,
.testimonials-section .owl-nav button.owl-next:hover {
  background: var(--ensky-primary) !important;
  color: #fff !important;
  border-color: var(--ensky-primary) !important;
  transform: scale(1.05);
}
.testimonials-section .owl-nav button.owl-prev:focus-visible,
.testimonials-section .owl-nav button.owl-next:focus-visible {
  outline: 2px solid var(--ensky-primary);
  outline-offset: 2px;
}
.testimonials-section .owl-nav .testimonials-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  line-height: 1;
}
.testimonials-section .owl-nav button.owl-prev.disabled,
.testimonials-section .owl-nav button.owl-next.disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none !important;
}
.testimonials-section .owl-carousel .owl-item {
  box-shadow: none;
}
.testimonial-card {
  position: relative;
  border-radius: 24px;
  padding: 2.2rem;
  background: #fff;
  border: 1px solid var(--ensky-border);
  min-height: 300px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: #1d1a17;
  overflow: hidden;
  box-shadow: none;
}
.testimonial-card .rating {
  font-size: 0;
  gap: 0.35rem;
  display: flex;
}
.testimonial-card .rating i {
  font-size: 1.05rem;
  color: #fbbc05;
  text-shadow: none;
}
.testimonial-card small,
.testimonial-card span {
  font-size: 0.85rem;
  color: #555;
}
.testimonial-card p {
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
}
.testimonial-card__meta {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.testimonial-card__meta .badge {
  letter-spacing: 0.65px;
  font-size: 0.7rem;
  font-weight: 600;
}
.testimonials-section .owl-dots {
  display: none !important;
}

@media (max-width: 767.98px) {
  .testimonials-section .owl-nav {
    display: none !important;
  }

  .testimonials-section .owl-dots {
    display: flex !important;
    justify-content: center;
    gap: 8px;
    margin-top: 1rem;
  }

  .testimonials-section .owl-dots .owl-dot span {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(31, 27, 23, 0.22);
    display: block;
    transition: background 0.2s ease, width 0.2s ease;
  }

  .testimonials-section .owl-dots .owl-dot.active span {
    background: var(--ensky-primary);
    width: 22px;
  }

  .testimonials-section__inner.p-5 {
    padding: 1.5rem !important;
  }

  .testimonial-card {
    padding: 1.4rem;
    min-height: auto;
  }

  .testimonial-card p {
    font-size: 1rem;
  }

  .testimonial-card__meta {
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0.5rem 0.75rem;
  }
}

/* Instagram feed (home) */
.instagram-feed-section {
  background: #fff;
}
.instagram-feed-item {
  display: block;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1;
  border: 1px solid var(--ensky-border);
  background: var(--ensky-surface);
}
.instagram-feed-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.instagram-feed-item:hover img {
  transform: scale(1.05);
}
.instagram-feed-empty {
  background: rgba(246, 241, 235, 0.5);
  border-color: var(--ensky-border) !important;
}

.hero .slide-content {
  padding: 1.5rem 2rem;
}
@media (max-width: 768px) {
  .hero .slide-content {
    padding: 1.5rem;
  }
  .filter-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 576px) {
  .filter-controls {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
  .filter-button {
    margin-top: 0.5rem;
  }
  .hero-filter .filter-inner {
    padding: 0.9rem;
  }
}

.mobile-action-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: none;
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid rgba(31, 27, 23, 0.12);
  padding: 0.65rem;
  gap: 0.5rem;
  z-index: 1200;
  box-shadow: 0 -12px 30px rgba(0, 0, 0, 0.12);
}
.mobile-action-bar .action-btn {
  flex: 1;
  border: none;
  border-radius: var(--ensky-cta-radius);
  padding: 0.85rem 0;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  text-decoration: none;
}
.mobile-action-bar .action-btn.call {
  background: #111;
  color: #fff;
}
.mobile-action-bar .action-btn.whatsapp {
  background: #25d366;
  color: #0b8458;
}
@media (max-width: 991px) {
  .mobile-action-bar {
    display: flex;
  }
  body {
    padding-bottom: 90px;
  }
}

.inquiry-hero-visual {
  position: relative;
}

@media (max-width: 767px) {
  .inquiry-hero-visual {
    display: none !important;
  }
}

.sitemap-sale-block {
  background: #f4f4f4;
  padding: 2rem;
  border-radius: 6px;
  border: 1px solid #e5e5e5;
}
.sitemap-sale-header {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.25rem;
}
.sitemap-sale-title {
  font-size: 2rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 0;
}
.sitemap-sale-toggle {
  display: inline-flex;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
}
.sitemap-sale-toggle button {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  color: #5b5b5b;
}
.sitemap-sale-toggle button.is-active {
  background: #111;
  color: #fff;
}
.sitemap-sale-panel[hidden] { display: none; }
.sitemap-sale-heading {
  color: #7c7c7c;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  margin-bottom: 0.9rem;
}
.sitemap-sale-list {
  margin: 0;
  padding: 0;
}
.sitemap-sale-list li {
  margin-bottom: 0.45rem;
  line-height: 1.45;
}
.sitemap-sale-list a {
  color: var(--ensky-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.96rem;
}
.sitemap-sale-list a:hover {
  color: #c96a1d;
  text-decoration: underline;
}

/* Projects portfolio: developer sidebar + project grid */
.projects-portfolio-page {
  background: var(--ensky-bg-light);
  min-height: 55vh;
}
.projects-portfolio-page .container-xl {
  max-width: 1200px;
}
.projects-portfolio-columns {
  --portfolio-gutter: 1.75rem;
}
@media (min-width: 1200px) {
  .projects-portfolio-columns {
    --portfolio-gutter: 2.25rem;
  }
}
.projects-portfolio-sidebar {
  position: sticky;
  top: calc(var(--info-bar-height) + var(--ensky-navbar-height) + 1rem);
  padding-right: 0.25rem;
}
.projects-portfolio-sidebar--panel {
  background: #fff;
  border: 1px solid var(--ensky-border);
  border-radius: 1.25rem;
  padding: 1rem 1rem 1.15rem;
  box-shadow: 0 8px 28px rgba(31, 27, 23, 0.06);
}
.projects-portfolio-sidebar__title {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  margin-bottom: 0;
  font-weight: 700;
  min-height: 3.25rem;
  display: flex;
  align-items: flex-end;
  padding-bottom: 0.25rem;
}
.projects-portfolio-main__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  min-height: 3.25rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--ensky-border);
}
.projects-portfolio-main__title {
  font-weight: 700;
  color: var(--ensky-text-dark);
  line-height: 1.25;
}
.projects-portfolio-main__count {
  font-size: 0.875rem;
  white-space: nowrap;
}
.projects-portfolio-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.projects-portfolio-nav__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  border-radius: 12px;
  text-decoration: none;
  color: var(--ensky-text-dark);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.3;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  border: 1px solid transparent;
  min-height: 3.25rem;
}
.projects-portfolio-nav__link:hover {
  background: rgba(239, 128, 37, 0.08);
  color: var(--ensky-primary);
}
.projects-portfolio-nav__link.is-active {
  background: rgba(239, 128, 37, 0.12);
  color: var(--ensky-primary);
  border-color: rgba(239, 128, 37, 0.28);
}
.projects-portfolio-nav__logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  background-color: rgba(31, 27, 23, 0.06);
  flex-shrink: 0;
}
.projects-portfolio-nav__logo--placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ensky-text-muted);
  font-size: 1.1rem;
}
.projects-portfolio-nav__name {
  flex: 1;
  min-width: 0;
}
.projects-portfolio-empty {
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--ensky-border) !important;
}
.projects-portfolio-grid {
  margin-top: 0 !important;
}
/* Match home "Featured Projects" tile size — not a full-width mega card */
.project-card--portfolio {
  max-width: 350px;
  width: 100%;
  min-height: 400px;
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.12);
  border-radius: 20px;
}
@media (min-width: 992px) {
  .projects-portfolio-sidebar__title {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--ensky-border);
    padding-bottom: 0.75rem;
    min-height: 3.5rem;
  }
  .projects-portfolio-main__header {
    min-height: 3.5rem;
    margin-bottom: 1.5rem;
  }
}
@media (max-width: 991px) {
  .projects-portfolio-sidebar {
    position: static;
    padding-right: 0;
    margin-bottom: 0.5rem;
  }
  .projects-portfolio-sidebar__title {
    min-height: auto;
    padding-bottom: 0;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--ensky-border);
    padding-bottom: 0.75rem;
  }
  .projects-portfolio-main__header {
    min-height: auto;
    margin-bottom: 1.25rem;
  }

  /* Mobile/tablet: make Developers list swipeable horizontally */
  .projects-portfolio-nav {
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 0.75rem;
    padding: 0.25rem 0.25rem 0.5rem;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .projects-portfolio-nav::-webkit-scrollbar {
    display: none;
  }

  .projects-portfolio-nav__link {
    flex: 0 0 auto;
    min-width: 240px;
    scroll-snap-align: start;
    background: #fff;
  }
}
