/* ==========================
   GLOBAL STYLES & VARIABLES
   ========================== */

:root {
  --color-matte-black: #141414;
  --color-beige: #E7DFC9;
  --color-gold: #C8A23A;
  --header-height: 82px;
  --color-bg: var(--color-beige);
  --color-text: #1A1A1A;
  --color-muted: rgba(26, 26, 26, 0.8);
  /* 80% opacity for subtitles/muted text */
  --shadow-soft: 0 18px 45px rgba(20, 20, 20, 0.15);
  --radius-lg: 18px;
  --radius-md: 14px;
  --color-success: #1e8449;
  --color-error: #c0392b;
  --transition-base: all 0.3s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  font-weight: 500;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", "Times New Roman", serif;
  color: var(--color-matte-black);
  font-weight: 700;
}

p {
  margin-bottom: 1rem;
  color: var(--color-muted);
}

a {
  color: var(--color-matte-black);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-gold);
}

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

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

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  color: var(--color-gold);
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* ==========================
   NAVBAR & HEADER
   ========================== */

.main-header {
  position: relative;
  z-index: 1000;
}

.navbar {
  padding: 0.8rem 0;
  transition: background-color 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease, padding 0.25s ease;
}

.glass-nav {
  background: rgba(20, 20, 20, 0.85);
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.navbar-scrolled {
  background-color: var(--color-matte-black);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  padding: 0.5rem 0;
}

.navbar-scrolled .logo {
  height: 50px;
}

.logo {
  height: 64px;
  /* Slightly larger for better readability of subtitle */
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease, height 0.3s ease;
}

.logo:hover {
  transform: scale(1.02);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.brand-sub {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.7);
}

.nav-link {
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  /* Match the padding-left of .nav-link */
  right: 0.9rem;
  /* Match the padding-right of .nav-link */
  bottom: 0.2rem;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold), #f3d586);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.btn-gold {
  background: linear-gradient(135deg, var(--color-gold), #e7c55d);
  color: #231b08;
  border: none;
  border-radius: 999px;
  padding: 0.55rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 10px 25px rgba(200, 162, 58, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 35px rgba(200, 162, 58, 0.6);
  color: #231b08;
}

.btn-navy {
  background-color: var(--color-matte-black);
  color: #fff;
  border-radius: 999px;
  padding: 0.7rem 1.7rem;
  border: 1px solid transparent;
  font-size: 0.92rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: var(--transition-base);
}

.btn-navy:hover {
  background-color: #15284a;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.btn-outline-navy {
  background: transparent;
  color: var(--color-matte-black);
  border-radius: 999px;
  padding: 0.6rem 1.5rem;
  border: 1px solid rgba(20, 20, 20, 0.3);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  transition: var(--transition-base);
}

.btn-outline-navy:hover {
  background-color: var(--color-matte-black);
  color: #fff;
  border-color: var(--color-matte-black);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

/* ==========================
   HERO SECTION
   ========================== */

.hero-section {
  min-height: 100svh;
  position: relative;
  color: #fff;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow-x: hidden;
  overflow-y: visible;
  padding-top: 0;
  padding-bottom: 0;
}

#heroCarousel {
  z-index: 2;
}

#heroCarousel .carousel-item {
  position: relative;
}

#heroCarousel .carousel-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(200, 162, 58, 0.12), transparent 50%),
    linear-gradient(175deg, rgba(5, 5, 5, 0.48) 0%, rgba(10, 10, 10, 0.7) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-carousel-control {
  width: 10%;
  opacity: 0.8;
  transition: opacity 0.2s ease;
  z-index: 2;
}

.hero-carousel-control:hover {
  opacity: 1;
}

.hero-carousel-indicators {
  bottom: 24px;
  /* Default desktop bottom */
  gap: 0.5rem;
  z-index: 10;
  /* High z-index to stay above content */
}

.hero-carousel-indicators [data-bs-target] {
  -webkit-appearance: none;
  appearance: none;
  width: 8px;
  height: 8px;
  border: 0;
  opacity: 1;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.65);
  box-shadow: none;
}

.hero-carousel-indicators .active {
  background-color: var(--color-gold);
}

.hero-caption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  /* Changed from flex-start to center for better vertical balance */
  text-align: left;
  padding-top: var(--header-height);
  padding-bottom: 60px;
  /* Reserve space for indicators */
  z-index: 2;
}

.hero-caption .hero-content {
  max-width: 640px;
  position: relative;
  z-index: 2;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.hero-caption>.container {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  justify-content: center;
}

.hero-caption-ks {
  padding-top: 0;
}

/* Logo watermark */
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../logo.svg");
  background-repeat: no-repeat;
  background-position: right 6% center;
  background-size: min(52vw, 560px);
  opacity: 0.06;
  mix-blend-mode: soft-light;
  pointer-events: none;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(200, 162, 58, 0.1), transparent 50%),
    linear-gradient(175deg, rgba(5, 5, 5, 0.7) 0%, rgba(10, 10, 10, 0.85) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Floating particles */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(200, 162, 58, 0.35);
  border-radius: 50%;
  animation: particleFloat 12s infinite ease-in-out;
}

.particle:nth-child(1) {
  left: 10%;
  top: 20%;
  animation-delay: 0s;
  animation-duration: 14s;
}

.particle:nth-child(2) {
  left: 30%;
  top: 60%;
  animation-delay: 2s;
  animation-duration: 10s;
  width: 3px;
  height: 3px;
}

.particle:nth-child(3) {
  left: 65%;
  top: 30%;
  animation-delay: 4s;
  animation-duration: 16s;
  width: 5px;
  height: 5px;
}

.particle:nth-child(4) {
  left: 80%;
  top: 70%;
  animation-delay: 1s;
  animation-duration: 11s;
}

.particle:nth-child(5) {
  left: 50%;
  top: 85%;
  animation-delay: 3s;
  animation-duration: 13s;
  width: 3px;
  height: 3px;
}

@keyframes particleFloat {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.3;
  }

  25% {
    transform: translate(30px, -40px) scale(1.3);
    opacity: 0.6;
  }

  50% {
    transform: translate(-20px, -70px) scale(1);
    opacity: 0.4;
  }

  75% {
    transform: translate(40px, -30px) scale(1.2);
    opacity: 0.5;
  }
}

/* Hero Content */
.hero-content {
  max-width: 620px;
  position: relative;
  z-index: 2;
  padding-top: 0;
  padding-bottom: 0;
}

/* Pre-launch badge */
.hero-prelaunch-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: rgba(200, 162, 58, 0.12);
  border: 1px solid rgba(200, 162, 58, 0.35);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #f6d982;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #25D366;
  border-radius: 50%;
  display: inline-block;
  animation: pulseDot 1.5s infinite ease-in-out;
  box-shadow: 0 0 8px rgba(37, 211, 102, 0.6);
}

@keyframes pulseDot {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.4);
    opacity: 0.5;
  }
}

/* Staggered hero reveal */
.hero-content .hero-prelaunch-badge {
  transition-delay: 0.05s;
}

.hero-content .hero-kicker {
  transition-delay: 0.15s;
}

.hero-content .hero-title {
  transition-delay: 0.3s;
}

.hero-content .hero-subtitle {
  transition-delay: 0.45s;
}

.hero-content .hero-price-ribbon {
  transition-delay: 0.55s;
}

.hero-content .hero-actions {
  transition-delay: 0.65s;
}

.hero-side-card {
  transition-delay: 0.4s;
}

.hero-kicker {
  letter-spacing: 0.22em;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: rgba(246, 217, 130, 0.85);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.hero-title {
  font-size: clamp(2.8rem, 4.5vw, 4.4rem);
  margin-bottom: 1rem;
  color: #ffffff;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  letter-spacing: -0.01em;
  line-height: 1.05;
  transform: translateY(-10px);
  /* Nudge up slightly to avoid image text overlap on desktop */
}

.hero-title-accent {
  background: linear-gradient(135deg, #f6d982, #C8A23A, #f6d982);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: goldShimmer 4s ease-in-out infinite;
}

.hero-subtitle {
  font-size: 1.05rem;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

/* Price Ribbon */
.hero-price-ribbon {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 0.9rem 1.3rem;
  margin-bottom: 1.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  max-width: 520px;
}

.price-main {
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
  white-space: nowrap;
}

.price-currency {
  font-size: 1.3rem;
  font-weight: 700;
  color: #f6d982;
  font-family: "Playfair Display", serif;
}

.price-amount {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  font-family: "Playfair Display", serif;
  letter-spacing: -0.02em;
}

.price-unit {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  margin-left: 0.15rem;
}

.price-divider {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, transparent, rgba(200, 162, 58, 0.5), transparent);
  flex-shrink: 0;
}

.price-returns {
  display: flex;
  flex-direction: column;
}

.returns-value {
  font-size: 1.3rem;
  font-weight: 700;
  color: #25D366;
  font-family: "Playfair Display", serif;
}

.returns-label {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.02em;
  line-height: 1.3;
}

/* Hero Actions */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-actions .btn {
  margin-bottom: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  line-height: 1.2;
}

.hero-actions .btn i {
  font-size: 0.85em;
}

/* ========= Side Card (Glassmorphic) ========= */

.hero-side-card {
  position: relative;
  z-index: 2;
  padding: 1.3rem 1.3rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(15, 15, 15, 0.65), rgba(25, 25, 25, 0.72));
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  margin-top: 1.5rem;
}

.side-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.side-card-title {
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 0;
}

.side-card-badge {
  font-size: 0.6rem;
  padding: 0.2rem 0.7rem;
  background: linear-gradient(135deg, var(--color-gold), #e7c55d);
  color: #1a1a1a;
  border-radius: 999px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-project-lists {
  display: grid;
  gap: 1rem;
  margin-top: 0.8rem;
}

.project-list-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.project-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.3rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.9);
}

.project-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.project-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-gold);
  box-shadow: 0 0 6px rgba(200, 162, 58, 0.6);
  flex-shrink: 0;
}

/* Stats Grid (with icons) */
.project-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 0.6rem;
  margin: 0.7rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.7rem 0;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stat-icon {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: rgba(200, 162, 58, 0.1);
  border: 1px solid rgba(200, 162, 58, 0.2);
  color: #f6d982;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.stat-item .stat-value {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  font-family: "Playfair Display", serif;
  display: block;
  line-height: 1.15;
}

.stat-item .stat-label {
  font-size: 0.58rem;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
}

/* Amenities Row */
.side-card-amenities-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.5rem 0;
}

.amenity-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.62rem;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
}

.amenity-chip:hover {
  background: rgba(200, 162, 58, 0.12);
  border-color: rgba(200, 162, 58, 0.3);
  color: #f6d982;
}

.amenity-chip i {
  font-size: 0.6rem;
  color: rgba(200, 162, 58, 0.7);
}

/* Status Tags */
.status-badge-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.4rem 0 0;
}

.hero-status-tag {
  font-size: 0.58rem;
  padding: 0.22rem 0.55rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 5px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
  transition: all 0.2s ease;
}

.hero-status-tag.active {
  background: rgba(37, 211, 102, 0.1);
  border-color: rgba(37, 211, 102, 0.35);
  color: #5ad69f;
}

.hero-status-tag i {
  font-size: 0.55rem;
}

/* Mini Map */
.hero-map-mini {
  position: relative;
  margin-top: 0.8rem;
  border-radius: 10px;
  overflow: hidden;
  height: 120px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.map-overlay-link {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(20, 20, 20, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #f6d982;
  font-size: 0.65rem;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  border: 1px solid rgba(200, 162, 58, 0.25);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: all 0.2s ease;
  z-index: 3;
}

.map-overlay-link:hover {
  background: rgba(200, 162, 58, 0.2);
  color: #fff;
}

/* ========= Bottom Stats Bar ========= */
.hero-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 1.2rem;
  margin-bottom: 1.2rem;
  padding: 0.85rem 1.5rem;
  background: linear-gradient(135deg, rgba(20, 20, 20, 0.6), rgba(30, 30, 30, 0.65));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.hero-bottom-bar-norway {
  position: relative;
  width: min(100%, 1040px);
  margin-top: 2rem;
  /* Increase gap between content and bar */
  z-index: 3;
}

.bottom-stat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
}

.bottom-stat i {
  color: #f6d982;
  font-size: 0.9rem;
}

.bottom-divider {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

/* Legacy compatibility */
.side-card-text {
  font-size: 0.9rem;
  color: rgba(242, 244, 248, 0.8);
  margin-bottom: 0.8rem;
}

.side-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
}

.side-card-list li {
  display: flex;
  align-items: center;
  margin-bottom: 0.35rem;
  color: rgba(242, 244, 248, 0.9);
}

.side-card-amenities {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
}

.side-card-amenities strong {
  color: #fff;
  display: block;
  margin-bottom: 0.3rem;
  font-family: inherit;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero brand (relocated to bottom or hidden on home) */
.hero-brand {
  display: inline-flex;
  align-items: center;
  margin-bottom: 2rem;
}

.hero-brand-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35));
}

.hero-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.hero-brand-name {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.95);
  text-transform: uppercase;
}

.hero-brand-sub {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.72);
  text-transform: uppercase;
}


/* ==========================
   HIGHLIGHTS STRIP (below hero)
   ========================== */

.highlights-strip {
  position: relative;
  z-index: 10;
  margin-top: -3.5rem;
  padding-bottom: 0;
}

.highlights-card {
  background: linear-gradient(145deg, #1a1a1a, #242424);
  border-radius: 18px;
  padding: 1.5rem 2rem;
  border: 1px solid rgba(200, 162, 58, 0.15);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.highlights-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.highlights-title {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 0;
  font-family: "Playfair Display", serif;
  letter-spacing: 0.02em;
}

.highlights-body {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Stats row */
.highlights-stats {
  display: flex;
  gap: 1.8rem;
  flex-shrink: 0;
}

.hl-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 70px;
}

.hl-stat-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(200, 162, 58, 0.1);
  border: 1px solid rgba(200, 162, 58, 0.2);
  color: #f6d982;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
}

.hl-stat-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  font-family: "Playfair Display", serif;
  line-height: 1.2;
}

.hl-stat-label {
  font-size: 0.58rem;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Vertical divider */
.hl-divider {
  width: 1px;
  height: 50px;
  background: linear-gradient(180deg, transparent, rgba(200, 162, 58, 0.25), transparent);
  flex-shrink: 0;
}

/* Amenities */
.highlights-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  flex: 1;
  justify-content: center;
}

/* Status */
.highlights-status {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 991.98px) {
  .highlights-strip {
    margin-top: -2rem;
  }

  .highlights-card {
    padding: 1.2rem 1.5rem;
  }

  .highlights-body {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .highlights-stats {
    justify-content: space-between;
  }

  .hl-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(200, 162, 58, 0.2), transparent);
  }

  .highlights-amenities {
    justify-content: flex-start;
  }

  .highlights-status {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 767.98px) {
  .highlights-strip {
    margin-top: -1.5rem;
  }

  .highlights-card {
    padding: 1rem 1rem;
    border-radius: 14px;
  }

  .highlights-stats {
    gap: 0.8rem;
  }

  .hl-stat {
    min-width: auto;
  }

  .hl-stat-icon {
    width: 30px;
    height: 30px;
    font-size: 0.75rem;
  }

  .hl-stat-value {
    font-size: 0.8rem;
  }
}


.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
  color: #fff;
  opacity: 1;
}

.scroll-indicator i {
  font-size: 0.9rem;
  animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(6px);
  }

  60% {
    transform: translateY(3px);
  }
}

/* (removed duplicate bounce keyframe — scrollBounce above covers it) */

/* ==========================
   ABOUT PREVIEW
   ========================== */

.about-preview {
  background-color: #ffffff;
}

.image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: radial-gradient(circle at top left, rgba(200, 162, 58, 0.1), transparent 60%),
    #e9edf4;
  min-height: 260px;
  box-shadow: 0 26px 60px rgba(20, 20, 20, 0.15);
}

.placeholder-image {
  width: 100%;
  height: 100%;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-matte-black);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.image-overlay-card {
  position: absolute;
  right: 18px;
  top: 18px;
  background-color: rgba(20, 20, 20, 0.95);
  border-radius: 14px;
  padding: 0.9rem 1.1rem;
  color: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}

.image-overlay-card .label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.7);
}

.image-overlay-card .value {
  font-size: 1.4rem;
  font-weight: 600;
  display: block;
}

.image-overlay-card .caption {
  font-size: 0.72rem;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
}

.content-block {
  max-width: 640px;
}

.small-highlight {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  color: var(--color-muted);
}

.small-highlight .dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-gold);
  border-radius: 999px;
  margin-right: 0.4rem;
}

/* ==========================
   STATS SECTION
   ========================== */

.stats-section {
  background: radial-gradient(circle at top left, rgba(200, 162, 58, 0.32), transparent 55%),
    linear-gradient(135deg, #000000, #141414);
  color: #fff;
}

.text-gold {
  color: #f6d982 !important;
}

.stat-card {
  background: linear-gradient(145deg, rgba(30, 30, 30, 0.9), rgba(20, 20, 20, 0.92));
  border-radius: var(--radius-md);
  padding: 1.8rem 1rem;
  box-shadow: 0 19px 50px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.stat-number {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
  background: linear-gradient(135deg, #f6d982, #C8A23A, #f6d982);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: goldShimmer 3s ease-in-out infinite;
}

@keyframes goldShimmer {
  0% {
    background-position: 0% center;
  }

  50% {
    background-position: 100% center;
  }

  100% {
    background-position: 0% center;
  }
}

.stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.75);
}

/* ==========================
   FEATURED PROJECTS
   ========================== */

.featured-projects {
  background-color: var(--color-bg);
}

.project-card {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(20, 20, 20, 0.08);
  border: 1px solid rgba(20, 20, 20, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  height: 100%;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 80px rgba(20, 20, 20, 0.2);
  border-color: rgba(200, 162, 58, 0.5);
}

.project-image {
  position: relative;
  overflow: hidden;
  height: 180px;
}

.project-image img {
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.project-card:hover .project-image img {
  transform: scale(1.08);
}

.placeholder-project-image {
  background: linear-gradient(135deg, #ccd3e3, #f3f4f7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-matte-black);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.project-card:hover .placeholder-project-image {
  transform: scale(1.04);
  transition: transform 0.4s ease;
}

.project-body {
  padding: 1.4rem 1.5rem 1.5rem;
  position: relative;
  flex: 1;
}

.availability-badge {
  position: absolute;
  top: -14px;
  right: 16px;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

.availability-badge.available {
  background: linear-gradient(135deg, #1fa37c, #5ad69f);
}

.availability-badge.limited {
  background: linear-gradient(135deg, #f39c12, #f6c667);
}

.availability-badge.upcoming {
  background: linear-gradient(135deg, var(--color-matte-black), #333333);
}

.project-title {
  font-size: 1.08rem;
  margin-bottom: 0.3rem;
}

.project-location {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: 0.7rem;
}

.project-description {
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
}

.project-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-matte-black);
  margin-top: 0.8rem;
}

.project-link i {
  transition: transform 0.25s ease;
}

.project-card:hover .project-link i {
  transform: translateX(4px);
}

/* ==========================
   CTA SECTION
   ========================== */

.cta-section {
  background:
    radial-gradient(circle at 20% 50%, rgba(200, 162, 58, 0.18), transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(200, 162, 58, 0.12), transparent 50%),
    linear-gradient(135deg, #E7DFC9, #D9CFB3);
  padding: 70px 0;
  border-top: 1px solid rgba(20, 20, 20, 0.05);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(135deg,
      rgba(200, 162, 58, 0.04) 0px,
      rgba(200, 162, 58, 0.04) 1px,
      transparent 1px,
      transparent 16px);
  pointer-events: none;
}

.cta-title {
  font-size: 1.7rem;
  margin-bottom: 0.5rem;
}

.cta-text {
  margin-bottom: 0;
  color: #5f4b1d;
}

/* ==========================
   PAGE HEADERS
   ========================== */

.page-header-banner {
  min-height: 260px;
  position: relative;
  background-size: cover;
  background-position: center;
  color: #fff;
  display: flex;
}

.about-banner {
  background-image: linear-gradient(120deg, #000000, #141414);
}

.projects-banner {
  background-image: linear-gradient(120deg, #1A1A1A, #2D2D2D);
}

.contact-banner {
  background-image: linear-gradient(120deg, #0A0A0A, #1F1F1F);
}

.overlay-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(200, 162, 58, 0.35), transparent 55%),
    linear-gradient(135deg, rgba(4, 8, 17, 0.95), rgba(4, 8, 17, 0.96));
}

.page-title {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 2.1rem;
  margin-bottom: 0.4rem;
  margin-top: 4.8rem;
}

.page-subtitle {
  position: relative;
  z-index: 1;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.82);
}

/* ==========================
   ABOUT PAGE ELEMENTS
   ========================== */

.director-card {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.5rem;
  background-color: #f5f6fa;
  border-radius: var(--radius-md);
  border: 1px solid rgba(20, 20, 20, 0.06);
  margin-bottom: 2rem;
}

.director-photo {
  width: 140px;
  height: 140px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border: 4px solid #fff;
}

.director-info {
  flex: 1;
}

.director-name {
  font-size: 1.15rem;
  margin-bottom: 0.1rem;
  color: var(--color-matte-black);
}

.director-designation {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
  display: block;
}

.director-description {
  font-size: 0.92rem;
  color: var(--color-muted);
  line-height: 1.5;
}

.director-meta {
  font-size: 0.82rem;
  color: var(--color-matte-black);
  font-weight: 600;
  margin-top: 0.6rem;
  display: block;
  font-style: italic;
}

.info-tile {
  padding: 1rem 1.1rem;
  background-color: #f8f9fc;
  border-radius: 12px;
  border: 1px solid rgba(20, 20, 20, 0.06);
}

.info-tile .label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-muted);
}

.info-tile .value {
  font-size: 0.92rem;
  margin-bottom: 0;
}

.sidebar-card {
  position: sticky;
  top: 110px;
  background-color: var(--color-matte-black);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.7rem;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.4);
}

.sidebar-title {
  color: #f7f8fb;
  font-size: 1.05rem;
  margin-bottom: 0.9rem;
}

.sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0.8rem;
  font-size: 0.88rem;
}

.sidebar-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.sidebar-list i {
  margin-top: 0.18rem;
}

.vision-mission {
  background-color: var(--color-beige);
}

.vm-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.7rem 1.8rem;
  box-shadow: 0 18px 50px rgba(20, 20, 20, 0.08);
  border: 1px solid rgba(20, 20, 20, 0.06);
}

.icon-feature {
  text-align: left;
}

.icon-feature .icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, #D9CFB3, #E7DFC9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #141414;
  margin-bottom: 0.6rem;
}

.icon-feature h3 {
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.icon-feature p {
  font-size: 0.85rem;
}

/* ==========================
   FEATURED PROJECT SHOWCASE
   ========================== */

.featured-showcase {
  background: var(--color-bg);
}

.featured-project-card {
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.06),
    0 1px 4px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

/* Left visual panel */
.fp-visual {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.fp-image {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.fp-visual-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent);
  z-index: 2;
}

.fp-badge-featured {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.8rem;
  background: linear-gradient(135deg, var(--color-gold), #e7c55d);
  color: #1a1a1a;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 12px rgba(200, 162, 58, 0.4);
}

.fp-map-container {
  flex: 1;
  min-height: 180px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.fp-map-container iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* Right details panel */
.fp-details {
  padding: 1.8rem 2rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.fp-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.fp-kicker {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-gold);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.fp-title {
  font-size: 1.6rem;
  color: var(--color-navy);
  margin-bottom: 0.3rem;
  line-height: 1.15;
}

.fp-location {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-bottom: 0;
}

.fp-location i {
  color: var(--color-gold);
}

/* Stats Row */
.fp-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  margin-bottom: 1.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.fp-stat {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.fp-stat>i {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(200, 162, 58, 0.08);
  border: 1px solid rgba(200, 162, 58, 0.15);
  color: var(--color-gold);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.fp-stat-value {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-navy);
  font-family: "Playfair Display", serif;
  line-height: 1.2;
}

.fp-stat-label {
  display: block;
  font-size: 0.6rem;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Section labels */
.fp-section-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-muted);
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-family: "Montserrat", sans-serif;
}

/* Amenities Grid */
.fp-amenities {
  margin-bottom: 1.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.fp-amenity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.fp-amenity {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  background: rgba(244, 239, 230, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.fp-amenity:hover {
  background: rgba(200, 162, 58, 0.08);
  border-color: rgba(200, 162, 58, 0.2);
}

.fp-amenity i {
  color: var(--color-gold);
  font-size: 0.8rem;
  flex-shrink: 0;
  width: 18px;
  text-align: center;
}

.fp-amenity span {
  font-size: 0.75rem;
  color: var(--color-text);
  font-weight: 500;
}

/* Status Tags */
.fp-status-row {
  margin-bottom: 1.4rem;
}

.fp-status-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.fp-status-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.68rem;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.fp-status-tag.approved {
  background: rgba(37, 211, 102, 0.08);
  border: 1px solid rgba(37, 211, 102, 0.25);
  color: #1a8a4a;
}

.fp-status-tag.progress {
  background: rgba(200, 162, 58, 0.08);
  border: 1px solid rgba(200, 162, 58, 0.25);
  color: #8a7020;
}

.fp-status-tag.pending {
  background: rgba(100, 100, 100, 0.06);
  border: 1px solid rgba(100, 100, 100, 0.15);
  color: #666;
}

.fp-status-tag i {
  font-size: 0.6rem;
}

/* CTA Actions */
.fp-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: auto;
}

.fp-actions .btn {
  flex: 1;
  text-align: center;
}

/* Responsive */
@media (max-width: 991.98px) {
  .fp-details {
    padding: 1.4rem 1.5rem;
  }

  .fp-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .fp-amenity-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fp-image {
    height: 220px;
  }

  .fp-map-container {
    min-height: 150px;
  }
}

@media (max-width: 575.98px) {
  .featured-project-card {
    border-radius: 16px;
  }

  .fp-details {
    padding: 1.2rem 1rem;
  }

  .fp-header {
    flex-direction: column;
    gap: 0.5rem;
  }

  .fp-stats-row {
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
  }

  .fp-amenity-grid {
    grid-template-columns: 1fr 1fr;
  }

  .fp-actions {
    flex-direction: column;
  }

  .fp-title {
    font-size: 1.3rem;
  }

  .fp-image {
    height: 180px;
  }

  .fp-map-container {
    min-height: 120px;
  }
}

/* ==========================
   PROJECTS PAGE ELEMENTS
   ========================== */

.project-filters .btn {
  border-radius: 999px;
  border: 1px solid rgba(20, 20, 20, 0.18);
  font-size: 0.8rem;
  padding: 0.4rem 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--color-muted);
  background-color: #ffffff;
  transition: var(--transition-base);
}

.project-filters .btn.active,
.project-filters .btn:hover {
  background-color: var(--color-matte-black);
  color: #ffffff;
  border-color: var(--color-matte-black);
}

/* ==========================
   CONTACT PAGE ELEMENTS
   ========================== */

.contact-details-card {
  margin-top: 1.4rem;
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.7rem;
  background-color: rgba(20, 20, 20, 0.04);
  border: 1px solid rgba(20, 20, 20, 0.06);
}

.contact-details-card h3 {
  font-size: 1rem;
  margin-bottom: 0.9rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  display: flex;
  gap: 0.7rem;
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
}

.contact-list i {
  margin-top: 0.15rem;
  color: var(--color-gold);
}

.contact-form-card {
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.9rem 1.9rem;
  background-color: #ffffff;
  box-shadow: 0 24px 70px rgba(20, 20, 20, 0.14);
  border: 1px solid rgba(20, 20, 20, 0.06);
}

.contact-form-card h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.form-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-muted);
  margin-bottom: 0.3rem;
}

.form-control {
  border-radius: 12px;
  border: 1px solid rgba(20, 20, 20, 0.18);
  font-size: 0.9rem;
  padding: 0.55rem 0.85rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.form-control:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 0.1rem rgba(200, 162, 58, 0.25);
}

textarea.form-control {
  resize: vertical;
}

.form-feedback {
  font-size: 0.85rem;
}

/* Validation states */
.form-control.is-invalid {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.1rem rgba(220, 53, 69, 0.2);
}

.form-control.is-invalid:focus {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.15rem rgba(220, 53, 69, 0.25);
}

.form-control.is-valid {
  border-color: #198754;
  box-shadow: 0 0 0 0.1rem rgba(25, 135, 84, 0.15);
}

.form-control.is-valid:focus {
  border-color: #198754;
  box-shadow: 0 0 0 0.15rem rgba(25, 135, 84, 0.2);
}

/* Inline error messages */
.field-error {
  display: block;
  font-size: 0.78rem;
  color: #dc3545;
  margin-top: 0.3rem;
  min-height: 1.1em;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.field-error.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Shake animation for invalid fields */
@keyframes shake {

  0%,
  100% {
    transform: translateX(0);
  }

  20% {
    transform: translateX(-6px);
  }

  40% {
    transform: translateX(6px);
  }

  60% {
    transform: translateX(-4px);
  }

  80% {
    transform: translateX(4px);
  }
}

.form-control.shake {
  animation: shake 0.4s ease;
}

.map-placeholder {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, #cfd7e8, #f1f3f9);
  height: 500px;
  display: flex;
  align-items: stretch;
  justify-content: center;
  box-shadow: var(--shadow-soft);
}

.map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 1.8rem 2rem;
  color: var(--color-matte-black);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(231, 223, 201, 0.92));
}

/* ==========================
   FOOTER
   ========================== */

.main-footer {
  background-color: #000000;
  color: rgba(255, 255, 255, 0.7);
  padding-top: 60px;
  padding-bottom: 20px;
  margin-top: 0;
  /* Removed margin top for seamless look */
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-logo {
  height: 50px;
}

.footer-heading {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.35rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.4rem;
}

.footer-contact i {
  margin-right: 0.4rem;
  margin-top: 0.15rem;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.78);
}

.footer-contact a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 2rem;
  padding-top: 1rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ==========================
   WHATSAPP FLOATING BUTTON
   ========================== */


/* ==========================
   SOCIAL FLOATING BUTTONS
   ========================== */

.social-float-container {
  position: fixed;
  right: 18px;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1200;
}

@media (max-width: 575.98px) {
  .social-float-container {
    right: 12px;
    bottom: 12px;
    gap: 8px;
  }

  .social-float {
    width: 40px;
    height: 40px;
  }

  .social-float i {
    font-size: 18px;
  }

  .social-float img {
    width: 22px;
    height: 22px;
  }
}

.social-float {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease, background-color 0.3s ease;
  text-decoration: none;
}

.social-float:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

.social-float i {
  font-size: 24px;
}

.social-float img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
}

.social-float.whatsapp {
  background-color: #25D366;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.social-float.whatsapp:hover {
  background-color: #1ebe5a;
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.45);
}

.social-float.instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  box-shadow: 0 8px 25px rgba(214, 36, 159, 0.3);
}

.social-float.facebook {
  background-color: #1877F2;
  box-shadow: 0 8px 25px rgba(24, 119, 242, 0.3);
}

.social-float.x {
  background-color: #000000;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}


/* ==========================
   BACK TO TOP BUTTON
   ========================== */

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 88px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-matte-black), #333333);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  text-decoration: none;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: linear-gradient(135deg, var(--color-gold), #e7c55d);
  color: #231b08;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(200, 162, 58, 0.4);
}

/* ==========================
   ANIMATIONS: SCROLL REVEAL
   ========================== */

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

.js.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Ensure only active slide's content reveals in hero */
.carousel-item:not(.active) .reveal {
  opacity: 0 !important;
  transform: translateY(15px) !important;
  transition: none !important;
}

.carousel-item.active .reveal {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ==========================
   UTILITIES
   ========================== */

.text-muted {
  color: var(--color-muted) !important;
}

/* ==========================
   RESPONSIVE ADJUSTMENTS
   ========================== */

@media (max-width: 991.98px) {
  .sidebar-card {
    position: static;
    margin-top: 1.8rem;
  }

  .hero-content {
    padding-top: 0;
  }

  .hero-caption .hero-content {
    padding-top: 0;
  }

  .page-title {
    margin-top: 5.2rem;
  }

  .hero-side-card {
    margin-top: 0.5rem;
  }

  .hero-bottom-bar {
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.8rem 1rem;
    justify-content: center;
  }

  .bottom-divider {
    display: none;
  }

  .bottom-stat {
    padding: 0.3rem 0.6rem;
    font-size: 0.72rem;
  }

  .hero-price-ribbon {
    max-width: 100%;
  }
}

@media (max-width: 575.98px) {
  .navbar-brand .brand-sub {
    display: none;
  }

  .hero-section {
    text-align: left;
    min-height: 100vh;
    min-height: 100dvh;
    min-height: 100svh;
    padding-top: 0;
    padding-bottom: 0;
  }

  .hero-content {
    padding-top: 0;
    padding-bottom: 0.5rem;
  }

  .hero-caption {
    align-items: center;
    /* Changed from flex-start to center for better distribution */
    padding-top: var(--header-height);
    padding-bottom: 60px;
    /* More predictable space for indicators */
  }

  .hero-caption>.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
  }

  .hero-caption-ks {
    padding-top: 0;
    padding-bottom: 0;
  }

  .hero-carousel-indicators {
    bottom: 8px;
    /* Move dots closer to edge */
  }

  .hero-carousel-control {
    display: none;
  }

  .hero-carousel-indicators [data-bs-target] {
    width: 9px;
    height: 9px;
    margin: 0 4px;
  }

  .hero-caption .hero-content {
    max-width: 100%;
    padding-left: clamp(0.8rem, 3.5vw, 1.05rem);
    padding-right: clamp(0.8rem, 3.5vw, 1.05rem);
    padding-bottom: 0.5rem;
  }

  .hero-subtitle {
    font-size: clamp(0.8rem, 3.45vw, 0.92rem);
    line-height: 1.5;
    margin-bottom: 0.85rem;
  }

  .hero-price-ribbon {
    padding: 0.62rem 0.78rem;
    gap: 0.55rem;
    margin-bottom: 0.9rem;
  }

  .price-amount {
    font-size: 1.5rem;
  }

  .price-currency {
    font-size: 1rem;
  }

  .returns-value {
    font-size: 1rem;
  }

  .returns-label {
    font-size: 0.6rem;
  }

  .hero-prelaunch-badge {
    font-size: clamp(0.56rem, 2.4vw, 0.64rem);
    padding: 0.22rem 0.62rem;
    margin-bottom: 0.65rem;
  }

  .hero-kicker {
    font-size: clamp(0.56rem, 2.35vw, 0.65rem);
    letter-spacing: 0.12em;
  }

  .hero-title {
    font-size: clamp(1.9rem, 7.6vw, 2.7rem);
    margin-bottom: 0.72rem;
  }

  .hero-actions {
    flex-direction: column;
    margin-right: 0;
    gap: 0.52rem;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
    font-size: clamp(0.76rem, 3.2vw, 0.86rem);
    padding: 0.5rem 0.9rem;
  }

  .hero-price-ribbon {
    flex-direction: column;
    gap: 0.65rem;
    align-items: flex-start;
    padding: 0.7rem 0.86rem;
  }

  .price-divider {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(200, 162, 58, 0.5), transparent);
  }

  .hero-bottom-bar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 2rem;
    /* Buffer from buttons */
    margin-bottom: 2rem;
    /* Buffer from indicators */
    padding: 0.6rem 0.8rem;
    border-radius: 12px;
    gap: 0.5rem;
    background: rgba(10, 10, 10, 0.85);
    position: relative;
    z-index: 5;
  }

  .hero-bottom-bar-norway {
    width: 100%;
    margin-top: 0.75rem;
  }

  .bottom-stat {
    font-size: clamp(0.56rem, 2.2vw, 0.64rem);
    padding: 0.2rem 0.35rem;
    gap: 0.35rem;
    justify-content: flex-start;
    white-space: normal;
  }

  .hero-prelaunch-badge {
    font-size: clamp(0.56rem, 2.4vw, 0.64rem);
    padding: 0.22rem 0.62rem;
    margin-bottom: 0.65rem;
  }

  .project-stats-grid {
    gap: 0.7rem 0.6rem;
  }

  .stat-icon {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }

  .hero-particles {
    display: none;
  }

  .contact-form-card,
  .contact-details-card {
    padding: 1.4rem 1.4rem 1.5rem;
  }

  .map-overlay {
    padding: 1.4rem 1.5rem;
  }

  .project-card {
    border-radius: 16px;
  }

  .section-title {
    font-size: 1.6rem;
  }
}

@media (max-height: 780px) {
  .hero-section {
    padding-top: 0;
    padding-bottom: 0.85rem;
  }

  .hero-caption {
    padding-top: calc(var(--header-height) + 0.65rem);
  }

  .hero-subtitle {
    margin-bottom: 1rem;
  }

  .hero-price-ribbon {
    margin-bottom: 1rem;
  }

  .hero-bottom-bar {
    margin-top: 0.75rem;
  }
}


/* Safari fallback: prevent heavy glass blur from softening hero text */
@supports (-webkit-touch-callout: none) {

  .hero-prelaunch-badge,
  .hero-price-ribbon,
  .hero-bottom-bar {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .hero-prelaunch-badge {
    background: rgba(200, 162, 58, 0.2);
  }

  .hero-price-ribbon {
    background: rgba(16, 16, 16, 0.58);
  }
}

/* ==========================
   PROJECT DETAIL PAGE
   ========================== */

.project-detail-hero {
  position: relative;
  min-height: 420px;
  color: #fff;
  overflow: hidden;
  padding-top: 7rem;
  padding-bottom: 2.5rem;
}

.project-detail-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.project-detail-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.75) 100%);
  z-index: 1;
}

/* Stats strip below hero */
.detail-stats-section {
  margin-top: -2rem;
  position: relative;
  z-index: 10;
  padding-bottom: 1rem;
}

.detail-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.detail-stat-card {
  background: linear-gradient(145deg, #1a1a1a, #242424);
  border: 1px solid rgba(200, 162, 58, 0.15);
  border-radius: 14px;
  padding: 1.4rem 1rem;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.detail-stat-card i {
  font-size: 1.4rem;
  color: #f6d982;
  margin-bottom: 0.6rem;
  display: block;
}

.detail-stat-value {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.15rem;
}

.detail-stat-label {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Amenity cards */
.detail-amenity-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.2rem;
  background: #fff;
  border: 1px solid rgba(20, 20, 20, 0.06);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  height: 100%;
}

.detail-amenity-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  border-color: rgba(200, 162, 58, 0.4);
}

.detail-amenity-card i {
  font-size: 1.3rem;
  color: var(--color-gold);
  flex-shrink: 0;
  width: 36px;
  text-align: center;
}

.detail-amenity-card span {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-matte-black);
}

/* Map container */
.detail-map-container {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(20, 20, 20, 0.06);
}

/* Status cards */
.detail-status-card {
  padding: 1.5rem;
  background: #fff;
  border: 1px solid rgba(20, 20, 20, 0.06);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
  text-align: center;
  height: 100%;
}

.detail-status-card h4 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.detail-status-card p {
  font-size: 0.88rem;
}

.detail-status-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.8rem;
  font-size: 1.3rem;
}

.detail-status-icon.approved {
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.3);
  color: #1e8449;
}

.detail-status-icon.progress {
  background: rgba(200, 162, 58, 0.1);
  border: 1px solid rgba(200, 162, 58, 0.3);
  color: #c8a23a;
}

.detail-status-icon.pending {
  background: rgba(100, 100, 100, 0.08);
  border: 1px solid rgba(100, 100, 100, 0.2);
  color: #666;
}

@media (max-width: 991.98px) {
  .detail-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575.98px) {
  .project-detail-hero {
    min-height: 320px;
    padding-top: 6rem;
    padding-bottom: 2rem;
  }

  .detail-stats-section {
    margin-top: -1rem;
  }

  .detail-stat-card {
    padding: 1rem 0.6rem;
  }

  .detail-stat-value {
    font-size: 1rem;
  }
}