/* ==========================================================================
   YOSHITHA'S REAL RISE - DESIGN SYSTEM & COMPONENTS
   ========================================================================== */

/* ─── Typography CDNs loaded in HTML ─── */
:root {
  /* Brand Color Tokens */
  --color-primary: #0a365c;       /* Deep Navy Blue */
  --color-primary-rgb: 10, 54, 92;
  --color-green-light: #4bb749;   /* Grassy green */
  --color-green-dark: #0d5e31;    /* Forest green */
  --color-blue: #008ece;          /* Sky blue */
  --color-yellow: #f9b012;        /* Sun yellow */

  /* Neutral Color Tokens */
  --bg-site: #ffffff;             /* Site background is white only */
  --text-main: #1f2937;           /* Off-black body text */
  --text-muted: #6b7280;          /* Gray body text */
  --border-light: #e5e7eb;        /* Light gray dividers */
  --border-accent: rgba(10, 54, 92, 0.1);

  /* Glassmorphism System */
  --glass-bg: #ffffff;
  --glass-border: rgba(229, 231, 235, 0.8);
  --glass-shadow: none;
  --glass-blur: 16px;

  /* Font Families */
  --font-primary: 'Satoshi', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-secondary: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Spacing System */
  --container-max-width: 1280px;
  --section-padding: 8rem 2rem;
  --section-padding-mobile: 5rem 1.25rem;

  /* Transitions */
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.25s ease;
}

/* ─── Reset ─── */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  background-color: var(--bg-site);
  font-family: var(--font-secondary);
  color: var(--text-main);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.menu-open {
  overflow: hidden;
}

/* Custom Selection style */
::selection {
  background-color: rgba(75, 183, 73, 0.2);
  color: var(--color-primary);
}

/* Typography styles */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

p {
  line-height: 1.6;
  font-size: 1.05rem;
  color: var(--text-muted);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}



/* ─── Common UI Components ─── */

.container {
  /* max-width: var(--container-max-width); */
  margin: 0 auto;
  width: 100%;
  position: relative;
}

/* Magnetic Button CTA */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.25rem;
  background-color: var(--color-primary);
  color: #ffffff;
  border: none;
  border-radius: 9999px;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease;
  box-shadow: 0 4px 20px rgba(10, 54, 92, 0.15);
  cursor: pointer;
  z-index: 1;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-green-light), var(--color-green-dark));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.btn-primary:hover {
  box-shadow: 0 8px 30px rgba(13, 94, 49, 0.25);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary span {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  background-color: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 9999px;
  color: var(--color-primary);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1.05rem;
  backdrop-filter: blur(var(--glass-blur));
  transition: var(--transition-fast);
  cursor: pointer;
}

.btn-secondary:hover {
  background-color: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}

/* Glassmorphism Card Base */
.glass-card {
  background-color: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 2.5rem;
  backdrop-filter: blur(var(--glass-blur));
  box-shadow: var(--glass-shadow);
  transition: var(--transition-smooth);
}

/* ─── Header & Navigation ─── */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.5rem 0;
  transition: var(--transition-smooth);
}

header.scrolled {
  padding: 1rem 0;
}

header.scrolled .nav-wrapper {
  background-color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(229, 231, 235, 0.7);
  box-shadow: var(--glass-shadow);
  border-radius: 9999px;
  padding: 0.5rem 1.5rem;
  margin: 0 1.5rem;
  backdrop-filter: blur(12px);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 2rem;
  transition: var(--transition-smooth);
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  height: 48px;
  transition: var(--transition-smooth);
}

header.scrolled .logo-link {
  height: 38px;
}

.logo-img {
  height: 100%;
  width: auto;
  transition: var(--transition-smooth), opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-img.logo-normal {
  opacity: 1;
  visibility: visible;
}

.logo-img.logo-sticky {
  position: absolute;
  left: 0;
  opacity: 0;
  visibility: hidden;
}

header.scrolled .logo-img.logo-normal {
  opacity: 0;
  visibility: hidden;
}

header.scrolled .logo-img.logo-sticky {
  opacity: 1;
  visibility: visible;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-item {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 0.5rem 0;
  color: var(--color-primary);
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--color-green-light);
  transition: var(--transition-fast);
  transform: translateX(-50%);
}

.nav-item:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 110;
  border-radius: 50%;
  transition: var(--transition-fast);
}

.mobile-toggle:hover {
  background-color: rgba(10, 54, 92, 0.06);
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--color-primary);
  margin-bottom: 5px;
  transition: var(--transition-fast);
}

.mobile-toggle span:last-child {
  margin-bottom: 0;
}

/* Mobile Menu Panel */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  overflow: hidden;
  background-color: #ffffff;
  z-index: 105;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  visibility: hidden;
  transform: translateY(-100%);
  transition: transform 0.6s cubic-bezier(0.85, 0, 0.15, 1), visibility 0s linear 0.6s;
  padding: 2rem;
}

.mobile-menu-overlay.active {
  visibility: visible;
  transform: translateY(0);
  transition: transform 0.6s cubic-bezier(0.85, 0, 0.15, 1), visibility 0s linear 0s;
}

/* Close (×) button — top-right, premium tap target */
.mobile-menu-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(10, 54, 92, 0.05);
  border: 1px solid rgba(10, 54, 92, 0.1);
  border-radius: 50%;
  color: var(--color-primary);
  cursor: pointer;
  transition: var(--transition-fast);
}

.mobile-menu-close:hover {
  background-color: var(--color-primary);
  color: #ffffff;
  transform: rotate(90deg);
}

.mobile-menu-eyebrow {
  position: absolute;
  top: 1.75rem;
  left: 2rem;
  font-family: var(--font-primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.mobile-menu-link {
  font-family: var(--font-primary);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  padding: 0.6rem 1rem;
  line-height: 1.2;
  transition: var(--transition-fast);
}

.mobile-menu-link:hover,
.mobile-menu-link:focus-visible {
  color: var(--color-green-light);
  transform: translateY(-3px);
}

.mobile-menu-link:focus-visible {
  outline: 2px solid var(--color-green-light);
  outline-offset: 4px;
  border-radius: 8px;
}

.mobile-menu-close:focus-visible {
  outline: 2px solid var(--color-green-light);
  outline-offset: 3px;
}

/* ─── Hero Section ─── */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem 0;
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, rgba(75, 183, 73, 0.03), transparent 40%),
              radial-gradient(circle at 10% 80%, rgba(0, 142, 206, 0.03), transparent 45%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background-color: rgba(75, 183, 73, 0.1);
  border-radius: 9999px;
  color: var(--color-green-dark);
  font-size: 0.875rem;
  font-weight: 600;
  width: fit-content;
  border: 1px solid rgba(75, 183, 73, 0.2);
}

.hero-tag svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.hero-title {
  font-size: clamp(3rem, 5.5vw, 5.5rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--color-primary);
}

.hero-title span.accent {
  color: var(--color-green-light);
  position: relative;
  display: inline-block;
}

.hero-title span.accent::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--color-green-light), var(--color-blue));
  border-radius: 999px;
}

.hero-subtitle {
  font-size: 1.25rem;
  max-width: 600px;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Hero Stats Section (Hierarchy Placement) */
.hero-stats {
  margin-top: 2rem;
  border-top: 1px solid var(--border-light);
  padding-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.stat-number {
  font-family: var(--font-primary);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--color-primary);
  display: flex;
  align-items: center;
}

.stat-number span.plus {
  color: var(--color-green-light);
  margin-left: 2px;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero Image & Parallax Visuals */
.hero-visual {
  position: relative;
  width: 100%;
  height: 550px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 30px 60px -15px rgba(10, 54, 92, 0.12);
}

.hero-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  transition: transform 0.1s ease-out;
}

.hero-visual-badge {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}


/* About Section */
.about {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  background: radial-gradient(circle at 10% 20%, rgba(13, 27, 42, 1) 0%, rgba(8, 26, 21, 1) 100%);
}

.about-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  z-index: 0;
  opacity: 0.15;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.about-bg-glow {
  position: absolute;
  top: 30%;
  right: 10%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(75, 183, 73, 0.08) 0%, rgba(249, 176, 18, 0.03) 70%, transparent 100%);
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}

.about > .container {
  position: relative;
  z-index: 1;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem 5rem;
  align-items: center;
}

.about-photo-card {
  display: block;
  grid-column: 2;
  grid-row: 1 / 3;
  justify-self: end;
  align-self: center;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 400 / 550;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 35px 70px -15px rgba(0, 0, 0, 0.7);
  background-color: #0b1512;
}

.about-photo-card img,
.about-photo-card video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-reel-wrap {
  cursor: pointer;
}

.about-reel-wrap:hover video {
  transform: scale(1.04);
}

/* Custom mute/unmute control, always available while the reel autoplays */
.about-video-mute-btn {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(8, 26, 21, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 4;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.about-video-mute-btn:hover {
  transform: scale(1.08);
  background: rgba(8, 26, 21, 0.75);
  border-color: rgba(255, 255, 255, 0.32);
}

.about-video-mute-btn svg {
  width: 19px;
  height: 19px;
}

.about-video-mute-btn .icon-muted {
  display: none;
}

.about-video-mute-btn.is-muted .icon-unmuted {
  display: none;
}

.about-video-mute-btn.is-muted .icon-muted {
  display: block;
}

.about-content {
  grid-column: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-tag {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--color-green-light);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.about-tag::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-green-light);
}

.about-title {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.about-title span {
  background: linear-gradient(135deg, var(--color-yellow), #ffe293);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-text {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  font-weight: 400;
  margin-bottom: 1rem;
}

.about-points {
  grid-column: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.about-point-card {
  padding: 1.75rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, background-color 0.4s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.about-point-card:hover {
  transform: translateY(-5px);
  border-color: rgba(75, 183, 73, 0.25);
  background: rgba(255, 255, 255, 0.04);
}

.about-point-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
}

.about-point-card:hover h4 {
  color: var(--color-yellow);
}

.about-point-card p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.55;
}

.about-point-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(75, 183, 73, 0.1);
  border: 1px solid rgba(75, 183, 73, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-green-light);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, color 0.3s ease;
}

.about-point-card:hover .about-point-icon-box {
  background: var(--color-green-light);
  color: #ffffff;
  transform: scale(1.05) rotate(5deg);
}

.about-point-icon-box svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* ─── Smart Investors: Dark Navy Horizontal Scroll Section ─── */
.smart-investors {
  background: radial-gradient(circle at 100% 50%, #06111a 0%, #0c1825 100%);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: stretch;
}

.si-layout {
  display: flex;
  width: 100%;
  min-height: 100vh;
  align-items: stretch;
}

/* LEFT sticky panel */
.si-left-panel {
  width: 542px;
  min-width: 300px;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.75rem;
  padding: 5rem 2.5rem 5rem 3.5rem;
  background-color: #08101a;
  z-index: 2;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

/* Tag pill */
.si-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--color-green-light);
  text-transform: uppercase;
}

.si-tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-green-light);
  flex-shrink: 0;
  animation: si-dot-pulse 2.2s ease-in-out infinite;
}

@keyframes si-dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.75); }
}

/* Heading */
.si-heading {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

/* Description */
.si-desc {
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  max-width: 420px;
}

/* Scroll progress indicator */
.si-scroll-indicator {
  position: absolute;
  bottom: 3.5rem;
  left: 3.5rem;
  width: calc(100% - 7rem);
  height: 3px;
  background-color: rgba(255, 255, 255, 0.06);
  border-radius: 9999px;
  overflow: hidden;
}

.si-scroll-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-yellow), var(--color-green-light));
  border-radius: 9999px;
  transition: width 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}

/* RIGHT horizontally scrollable cards track */
.si-cards-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 8rem 3rem 4rem 5rem;
  flex: 1;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;
  cursor: grab;
  counter-reset: amenity-counter;
}

.si-cards-track::-webkit-scrollbar {
  display: none;
}

.si-cards-track:active {
  cursor: grabbing;
}

/* Individual service card */
.si-card {
  flex-shrink: 0;
  width: 350px;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.5s ease, background-color 0.4s ease;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  counter-increment: amenity-counter;
}

.si-card:hover {
  transform: translateY(-10px) scale(1.01);
  border-color: rgba(249, 176, 18, 0.3);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 30px 60px rgba(249, 176, 18, 0.05);
}

.si-card-img-wrap {
  width: 100%;
  height: 290px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.si-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.si-card:hover .si-card-img,
.si-card:focus-visible .si-card-img {
  transform: scale(1.06);
}

.si-card:focus-visible {
  outline: 2px solid var(--color-yellow);
  outline-offset: 4px;
}

/* Hover overlay + "View Image" affordance */
.si-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 16, 26, 0.35);
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.si-card:hover .si-card-overlay,
.si-card:focus-visible .si-card-overlay {
  opacity: 1;
}

.si-card-view-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.3rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-family: var(--font-primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transform: translateY(15px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
}

.si-card:hover .si-card-view-icon,
.si-card:focus-visible .si-card-view-icon {
  transform: translateY(0);
}

.si-card-view-icon:hover {
  background: rgba(255, 255, 255, 0.2);
}

.si-card-body {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
  position: relative;
}

.si-card-body::before {
  content: "0" counter(amenity-counter);
  position: absolute;
  top: 1.5rem;
  right: 1.8rem;
  font-family: var(--font-primary);
  font-size: 2.2rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.03);
  line-height: 1;
  transition: color 0.4s ease;
}

.si-card:hover .si-card-body::before {
  color: rgba(249, 176, 18, 0.08);
}

.si-card-title {
  font-family: var(--font-primary);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  letter-spacing: -0.02em;
  max-width: 80%;
  transition: color 0.3s ease;
}

.si-card:hover .si-card-title {
  color: var(--color-yellow);
}

.si-card-text {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

/* ── Right panel: stacks cards + nav arrows vertically ── */
.si-right-panel {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  background-color: transparent;
}

/* ── Navigation arrow row ── */
.si-nav-arrows {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

/* ── Single arrow button ── */
.si-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.02);
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  flex-shrink: 0;
}

.si-nav-btn:hover:not(:disabled) {
  border-color: var(--color-yellow);
  background-color: rgba(249, 176, 18, 0.1);
  color: var(--color-yellow);
  transform: scale(1.08);
}

.si-nav-btn:disabled {
  opacity: 0.25;
  cursor: not-allowed;
  border-color: rgba(255, 255, 255, 0.05);
  background-color: transparent;
  color: rgba(255, 255, 255, 0.2);
}


/* ─── Projects Gallery (Showcase Slider) ─── */
.gallery {
  /* padding: var(--section-padding); */
  position: relative;
}

.sg-slider-wrapper {
  position: relative;
  width: 100%;
  height: 600px;
  border-radius: 32px;
  overflow: hidden;
  background-color: #0d1b2a;
  /* box-shadow: 0 30px 60px -15px rgba(10, 54, 92, 0.25); */
  /* border: 1px solid rgba(255, 255, 255, 0.08); */
}

.sg-slides-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.sg-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  display: flex;
  align-items: flex-end;
}

.sg-slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

.sg-image-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  container-type: size;
}

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

iframe.sg-img {
  width: 240cqh;
  height: 135cqh;
  min-width: 135cqw;
  min-height: 75.9375cqw;
  border: none;
  pointer-events: none;
}

.sg-overlay {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(13, 27, 42, 0.96) 0%, rgba(13, 27, 42, 0.62) 55%, rgba(13, 27, 42, 0.18) 100%);
  z-index: 2;
}

.sg-content {
  position: relative;
  width: 100%;
  padding: 2.5rem 3rem 7rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 3;
}

.sg-meta {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
}

.sg-tag {
  font-family: var(--font-primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  color: var(--color-green-light);
  text-transform: uppercase;
}

.sg-counter {
  font-family: var(--font-primary);
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1;
  letter-spacing: 0.03em;
  padding-left: 0.75rem;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.sg-info {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: 640px;
}

.sg-title {
  font-family: var(--font-primary);
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  font-weight: 600;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -0.015em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
}

.sg-desc {
  font-family: var(--font-secondary);
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.68);
  max-width: 560px;
  line-height: 1.6;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
}

/* Slider Controls — integrated bottom shelf */
.sg-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 3rem 2.25rem;
  /* border-top: 1px solid rgba(255, 255, 255, 0.1); */
  z-index: 4;
}

.sg-progress-container {
  flex: 1;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.15);
  position: relative;
  border-radius: 3px;
  overflow: hidden;
}

.sg-progress-bar {
  width: 0%;
  height: 100%;
  background-color: var(--color-green-light);
  transform-origin: left center;
}

.sg-navigation {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

.sg-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    transform 0.2s ease;
}

.sg-nav-btn:hover {
  background-color: var(--color-green-light);
  border-color: var(--color-green-light);
  color: #0d1b2a;
  transform: scale(1.08);
}

.sg-nav-btn:active {
  transform: scale(0.95);
}

/* Show details on hover on desktop devices */
@media (hover: hover) {
  .sg-content,
  .sg-controls {
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: 
      opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
      visibility 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
      transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  .sg-slider-wrapper:hover .sg-content,
  .sg-slider-wrapper:hover .sg-controls {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

/* Tablet & Mobile responsive overrides */
@media (max-width: 992px) {
  .sg-slider-wrapper {
    height: 520px;
  }
  .sg-content {
    padding: 2rem 2.5rem 6.5rem;
  }
  .sg-controls {
    padding: 1rem 2.5rem 1.75rem;
  }
}

@media (max-width: 768px) {
  .sg-slider-wrapper {
    height: 480px;
    border-radius: 24px;
  }
  .sg-content {
    padding: 1.75rem 1.75rem 6rem;
    gap: 0.75rem;
  }
  .sg-title {
    font-size: 1.35rem;
  }
  .sg-desc {
    font-size: 0.85rem;
    line-height: 1.55;
  }
  .sg-controls {
    padding: 0.85rem 1.75rem 1.5rem;
    gap: 1rem;
  }
  .sg-nav-btn {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 480px) {
  .sg-slider-wrapper {
    height: 420px;
  }
  .sg-content {
    padding: 1.25rem 1.25rem 5.5rem;
    gap: 0.5rem;
  }
  .sg-title {
    font-size: 1.2rem;
  }
  .sg-desc {
    font-size: 0.8rem;
    line-height: 1.45;
  }
  .sg-controls {
    padding: 0.75rem 1.25rem 1.25rem;
    gap: 0.75rem;
  }
  .sg-nav-btn {
    width: 34px;
    height: 34px;
  }
}


/* ─── Partner Logo Cloud ─── */
.partners {
  padding: 4.5rem 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
  background-color: var(--bg-site);
}

.partner-marquee-container {
  display: flex;
  overflow: hidden;
  width: 100%;
}

.partner-marquee-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  gap: 5rem;
  animation: partner-loop 30s linear infinite;
}

@keyframes partner-loop {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.partner-logo-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  width: 160px;
}

.partner-logo-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.4;
  transition: var(--transition-fast);
}

.partner-logo-item:hover .partner-logo-img {
  filter: grayscale(0%);
  opacity: 0.95;
}

/* ─── Testimonials Section — mirrors Smart Investors split-panel ─── */
.tm-section {
  background: radial-gradient(circle at 0% 50%, #06111a 0%, #0c1825 100%);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: stretch;
}

.tm-layout {
  display: flex;
  width: 100%;
  min-height: 100vh;
  align-items: stretch;
}

/* LEFT sticky panel */
.tm-left-panel {
  width: 542px;
  min-width: 300px;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.75rem;
  padding: 5rem 2.5rem 5rem 3.5rem;
  background-color: #08101a;
  z-index: 2;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.tm-heading {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.tm-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.52);
  line-height: 1.65;
  max-width: 420px;
}

/* Navigation arrows in left panel */
.tm-nav-arrows {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.tm-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  background-color: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    transform 0.2s ease;
  flex-shrink: 0;
}

.tm-nav-btn:not(:disabled):hover {
  background-color: var(--color-green-light);
  border-color: var(--color-green-light);
  color: #0d1b2a;
  transform: scale(1.08);
}

.tm-nav-btn:not(:disabled):active {
  background-color: #3da83b;
  border-color: #3da83b;
  color: #0d1b2a;
  transform: scale(0.95);
}

.tm-nav-btn:disabled {
  opacity: 0.28;
  cursor: not-allowed;
  border-color: rgba(255, 255, 255, 0.08);
  background-color: transparent;
  color: rgba(255, 255, 255, 0.3);
}

/* Scroll Indicator */
.tm-scroll-indicator {
  width: 120px;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
  border-radius: 1px;
  margin-top: 0.5rem;
}

.tm-scroll-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background-color: var(--color-green-light);
  border-radius: 1px;
  transition: width 0.2s ease-out;
}

/* RIGHT panel */
.tm-right-panel {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  background: transparent;
}

/* Horizontally scrollable track */
.tm-cards-track {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 5rem 3rem 5rem 3.5rem;
  flex: 1;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}

.tm-cards-track::-webkit-scrollbar {
  display: none;
}

.tm-cards-track:active {
  cursor: grabbing;
}

/* Individual testimonial card */
.tm-card {
  flex-shrink: 0;
  width: min(380px, 82vw);
  min-height: 280px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.5s ease, background-color 0.4s ease;
  position: relative;
}

.tm-card:hover {
  transform: translateY(-10px) scale(1.01);
  border-color: rgba(75, 183, 73, 0.45);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 30px 60px rgba(75, 183, 73, 0.06);
}

/* Card Top Section (Rating + Quote Icon) */
.tm-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  width: 100%;
}

.tm-rating {
  display: flex;
  gap: 0.2rem;
  color: var(--color-yellow);
}

.tm-rating svg {
  flex-shrink: 0;
}

.tm-quote-icon {
  color: rgba(75, 183, 73, 0.15);
  transition: color 0.3s ease;
}

.tm-card:hover .tm-quote-icon {
  color: rgba(75, 183, 73, 0.3);
}

/* Quote text */
.tm-card-quote {
  font-family: var(--font-primary);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  font-weight: 400;
  color: #ffffff;
  line-height: 1.55;
  letter-spacing: -0.01em;
  flex-grow: 1;
}

/* Author block */
.tm-card-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.tm-card-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  transition: border-color 0.3s ease;
}

.tm-card:hover .tm-card-avatar {
  border-color: var(--color-green-light);
}

.tm-author-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.tm-author-name {
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.tm-author-role {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.48);
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* ─── Impactful Successes — featured testimonial spotlight ─── */
.is-section {
  background: radial-gradient(120% 140% at 50% 0%, #0c1b12 0%, #060b08 65%);
  padding: 7rem 0;
}

.is-inner {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.is-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--color-green-light);
  text-transform: uppercase;
}

.is-tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-green-light);
  flex-shrink: 0;
  animation: si-dot-pulse 2.2s ease-in-out infinite;
}

.is-heading {
  font-family: var(--font-primary);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.is-heading span {
  background: linear-gradient(135deg, var(--color-green-light), var(--color-green-dark));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.is-quote-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  max-width: 880px;
  margin-top: 1.5rem;
}

.is-mark {
  flex-shrink: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(6rem, 10vw, 9rem);
  font-weight: 700;
  line-height: 0.6;
  background: linear-gradient(180deg, var(--color-green-light), rgba(13, 94, 49, 0.15));
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.55;
  user-select: none;
}

.is-mark-left {
  transform: translateY(0.5rem);
}

.is-mark-right {
  transform: translateY(1.5rem) scaleX(-1);
}

.is-quote-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  max-width: 560px;
}

.is-quote-text {
  font-family: var(--font-primary);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  letter-spacing: -0.01em;
}

.is-quote-text strong {
  color: #ffffff;
  font-weight: 700;
}

.is-author {
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-green-light);
  letter-spacing: 0.02em;
}

/* ─── NRI Support Section ─── */
.nri {
  padding: 100px 0;
  background-color: var(--bg-site);
}

.nri > .container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.nri-grid-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4.5rem;
  align-items: center;
}

.nri-content-col {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.nri-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.nri-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-green-light);
}

.nri-title {
  font-family: var(--font-primary);
  font-size: clamp(2.25rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.nri-description {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.nri-description p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.nri-description .nri-lead-p {
  font-size: 1.15rem;
  color: var(--text-main);
  font-weight: 500;
  line-height: 1.6;
}

.nri-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin: 0.5rem 0;
}

.nri-highlight-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem;
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 18px;
  transition: var(--transition-smooth);
}

.nri-highlight-item:hover {
  border-color: rgba(10, 54, 92, 0.15);
  box-shadow: 0 12px 30px rgba(10, 54, 92, 0.04);
  transform: translateY(-2px);
}

.nri-highlight-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-color: rgba(10, 54, 92, 0.05);
  color: var(--color-primary);
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.nri-highlight-item:hover .nri-highlight-icon {
  background-color: var(--color-primary);
  color: #ffffff;
}

.nri-highlight-icon svg {
  width: 18px;
  height: 18px;
}

.nri-highlight-text {
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.3;
}

.nri-action {
  margin-top: 0.5rem;
}

.nri-link {
  text-decoration: none;
}

.nri-visual-col {
  width: 100%;
}

.nri-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.nri-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 1 / 1.15;
  background-color: #f5f5f4;
  cursor: pointer;
  border: 1px solid var(--border-light);
}

.nri-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nri-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 54, 92, 0.85) 0%, rgba(10, 54, 92, 0.2) 60%, transparent 100%);
  opacity: 0.85;
  transition: var(--transition-smooth);
  z-index: 1;
}

.nri-card:hover .nri-card-overlay {
  opacity: 0.95;
  background: linear-gradient(to top, rgba(13, 94, 49, 0.9) 0%, rgba(10, 54, 92, 0.3) 60%, transparent 100%);
}

.nri-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.75rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  transform: translateY(0);
  transition: var(--transition-smooth);
}

.nri-card-region {
  font-family: var(--font-primary);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.nri-card-tagline {
  font-family: var(--font-secondary);
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nri-card-expand {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  opacity: 0;
  z-index: 2;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.nri-card-expand svg {
  width: 18px;
  height: 18px;
}

.nri-card:hover .nri-card-expand {
  background-color: var(--color-primary);
  color: #ffffff;
}

@media (max-width: 1024px) {
  .nri-grid-container {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
}

@media (max-width: 768px) {
  .nri-highlights {
    gap: 1rem;
  }
  .nri-highlight-item {
    padding: 1rem;
  }
}

@media (max-width: 600px) {
  .nri-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .nri-card {
    aspect-ratio: 4 / 3;
  }
  .nri-highlights {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

/* Simulated Email Popup Notification Overlay */
.inbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(10, 54, 92, 0.4);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.inbox-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.inbox-card {
  width: 90%;
  max-width: 520px;
  background-color: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 60px -10px rgba(10, 54, 92, 0.3);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.inbox-overlay.active .inbox-card {
  transform: scale(1) translateY(0);
}

.inbox-header {
  background-color: var(--color-primary);
  color: #ffffff;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.inbox-header-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1.2rem;
}

.inbox-close {
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  opacity: 0.8;
  transition: var(--transition-fast);
}

.inbox-close:hover {
  opacity: 1;
}

.inbox-body {
  padding: 2rem;
}

.email-notification-toast {
  display: flex;
  gap: 1rem;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 1.25rem;
  background-color: #f9fafb;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.email-notification-toast::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: var(--color-green-light);
}

.email-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.email-details {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.email-meta {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
}

.email-sender {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 0.95rem;
}

.email-time {
  font-size: 0.775rem;
  color: var(--text-muted);
}

.email-subject {
  font-weight: 600;
  color: var(--text-main);
  font-size: 0.9rem;
}

.email-snippet {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.inbox-action {
  width: 100%;
}

/* ─── Responsive Styles (Base Media Queries) ─── */
@media (max-width: 1200px) {
  :root {
    --section-padding: 6rem 1.5rem;
  }

  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
  }

  .bento-col-2 {
    grid-column: span 2;
  }

  .bento-card:nth-child(3) {
    grid-column: span 2;
  }

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

@media (max-width: 992px) {
  header.scrolled .nav-wrapper {
    margin: 0 1rem;
    padding: 0.5rem 1.25rem;
  }

  .nav-links {
    display: none;
  }

  .nav-actions {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-visual {
    height: 450px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    row-gap: 2rem;
    column-gap: 0;
  }

  .about-content {
    max-width: none;
  }

  .about-bg-image {
    display: none;
  }

  .about-photo-card {
    grid-column: 1;
    grid-row: auto;
    justify-self: stretch;
    max-width: none;
    margin: 0;
  }

  .about-points {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .tm-section {
    min-height: 0;
    padding: 0;
  }

  .tm-layout {
    flex-direction: column;
    min-height: 0;
  }

  .tm-left-panel {
    width: 100%;
    min-width: 0;
    position: relative;
    height: auto;
    gap: 1rem;
    padding: 2.5rem 1.5rem 1.75rem;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .tm-heading {
    font-size: 1.65rem;
  }

  .tm-desc {
    font-size: 0.85rem;
    line-height: 1.55;
    max-width: none;
  }

  .tm-nav-arrows {
    margin-top: 0.25rem;
  }

  .tm-nav-btn {
    width: 42px;
    height: 42px;
  }

  .tm-scroll-indicator {
    display: none;
  }

  /* Cards become a compact, touch-friendly horizontal scroller */
  .tm-cards-track {
    align-items: stretch;
    padding: 1.5rem 1.5rem 2rem;
    gap: 1rem;
  }

  .tm-card {
    width: min(300px, 78vw);
    min-height: 0;
    padding: 1.5rem;
    border-radius: 18px;
  }

  .tm-card-quote {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .tm-card-author {
    margin-top: 1.5rem;
    gap: 0.7rem;
  }

  .tm-card-avatar {
    width: 38px;
    height: 38px;
  }

  .tm-author-name {
    font-size: 0.85rem;
  }

  .tm-author-role {
    font-size: 0.72rem;
  }

  .is-section {
    padding: 4.5rem 0;
  }

  .is-heading {
    font-size: 1.9rem;
  }

  .is-quote-wrap {
    gap: 0.5rem;
  }

  .is-mark {
    font-size: 3.5rem;
  }

  .is-quote-text {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .tm-cards-track {
    padding: 1.25rem 1.25rem 1.75rem;
    gap: 0.85rem;
  }

  .tm-card {
    width: min(272px, 82vw);
    padding: 1.25rem;
  }

  .tm-card-quote {
    font-size: 0.88rem;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 4.5rem 1.25rem;
  }

  .about,
  .location-overview,
  .nri,
  .features-section {
    padding: 60px 0;
  }

  .hero-title {
    font-size: clamp(2.5rem, 8vw, 3.75rem);
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .bento-col-2 {
    grid-column: span 1;
  }

  .bento-row-2 {
    grid-row: span 1;
  }

  .bento-card {
    height: auto;
    min-height: 200px;
  }

  .bento-card:nth-child(3) {
    grid-column: span 1;
  }

  .map-container {
    position: relative;
    width: 100%;
    height: 200px;
    border-radius: 0 0 24px 24px;
  }

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

  .gallery-item,
  .gallery-item.height-tall,
  .gallery-item.height-short {
    height: 380px;
  }
}

/* ==========================================================================
   1280PX WRAPPER, VIDEO HERO, TRANSPARENT HEADER, AND BOX-BORDERS OVERRIDES
   ========================================================================== */

/* 1. Global Box-Based UI & No Rounding Override */
* {
  border-radius: 0 !important;
}

/* 2. Page wrapper fits complete screen width */
body {
  background-color: var(--bg-site);
}

.page-wrapper {
  width: 100%;
  position: relative;
  overflow: hidden;
}

/* 3. Transparent / Glass Scrolled Header Nav transitions */
header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.75rem 0;
  /* background-color:  rgb(255 255 255 / 27%); Frosted sheen */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              padding 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              backdrop-filter 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

header .nav-wrapper {
  max-width: var(--container-max-width) !important;
  width: 100% !important; 
  padding: 0 2rem !important;
  margin: 0 auto !important;
}

header.scrolled {
  position: fixed;
  top: 0;
  left: 0;
  transform: none;
  width: 100%;
  padding: 1rem 0;
  background-color: rgba(255, 255, 255, 0.85); /* Slightly translucent */
  border-bottom: 1px solid var(--border-light);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--glass-shadow);
}

/* Clean transparent wrappers */
header.scrolled .nav-wrapper {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 2rem !important;
  margin: 0 auto !important;
  max-width: var(--container-max-width) !important;
  width: 100% !important;
  backdrop-filter: none !important;
}

@media (max-width: 992px) {
  header .nav-wrapper,
  header.scrolled .nav-wrapper {
    padding: 0 2rem !important;
  }
}

@media (max-width: 576px) {
  header .nav-wrapper,
  header.scrolled .nav-wrapper {
    padding: 0 1.25rem !important;
  }
  .hero-video-container {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }
  .about > .container {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }
  .location-overview > .container,
  .nri > .container,
  .cf-contact-panel .container,
  .cf-footer .container,
  .features-section > .container {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }
}

/* Initial white links (on top of dark hero video) */
header:not(.scrolled) .nav-item {
  color: #ffffff;
}

header.scrolled .nav-item {
  color: var(--color-primary);
}

header:not(.scrolled) .mobile-toggle span {
  background-color: #ffffff;
}

header.scrolled .mobile-toggle span {
  background-color: var(--color-primary);
}

/* Button transitions in header */
header:not(.scrolled) .btn-secondary {
  background-color: rgb(255 255 255 / 82%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #0a365c;
  backdrop-filter: none;
}

header:not(.scrolled) .btn-secondary:hover {
  background-color: #ffffff;
  color: var(--color-primary);
  border-color: #ffffff;
}

header.scrolled .btn-secondary {
  background-color: transparent;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
}

header.scrolled .btn-secondary:hover {
  background-color: var(--color-primary);
  color: #ffffff;
}



/* 4. Full-Screen 100vh Video Hero Section styles */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0;
  background-color: #050a12;
}

.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right top; /* keep the businessman aligned to the right side and top to show the face */
  z-index: 1;
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(171, 216, 255, 0.327) 0%, rgba(142, 202, 255, 0.087) 20%, rgba(138, 174, 206, 0.223) 60%, rgba(10, 54, 92, 0.15) 80%, transparent 100%), linear-gradient(to bottom, rgba(10, 54, 92, 0) 0%, transparent 60%, rgba(10, 54, 92, 0.85) 100%);
  z-index: 2;
}

.hero-video-container {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 2rem 12% 2rem; /* Matches header horizontal padding */
}

.hero-text-block {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-video-title {
  font-family: var(--font-primary);
  font-size: clamp(2.5rem, 4.2vw, 3.35rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

/* Cycling word animation container — clips the slide-blur motion */
.word-wrapper {
  display: inline-block;
  position: relative;
  overflow: hidden;
  height: 1.18em;       /* slightly taller than line-height to avoid clip */
  vertical-align: bottom;
  line-height: inherit;
}

/* The animated word itself */
#changing-word,
#changing-word-features {
  display: inline-block;
  color: var(--color-yellow); /* #f9b012 — pops on dark hero overlay */
  will-change: transform, opacity, filter;
  line-height: 1.12;
}

.hero-video-subtitle {
  font-family: var(--font-secondary);
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 580px;
  line-height: 1.6;
}

.hero-video-actions {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.hero-video-btn {
  background-color: #ffffff;
  color: var(--color-primary);
  padding: 1rem 2.5rem;
  font-weight: 600;
  border: 1px solid #ffffff;
  transition: var(--transition-fast);
}

.hero-video-btn:hover {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.btn-video-text {
  font-family: var(--font-primary);
  font-weight: 600;
  color: #ffffff;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 0.25rem;
  transition: var(--transition-fast);
}

.btn-video-text:hover {
  border-bottom-color: #ffffff;
  transform: translateX(3px);
}

.hero-video-metadata {
  position: absolute;
  bottom: 4%;
  left: 2rem;
  right: 2rem;
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.775rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  font-family: var(--font-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
}

/* 5. Stats Strip below Hero - Redesigned Premium Layout */
.hero-stats-strip {
  width: 100%;
  background: none;
  border-bottom: 1px solid var(--border-light);
  padding: 8rem 2rem;
  position: relative;
  overflow: hidden;
}

.stats-new-grid {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 3rem;
  max-width: var(--container-max-width);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.stats-new-left {
  padding-top: 0.5rem;
}

.stats-new-tag {
  font-family: var(--font-secondary);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.stats-new-tag .tag-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-green-light);
  display: inline-block;
}

.stats-new-right {
  display: flex;
  flex-direction: column;
}

.stats-new-desc {
  font-family: var(--font-primary);
  font-size: clamp(1.5rem, 2.5vw, 2.15rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-primary);
  letter-spacing: -0.015em;
  margin-bottom: 4rem;
  max-width: 820px;
}

.reveal-char {
  color: #c5cdd6; /* elegant light blue-grey */
  transition: color 0.2s ease;
}

.reveal-char.active {
  color: var(--color-primary);
}

.stats-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.stats-card {
  background-color: #fafbfc;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--border-light);
  transition: var(--transition-smooth), box-shadow 0.4s ease;
}

.stats-card:hover {
  background-color: #ffffff;
  border-color: rgba(10, 54, 92, 0.14);
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -24px rgba(10, 54, 92, 0.2) !important;
}

.stats-card-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(10, 54, 92, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  border: 1px solid rgba(10, 54, 92, 0.08);
  margin-bottom: 2rem;
  transition: var(--transition-smooth);
}

.stats-card:hover .stats-card-icon {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
  transform: scale(1.05) rotate(-4deg);
}

.stats-card-icon svg {
  width: 21px;
  height: 21px;
  stroke-width: 2px;
}

.stats-card-number {
  font-family: var(--font-primary);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  display: flex;
  align-items: center;
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}

.stats-card-number span.plus {
  color: var(--color-green-light);
  margin-left: 2px;
}

.stats-card-label {
  font-family: var(--font-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-muted);
  font-weight: 500;
}

/* Responsive Overrides */
@media (max-width: 992px) {
  header.scrolled {
    left: 0;
    transform: none;
    max-width: 100%;
  }

  .hero-video-container {
    padding: 0 2rem 15% 2rem;
  }

  .hero-video-metadata {
    left: 2rem;
    right: 2rem;
  }

  .hero-stats-strip {
    padding: 2.5rem 2rem;
  }
}

/* ==========================================================================
   TABLET HERO — 769px to 1024px
   Centers the person in frame, tightens text hierarchy and CTA sizing so
   the hero doesn't feel stretched between the mobile and desktop layouts.
   ========================================================================== */
@media (min-width: 769px) and (max-width: 1024px) {
  /* 1. Center the person's face/upper body symmetrically in the frame.
     Source image is 3840x2160 with the face sitting at ~76% across, so at
     cover-cropped tablet aspect ratios we shift x toward that mark to bring
     the face to the visual center rather than using a literal 50%. */
  .hero-bg-image {
    object-position: 78% 18%;
  }

  /* Tablet: no full-screen overlay — show the person clearly.
     Only a slim bottom-fade keeps the text block legible. */
  .hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(to top, rgba(5, 10, 18, 0.72) 0%, rgba(5, 10, 18, 0.38) 28%, transparent 55%);
    pointer-events: none;
  }

  .hero-video-container {
    padding: 0 3rem 13% 3rem;
  }

  .hero-text-block {
    max-width: 560px;
    gap: 1.15rem;
  }

  /* 2. Tuned type scale for tablet proportions */
  .hero-video-title {
    font-size: 2.6rem;
    line-height: 1.16;
    letter-spacing: -0.02em;
  }

  .hero-video-subtitle {
    font-size: 0.98rem;
    max-width: 460px;
    line-height: 1.6;
  }

  /* 3. Balanced CTA sizing — smaller than desktop, larger than mobile */
  .hero-video-actions {
    gap: 1.75rem;
    margin-top: 1rem;
  }

  .hero-video-btn {
    padding: 0.85rem 1.85rem;
    font-size: 0.95rem;
  }

  .btn-video-text {
    font-size: 0.95rem;
  }

  /* 4. Metadata + scroll cue spacing */
  .hero-video-metadata {
    left: 3rem;
    right: 3rem;
    bottom: 5%;
    font-size: 0.72rem;
  }

  /* 5. Hero stats strip — keep the 3-card grid but scale it down so it
     doesn't feel cramped between the mobile (stacked) and desktop layouts. */
  .hero-stats-strip {
    padding: 4.5rem 2.5rem;
  }

  .stats-new-grid {
    grid-template-columns: 1fr 4fr;
    gap: 2rem;
  }

  .stats-new-desc {
    font-size: 1.35rem;
    line-height: 1.45;
    margin-bottom: 2.25rem;
    max-width: 100%;
  }

  .stats-cards-grid {
    gap: 1.1rem;
  }

  .stats-card {
    padding: 1.4rem;
  }

  .stats-card-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 1.25rem;
  }

  .stats-card-icon svg {
    width: 17px;
    height: 17px;
  }

  .stats-card-number {
    font-size: 2rem;
    margin-bottom: 0.6rem;
  }

  .stats-card-label {
    font-size: 0.82rem;
    line-height: 1.45;
  }
}

@media (max-width: 768px) {
  .hero-video-container {
    padding-bottom: 9%;
  }

  /* 1. Center the person/background image on mobile + darken for legibility */
  .hero-bg-image {
    /* Source image is 3840x2160 with the face sitting at ~76% across;
       object-fit:cover matches viewport height exactly on portrait phones,
       so only the x-offset matters — 84% brings the face to screen-center. */
    object-position: 84% center;
  }

  /* Mobile: no full-screen overlay — show the person clearly.
     A gentle bottom-only fade keeps text readable without masking the image. */
  .hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(to top, rgba(5, 10, 18, 0.80) 0%, rgba(5, 10, 18, 0.42) 30%, transparent 58%);
    pointer-events: none;
  }

  /* 2. Tighter, harmonious text sizing */
  .hero-video-title {
    font-size: 1.7rem;
    line-height: 1.22;
  }

  .hero-video-subtitle {
    font-size: 0.9rem;
    line-height: 1.55;
  }

  /* 3. Smaller CTAs, side-by-side instead of stacked */
  .hero-video-actions {
    gap: 1.6rem;
    margin-top: 1rem;
    flex-wrap: nowrap;
  }

  .hero-video-btn {
    padding: 0.6rem 1.1rem;
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .btn-video-text {
    font-size: 0.82rem;
    gap: 0.35rem;
    white-space: nowrap;
  }

  .hero-video-metadata {
    display: none; /* Hide metadata lines on mobile for cleaner layout */
  }

  .stats-new-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .stats-new-desc {
    margin-bottom: 2.5rem;
  }

  .stats-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .stats-card {
    padding: 1.75rem;
  }
}

/* ==========================================================================
   DESKTOP HERO — 1200px and above
   Header is position:absolute and overlays the hero by design (transparent
   glass nav on the background photo). .hero-video-container bottom-anchors
   its text (justify-content: flex-end) inside a 100vh box, so on shorter
   desktop viewports (e.g. a maximized browser window with toolbars eating
   into vh, or a laptop whose real innerHeight is well under its screen
   resolution) the heading can be pushed up far enough to render underneath
   the header. Reserving padding-top equal to the header's real height keeps
   the text clear of it, and min-height puts a floor under the hero itself
   so it can never get short enough for that padding-top to be breached.
   Both values are split into two width tiers because .hero-video-container's
   padding-bottom (12%) is resolved against viewport width, so wider desktop
   viewports need proportionally more reserved space. Neither value has any
   effect at already-working (taller) viewports — the bottom-anchored text
   already sits well clear of the header there.
   ========================================================================== */
@media (min-width: 1200px) {
  .hero-video-container {
    padding-top: 170px;
  }

  .hero {
    min-height: 760px;
  }
}

@media (min-width: 1440px) {
  .hero {
    min-height: 820px;
  }
}

/* ==========================================================================
   VANTA BIRDS — AMBIENT INTERACTIVE BACKGROUND
   ========================================================================== */

/* Fixed canvas container — rendered BEHIND all page content */
#vanta-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none; /* clicks/hovers pass through to content */
}

/* Hero section: sits clearly above Vanta (z-index 0).
   Its dark video background covers the Vanta canvas completely.
   NOTE: do NOT touch header here — it's already position:absolute / z-index:100
         via the overrides above and must stay that way for the glass nav to work. */
main > .hero {
  position: relative;
  z-index: 2;
}

/* page-wrapper holds all scrollable content sections — above Vanta */
.page-wrapper {
  position: relative;
  z-index: 2;
}

.features,
.gallery,
.testimonials,
.partners {
  background-color: transparent !important;
}

/* Smart Investors section keeps its dark navy — never made transparent */
.smart-investors {
  background-color: #0d1b2a !important;
}

/* About section keeps its own solid dark navy — never made transparent */
.about {
  background-color: #0d1b2a !important;
}

/* Body transparent — Vanta's backgroundColor: 0xffffff acts as the page bg */
body {
  background-color: transparent;
}

/* ==========================================================================
   SCROLL REVEAL TEXT COLOR FILL ANIMATION
   ========================================================================== */
h2.section-title {
  position: relative;
  display: inline-block;
  color: var(--color-primary) !important; /* Base color: solid navy blue */
  text-align: inherit;
}

/* Base style for the color-filled overlay */
h2.section-title .title-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: var(--color-green-light) !important; /* Target color: brand green */
  clip-path: inset(0 100% 0 0);
  pointer-events: none;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  text-align: inherit;
  display: inline-block;
  opacity: 0.2;
  filter: blur(8px);
  will-change: clip-path, opacity, filter;
}

/* Grey-to-navy reveal modifier */
h2.section-title.navy-reveal {
  color: #c5cdd6 !important; /* Base color: elegant light blue-grey */
}

h2.section-title.navy-reveal .title-fill {
  color: var(--color-primary) !important; /* Target color: deep navy blue */
}


/* ─── Smart Investors: Responsive ─── */
@media (max-width: 1024px) {
  .si-layout {
    flex-direction: column;
    min-height: auto;
  }

  .si-left-panel {
    width: 100%;
    height: auto;
    position: relative;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 4rem 2rem 3rem 2rem;
    gap: 1.25rem;
  }

  .si-scroll-indicator {
    display: none;
  }

  .si-cards-track {
    padding: 2rem 1.5rem 3rem 1.5rem;
    align-items: flex-start;
  }

  .si-card {
    width: 300px;
  }
}

@media (max-width: 600px) {
  .si-left-panel {
    padding: 3rem 1.5rem 2rem 1.5rem;
  }

  .si-card {
    width: 80vw;
  }

  .si-card-img-wrap {
    height: 200px;
  }
}

/* ==========================================================================
   FEATURES SECTION - PREMIUM 2X3 GRID WITH MIXED CARDS
   ========================================================================== */

.features-section {
  padding: 120px 0;
  background-color: transparent;
  position: relative;
  overflow: hidden;
}

.features-section > .container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.features-header-wrap {
  margin-bottom: 4.5rem;
  max-width: 800px;
  text-align: left;
}

.features-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-primary);
  font-weight: 700;
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.features-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-green-light);
}

.features-title {
  font-family: var(--font-primary);
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.features-subtitle {
  font-family: var(--font-secondary);
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 2.25rem;
}

.features-actions {
  display: flex;
  gap: 1rem;
}

/* Redesigned Features Layout */
.features-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: stretch;
}

/* Left Column: Full-Height Image Card */
.feature-image-cover-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  height: 100%;
  min-height: 520px;
  border: 1px solid rgba(10, 54, 92, 0.08);
  box-shadow: 0 10px 30px rgba(10, 54, 92, 0.03);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.feature-image-cover-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(10, 54, 92, 0.06);
}

.feature-image-cover-card .card-image-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.feature-image-cover-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-image-cover-card:hover img {
  transform: scale(1.05);
}

.features-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 54, 92, 0.35) 0%, transparent 60%);
  z-index: 2;
  transition: background 0.5s ease;
}

.feature-image-cover-card:hover .features-image-overlay {
  background: linear-gradient(to top, rgba(10, 54, 92, 0.45) 0%, transparent 60%);
}

.features-image-content {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  max-width: 440px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 16px;
  padding: 2.25rem 2rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 15px 35px rgba(10, 54, 92, 0.08);
}

.feature-image-cover-card:hover .features-image-content {
  background: rgba(255, 255, 255, 0.88);
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(10, 54, 92, 0.12);
}

.features-image-tag {
  font-family: var(--font-secondary);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-green-light);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.features-image-title {
  font-family: var(--font-primary);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.01em;
}

.features-image-divider {
  width: 40px;
  height: 2px;
  background-color: var(--color-green-light);
  margin: 0.25rem 0;
}

.features-image-desc {
  font-family: var(--font-secondary);
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Right Column: 2x2 Content Cards Grid */
.features-right-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.feature-card.content-card {
  background: #ffffff;
  border: 1px solid rgba(10, 54, 92, 0.05);
  border-radius: 20px;
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(10, 54, 92, 0.02);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.feature-card.content-card:hover {
  transform: translateY(-6px);
  border-color: rgba(10, 54, 92, 0.1);
  box-shadow: 0 15px 35px rgba(10, 54, 92, 0.05);
}

/* Cursor-follow spotlight glow, driven by --mouse-x / --mouse-y set in main.js */
.feature-card.content-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(500px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 142, 206, 0.07), transparent 45%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.feature-card.content-card:hover::before {
  opacity: 1;
}

/* Card Top Row: Icon on left, Number on right */
.card-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  z-index: 2;
}

.card-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: rgba(0, 142, 206, 0.05);
  color: var(--color-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-icon-box svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.8;
  transition: transform 0.4s ease;
}

.feature-card.content-card:hover .card-icon-box {
  background-color: var(--color-blue);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 142, 206, 0.2);
  transform: scale(1.05);
}

.feature-card.content-card:hover .card-icon-box svg {
  transform: scale(1.05);
}

.card-num {
  font-family: var(--font-primary);
  font-size: 2.25rem;
  font-weight: 800;
  color: #f1f5f9;
  line-height: 1;
  transition: color 0.4s ease;
  user-select: none;
}

.feature-card.content-card:hover .card-num {
  color: #e2e8f0;
}

.feature-card.content-card .card-title {
  font-family: var(--font-primary);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
  line-height: 1.3;
  min-height: calc(1.3em * 2);
  transition: color 0.4s ease;
  z-index: 2;
}

.feature-card.content-card:hover .card-title {
  color: var(--color-blue);
}

.feature-card.content-card .card-description {
  font-family: var(--font-secondary);
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.75rem;
  min-height: calc(1.6em * 3);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3; /* Standard property for compatibility */
  overflow: hidden;
  z-index: 2;
}

/* Card CTA Link */
.card-cta {
  font-family: var(--font-primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  text-transform: uppercase;
  text-decoration: none;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  transition: color 0.3s ease;
  z-index: 2;
}

.card-cta span {
  display: inline-flex;
  align-items: center;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card.content-card:hover .card-cta {
  color: var(--color-blue);
}

.feature-card.content-card:hover .card-cta span {
  transform: translateX(4px);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .features-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .feature-image-cover-card {
    min-height: 480px;
  }
}

@media (max-width: 768px) {
  .features-title {
    font-size: 32px;
  }

  .features-right-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .feature-card.content-card {
    min-height: 0;
    padding: 1.75rem;
  }

  .card-top-row {
    margin-bottom: 1.25rem;
  }

  .feature-card.content-card .card-title {
    min-height: 0;
  }

  .feature-card.content-card .card-description {
    min-height: 0;
    -webkit-line-clamp: 4;
    line-clamp: 4;
  }

  .feature-image-cover-card {
    min-height: 400px;
  }

  .features-image-content {
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.5rem;
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .feature-image-cover-card {
    min-height: 350px;
  }
  
  .features-image-content {
    padding: 1.25rem;
  }
  
  .features-image-title {
    font-size: 1.35rem;
  }
  
  .feature-card.content-card {
    padding: 1.5rem;
  }

  .card-icon-box {
    width: 42px;
    height: 42px;
  }

  .card-num {
    font-size: 1.85rem;
  }

  .card-top-row {
    margin-bottom: 1rem;
  }
}

/* ==========================================================================
   OUR WORKS — GSAP Scroll-Driven Fullscreen Showcase
   ========================================================================== */

.works-section {
  position: relative;
  background: #ffffff;
}

/* ── Works Hero / Intro Panel ── */
.works-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 6rem 2rem 4rem;
  text-align: center;
  background: var(--color-primary);
  position: relative;
  overflow: hidden;
}

.works-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 20% 80%, rgba(75,183,73,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(0,142,206,0.1) 0%, transparent 60%);
  pointer-events: none;
}

.works-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-secondary);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-green-light);
  border: 1px solid rgba(75,183,73,0.3);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.works-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-green-light);
  animation: pulse-dot 2s ease-in-out infinite;
}

.works-hero-title {
  font-family: var(--font-primary);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.0;
  letter-spacing: -0.04em;
  position: relative;
  z-index: 1;
  /* clip mask for SplitText char animation */
  overflow: visible;
}

/* ── Work Items — Fullscreen Scroll Panels ── */
.work-item {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

/* ── Work Item Image (covers full panel, clip-path animated) ── */
.work-item-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  /* clip-path start state set by JS */
  clip-path: polygon(25% 25%, 75% 40%, 100% 100%, 0% 100%);
  will-change: clip-path;
}

.work-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.05);
}

/* Dark gradient overlay for readability */
.work-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 54, 92, 0.82) 0%,
    rgba(10, 54, 92, 0.35) 40%,
    rgba(10, 54, 92, 0.0) 70%
  );
  z-index: 1;
  pointer-events: none;
}

/* ── Work Item Name (large title at bottom-left) ── */
.work-item-name {
  position: relative;
  z-index: 2;
  padding: 0 3.5rem 3.5rem;
  flex: 1;
}

.work-item-name h1 {
  font-family: var(--font-primary);
  font-size: clamp(2.8rem, 7vw, 6.5rem);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.04em;
  line-height: 1.0;
  overflow: hidden; /* clip mask for the char split animation */
}

/* The individual char wrappers created by our JS SplitText-alike */
.char-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

.char {
  display: inline-block;
  transform: translateY(125%);
  will-change: transform;
}

/* ── Work Item Meta (tag + number at bottom-right) ── */
.work-item-meta {
  position: relative;
  z-index: 2;
  padding: 0 3.5rem 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.work-item-tag {
  font-family: var(--font-secondary);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-green-light);
  border: 1px solid rgba(75,183,73,0.4);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  white-space: nowrap;
}

.work-item-num {
  font-family: var(--font-primary);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  color: rgba(255,255,255,0.12);
  line-height: 1;
  letter-spacing: -0.05em;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .works-hero {
    min-height: 45vh;
    padding: 5rem 1.5rem 3rem;
  }

  .work-item-name {
    padding: 0 1.5rem 2.5rem;
  }

  .work-item-meta {
    padding: 0 1.5rem 2.5rem;
    gap: 0.5rem;
  }

  .work-item-num {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .work-item-name h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .work-item {
    height: 85vh;
  }
}

/* ── Premium Section Reveal Animations ── */
.gsap-reveal-active * {
  transition: none !important;
}

.gsap-reveal-target {
  will-change: transform, opacity;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* ─── See the Masterplan Button & Lightbox Overlay ─── */
.btn-masterplan {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 9999px;
  color: #ffffff;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition-fast);
  cursor: pointer;
  margin-bottom: 2.25rem;
  width: fit-content;
}

.btn-masterplan:hover {
  background-color: var(--color-green-light);
  border-color: var(--color-green-light);
  color: #ffffff;
}

.mp-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), backdrop-filter 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mp-lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.mp-lightbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(13, 27, 42, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.mp-lightbox-content {
  position: relative;
  z-index: 2;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.95);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mp-lightbox.active .mp-lightbox-content {
  transform: scale(1);
}

.mp-lightbox-img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.mp-lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, transform 0.2s ease;
}

.mp-lightbox-close:hover {
  color: var(--color-green-light);
  transform: rotate(90deg);
}

@media (max-width: 768px) {
  .mp-lightbox-close {
    top: 10px;
    right: 10px;
    background: rgba(13, 27, 42, 0.7);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 10;
  }
}

/* ==========================================================================
   BRAND PILLARS SECTION (.rr-pillars)
   ========================================================================== */
.rr-pillars {
  position: relative;
  overflow: hidden;
  min-height: 100vh; /* section grows to fit fixed-height cards instead of clipping them */
  display: flex;
  align-items: center;
  padding: 6rem 0;
  background-color: #0d1b2a; /* Deep Navy to match About */
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  --rr-accent-mint: #b9ffda;
  --rr-accent-blue: #c8e6f5;
  --rr-accent-green: #4bb749;   /* logo brand green */
}

.rr-pillars > .container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
}

/* Section Header */
.rr-pillars-header {
  max-width: 800px;
  text-align: left;
}

.rr-pillars-eyebrow {
  display: inline-block;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--rr-accent-green);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.rr-pillars-heading {
  font-family: var(--font-primary);
  font-size: clamp(2.3rem, 4.5vw, 3.8rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 3.5rem;
}

.rr-pillars-heading span {
  color: var(--color-yellow);
}

.rr-pillars-subtext {
  font-family: var(--font-secondary);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

/* Desktop Grid (Side-by-side vertical panels) */
.rr-pillars-grid {
  display: flex;
  gap: 1.5rem;
  width: 100%;
}

/* Individual Panel */
.rr-panel {
  flex: 1 1 0; /* fixed equal width for all panels */
  height: 500px; /* fixed height, independent of viewport/zoom so content never clips */
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.4s ease, background-color 0.4s ease;
}

.rr-panel:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.03);
}

.rr-panel:focus-visible {
  outline: 2px solid var(--rr-accent-green);
  outline-offset: 4px;
  background: rgba(255, 255, 255, 0.05);
}

/* Custom Glow Effect inside panel */
.rr-panel-glow {
  position: absolute;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(75, 183, 73, 0.07) 0%, rgba(75, 183, 73, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.4s ease;
  z-index: 1;
}

.rr-panel.is-active .rr-panel-glow {
  opacity: 1;
}

/* Panel Content wrapper */
.rr-panel-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}

.rr-panel-content * {
  pointer-events: auto;
}

.rr-panel-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.rr-panel-num {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--rr-accent-green);
}

.rr-panel:nth-child(2) .rr-panel-num {
  color: var(--rr-accent-green);
}

.rr-panel-label-small {
  font-family: var(--font-secondary);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
  opacity: 1;
  transition: opacity 0.4s ease;
}

.rr-panel.is-active .rr-panel-label-small {
  opacity: 1;
}

.rr-panel-title {
  font-family: var(--font-primary);
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.5rem;
  transition: color 0.3s ease;
}

.rr-panel.is-active .rr-panel-title {
  color: var(--rr-accent-green);
}

.rr-panel:nth-child(2).is-active .rr-panel-title {
  color: var(--rr-accent-green);
}

/* Body Content (fade/slide) */
.rr-panel-body {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.rr-panel.is-active .rr-panel-body {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

.rr-panel-desc {
  font-family: var(--font-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

/* CTA Button */
.rr-panel-bottom {
  margin-top: auto;
  padding-top: 2rem;
}

.rr-panel-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--rr-accent-green);
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s ease, transform 0.4s ease, color 0.3s ease;
}

.rr-panel:nth-child(2) .rr-panel-cta {
  color: var(--rr-accent-green);
}

.rr-panel.is-active .rr-panel-cta {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.15s;
}

.rr-panel-cta svg {
  transition: transform 0.3s ease;
}

.rr-panel-cta:hover svg {
  transform: translateX(4px);
}

/* Background architectural artwork */
.rr-panel-artwork {
  position: absolute;
  bottom: -15px;
  right: -15px;
  width: clamp(160px, 14vw, 240px);
  height: clamp(160px, 14vw, 240px);
  pointer-events: none;
  z-index: 1;
  color: rgba(255, 255, 255, 0.35);
  transition: opacity 0.4s ease, transform 0.4s ease;
  opacity: 0.25;
}

.rr-panel.is-active .rr-panel-artwork {
  opacity: 0.7;
  color: var(--rr-accent-green);
}

.rr-panel:nth-child(2).is-active .rr-panel-artwork {
  color: var(--rr-accent-green);
}

.rr-panel-svg {
  width: 100%;
  height: 100%;
  display: block;
}



/* ═══════════════════════════════════════════════════════════════
   AMENITIES GALLERY LIGHTBOX
   ═══════════════════════════════════════════════════════════════ */

.am-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0.4s;
}

.am-lightbox.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0s;
}

.am-lightbox-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(13, 27, 42, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.am-lightbox-content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 5.5rem 5vw 1.5rem;
  transform: scale(0.94);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.am-lightbox.active .am-lightbox-content {
  transform: scale(1);
  opacity: 1;
}

.am-lightbox-close {
  position: absolute;
  top: 1.75rem;
  right: 1.75rem;
  width: 46px;
  height: 46px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.am-lightbox-close:hover {
  color: #0d1b2a;
  background-color: var(--color-green-light);
  border-color: var(--color-green-light);
  transform: rotate(90deg);
}

.am-lightbox-counter {
  position: absolute;
  top: 2.1rem;
  left: 2rem;
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.7);
  z-index: 5;
}

.am-lightbox-main {
  position: relative;
  flex: 1;
  width: 100%;
  max-width: 1500px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}

.am-lightbox-stage {
  position: relative;
  width: 100%;
  height: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.am-lightbox-img {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: scale(0.985);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.am-lightbox-img.is-visible {
  opacity: 1;
  transform: scale(1);
}

.am-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  background-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  cursor: pointer;
  z-index: 4;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.2s ease, opacity 0.2s ease;
}

.am-lightbox-prev { left: 1.5vw; }
.am-lightbox-next { right: 1.5vw; }

.am-lightbox-nav:hover:not(:disabled) {
  background-color: var(--color-green-light);
  border-color: var(--color-green-light);
  color: #0d1b2a;
  transform: translateY(-50%) scale(1.08);
}

.am-lightbox-nav:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

.am-lightbox-info {
  flex-shrink: 0;
  text-align: center;
  padding: 0 1rem;
}

.am-lightbox-title {
  font-family: var(--font-primary);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.am-lightbox-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
  max-width: 560px;
  margin: 0 auto;
}

.am-lightbox-thumbs {
  flex-shrink: 0;
  display: flex;
  gap: 0.55rem;
  max-width: 100%;
  overflow-x: auto;
  padding: 0.25rem 0.25rem 0.25rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.am-lightbox-thumbs::-webkit-scrollbar {
  display: none;
}

.am-lightbox-thumb {
  flex-shrink: 0;
  width: 64px;
  height: 46px;
  border-radius: 7px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
  padding: 0;
  background: none;
}

.am-lightbox-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.am-lightbox-thumb:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.am-lightbox-thumb.is-active {
  opacity: 1;
  border-color: var(--color-green-light);
}

@media (max-width: 768px) {
  .am-lightbox-content {
    padding: 4.5rem 0.75rem 1rem;
    gap: 0.65rem;
  }

  .am-lightbox-close {
    top: 1.1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
  }

  .am-lightbox-counter {
    top: 1.3rem;
    left: 1.25rem;
  }

  .am-lightbox-nav {
    width: 40px;
    height: 40px;
  }

  .am-lightbox-prev { left: 0.5rem; }
  .am-lightbox-next { right: 0.5rem; }

  .am-lightbox-img {
    max-width: 100%;
  }

  .am-lightbox-title {
    font-size: 1.05rem;
  }

  .am-lightbox-desc {
    font-size: 0.82rem;
  }

  .am-lightbox-thumb {
    width: 56px;
    height: 40px;
  }
}

/* ─────────────────────────────────────────────────────────────
   BRAND PILLARS – RESPONSIVE OVERHAUL
   Breakpoints:  ≤1024  tablet  |  ≤768  small-tablet  |  ≤480  mobile
   ───────────────────────────────────────────────────────────── */

/* ── TABLET (≤1024px) ─────────────────────────────── */
@media (max-width: 1024px) {

  /* Section – leave normal document flow; no 100vh constraint */
  .rr-pillars {
    height: auto;
    min-height: auto;
    display: block;
    padding: 5rem 0 4rem;
  }

  /* Container resets */
  .rr-pillars > .container {
    height: auto;
    max-height: none;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    padding: 0 1.75rem;
  }

  /* Header block */
  .rr-pillars-header {
    max-width: 100%;
  }

  .rr-pillars-eyebrow {
    font-size: 0.8rem;
    margin-bottom: 0.65rem;
  }

  .rr-pillars-heading {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    margin-bottom: 0.75rem;
    line-height: 1.2;
  }

  .rr-pillars-subtext {
    font-size: 1rem;
    line-height: 1.65;
  }

  /* Grid → vertical accordion stack */
  .rr-pillars-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-height: auto;
    width: 100%;
  }

  /* ── Accordion panel shell ── */
  .rr-panel {
    flex: none !important;
    width: 100%;
    height: auto; /* override desktop's fixed 560px so the accordion sizes to its content */
    min-height: auto;
    border-radius: 16px;
    padding: 0;                         /* managed by inner elements */
    border: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.35s ease, background-color 0.35s ease;
  }

  .rr-panel.is-active {
    border-color: rgba(75,183,73,0.35); /* logo-green tint */
    background: rgba(75,183,73,0.04);
  }

  /* focus ring */
  .rr-panel:focus-visible {
    outline: 2px solid var(--color-green-light);
    outline-offset: 2px;
  }

  /* Content wrapper: always visible, acts as the accordion header */
  .rr-panel-content {
    height: auto;
    display: block;
    padding: 1.5rem 1.5rem 0;          /* top / sides; bottom added below */
    pointer-events: none;
  }

  .rr-panel-content * {
    pointer-events: auto;
  }

  /* Meta row (number + label) */
  .rr-panel-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.6rem;
  }

  .rr-panel-num {
    font-size: 1rem;
    color: var(--color-green-light);
  }

  /* All three numbers use the same brand green on mobile */
  .rr-panel:nth-child(2) .rr-panel-num {
    color: var(--color-green-light);
  }

  .rr-panel-label-small {
    display: inline-block;             /* re-show on tablet as small tag */
    opacity: 0;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.5);
    transition: opacity 0.3s ease;
  }

  .rr-panel.is-active .rr-panel-label-small {
    opacity: 1;
  }

  /* Title – always visible, acts as accordion trigger */
  .rr-panel-title {
    font-size: 1.3rem;
    margin-bottom: 0;
    color: rgba(255,255,255,0.85);
    transition: color 0.3s ease;
    padding-bottom: 1.25rem;
  }

  .rr-panel.is-active .rr-panel-title {
    color: var(--color-green-light);
    padding-bottom: 0.5rem;
  }

  /* Hide per-panel blue active override – use uniform green on mobile */
  .rr-panel:nth-child(2).is-active .rr-panel-title {
    color: var(--color-green-light);
  }

  /* ── Accordion: body collapses/expands ── */
  /* No horizontal padding here — .rr-panel-content already sets the left/right
     inset, so body text stays flush with the title above it. */
  .rr-panel-body {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: none !important;
    padding: 0;
    transition:
      max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1),
      opacity    0.4s ease,
      padding    0.4s ease;
  }

  .rr-panel.is-active .rr-panel-body {
    max-height: 260px;
    opacity: 1;
    padding: 0 0 1rem;
  }

  .rr-panel-desc {
    font-size: 0.97rem;
    line-height: 1.65;
  }

  /* ── Accordion: bottom / CTA collapses/expands ── */
  .rr-panel-bottom {
    padding: 0;
    margin-top: 0;
    max-height: 0;
    overflow: hidden;
    transition:
      max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1),
      padding    0.4s ease;
  }

  .rr-panel.is-active .rr-panel-bottom {
    max-height: 70px;
    padding: 0 0 1.5rem;
  }

  .rr-panel-cta {
    display: inline-flex;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: none !important;
    color: var(--color-green-light);
    transition:
      opacity    0.35s ease 0.1s,
      max-height 0.4s ease;
  }

  .rr-panel:nth-child(2) .rr-panel-cta {
    color: var(--color-green-light);
  }

  .rr-panel.is-active .rr-panel-cta {
    opacity: 1;
    max-height: 40px;
  }

  /* Artwork – small, tucked in corner */
  .rr-panel-artwork {
    width: 90px;
    height: 90px;
    bottom: 8px;
    right: 8px;
    opacity: 0.22;
    color: rgba(255,255,255,0.45);
  }

  .rr-panel.is-active .rr-panel-artwork {
    opacity: 0.4;
    color: var(--color-green-light);
  }

  .rr-panel:nth-child(2).is-active .rr-panel-artwork {
    color: var(--color-green-light);
  }

  /* Kill desktop glow on touch devices */
  .rr-panel-glow {
    display: none;
  }
}

/* ── SMALL TABLET (≤768px) ────────────────────────── */
@media (max-width: 768px) {

  .rr-pillars {
    padding: 4.5rem 0 3.5rem;
  }

  .rr-pillars > .container {
    padding: 0 1.25rem;
    gap: 2rem;
  }

  .rr-pillars-heading {
    font-size: clamp(1.65rem, 6vw, 2.4rem);
  }

  .rr-pillars-subtext {
    font-size: 0.97rem;
  }

  .rr-pillars-grid {
    gap: 0.6rem;
  }

  .rr-panel-title {
    font-size: 1.2rem;
  }

  .rr-panel-content {
    padding: 1.25rem 1.25rem 0;
  }

  /* Body/CTA keep zero horizontal padding (set at ≤1024px) so they stay
     aligned with the title's left margin — only the vertical rhythm changes here. */
  .rr-panel.is-active .rr-panel-body {
    padding: 0 0 0.9rem;
  }

  .rr-panel.is-active .rr-panel-bottom {
    padding: 0 0 1.25rem;
  }

  .rr-panel-artwork {
    width: 75px;
    height: 75px;
  }
}

/* ── MOBILE (≤480px) ──────────────────────────────── */
@media (max-width: 480px) {

  .rr-pillars {
    padding: 4rem 0 3rem;
  }

  .rr-pillars > .container {
    padding: 0 1rem;
    gap: 1.75rem;
  }

  .rr-pillars-eyebrow {
    font-size: 0.75rem;
  }

  .rr-pillars-heading {
    font-size: clamp(1.5rem, 7vw, 2rem);
    margin-bottom: 0.6rem;
  }

  .rr-pillars-subtext {
    font-size: 0.92rem;
    line-height: 1.6;
  }

  .rr-pillars-grid {
    gap: 0.5rem;
  }

  .rr-panel {
    border-radius: 14px;
  }

  .rr-panel-content {
    padding: 1.1rem 1.1rem 0;
  }

  .rr-panel-num {
    font-size: 0.9rem;
  }

  .rr-panel-title {
    font-size: 1.1rem;
    padding-bottom: 1rem;
  }

  .rr-panel.is-active .rr-panel-title {
    padding-bottom: 0.5rem;
  }

  .rr-panel-desc {
    font-size: 0.9rem;
  }

  /* Zero horizontal padding — .rr-panel-content already provides the left/right
     inset, keeping the quote and CTA flush with the title's left edge. */
  .rr-panel-body {
    padding: 0;
  }

  .rr-panel.is-active .rr-panel-body {
    max-height: 300px;
    padding: 0 0 2.25rem;
  }

  .rr-panel-bottom {
    padding: 0;
  }

  .rr-panel.is-active .rr-panel-bottom {
    padding: 0 0 1.1rem;
  }

  .rr-panel-cta {
    font-size: 0.85rem;
  }

  .rr-panel-artwork {
    width: 60px;
    height: 60px;
    opacity: 0.18;
  }

  .rr-panel.is-active .rr-panel-artwork {
    opacity: 0.32;
  }
}

/* ── Reduced Motion ───────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .rr-panel,
  .rr-panel-body,
  .rr-panel-bottom,
  .rr-panel-cta,
  .rr-panel-artwork,
  .rr-panel-glow {
    transition: none !important;
    transform: none !important;
  }
}



.whatsapp-float{
  position: fixed;
  bottom: 120px;
  right: 20px;
  z-index: 1000;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */

.hidden { display: none !important; }

.contact-footer {
  background: #f4f4f1;
  padding: 6rem 0 0;
}

.cf-contact-panel > .container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.cf-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(10, 54, 92, 0.25);
  border: 1px solid var(--border-light);
}

.cf-grid > * {
  min-width: 0;
}

/* ── Info Panel (dark) ── */
.cf-info {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 3.5rem 3rem;
  background-image: url('../Assets/Img/bg-img-about.webp');
  background-size: cover;
  background-position: center;
  color: #ffffff;
  isolation: isolate;
  min-width: 0;
}

.cf-info::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(6, 30, 51, 0.92) 10%, rgba(6, 30, 51, 0.75) 55%, rgba(6, 30, 51, 0.9) 100%);
  z-index: -1;
}

.cf-accent-bar {
  display: block;
  width: 56px;
  height: 4px;
  border-radius: 4px;
  background: var(--color-green-light);
}

.cf-accent-bar-sm {
  width: 40px;
  margin-top: -0.5rem;
}

.cf-heading {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: clamp(1.9rem, 2.6vw, 2.5rem);
  line-height: 1.2;
  max-width: 420px;
  color: #ffffff;
}

.cf-heading-accent {
  color: var(--color-yellow);
}

.cf-subtext {
  font-size: 0.98rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  max-width: 380px;
}

.cf-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 0.25rem;
}

.cf-contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  transition: var(--transition-fast);
}

.cf-contact-text {
  flex: 1;
  min-width: 0;
}

.cf-contact-text p {
  overflow-wrap: break-word;
  word-break: break-word;
}

.cf-contact-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
}

.cf-contact-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #ffffff;
}

.cf-contact-icon svg {
  width: 20px;
  height: 20px;
}

.cf-contact-icon.cf-icon-green { background: var(--color-green-light); }
.cf-contact-icon.cf-icon-blue { background: var(--color-blue); }
.cf-contact-icon.cf-icon-yellow { background: var(--color-yellow); }

.cf-contact-text h4 {
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
  color: #ffffff;
}

.cf-contact-text p {
  font-size: 0.85rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.68);
}

.cf-follow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.25rem;
}

.cf-follow > span {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  white-space: nowrap;
}

.cf-social-icons {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.cf-social-icons a {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  transition: var(--transition-fast);
}

.cf-social-icons a:hover {
  background: var(--color-green-light);
  border-color: var(--color-green-light);
  transform: translateY(-2px);
}

.cf-social-icons svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

/* ── Form Panel (light) ── */
.cf-form-panel {
  background: #ffffff;
  padding: 3.5rem 3rem;
  display: flex;
  align-items: center;
}

.cf-form-panel form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.form-group { width: 100%; }

.form-label {
  display: block;
  font-family: var(--font-primary);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.cf-label-optional {
  font-weight: 500;
  color: var(--text-muted);
}

.form-input-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #f4f5f7;
  border: 1.5px solid #eceef1;
  border-radius: 14px;
  padding: 0.55rem 0.9rem;
  transition: var(--transition-fast);
}

.form-input-wrap-textarea {
  align-items: flex-start;
}

.form-input-wrap:focus-within {
  background: #ffffff;
  border-color: var(--color-green-light);
  box-shadow: 0 0 0 4px rgba(75, 183, 73, 0.12);
}

.form-input-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

.form-input-wrap-textarea .form-input-icon {
  margin-top: 0.15rem;
}

.form-input-icon svg {
  width: 17px;
  height: 17px;
}

.form-input-icon.cf-icon-green { background: rgba(75, 183, 73, 0.12); color: var(--color-green-light); }
.form-input-icon.cf-icon-blue { background: rgba(0, 142, 206, 0.12); color: var(--color-blue); }
.form-input-icon.cf-icon-yellow { background: rgba(249, 176, 18, 0.14); color: #c47d00; }

.form-input {
  flex: 1;
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-secondary);
  font-size: 0.95rem;
  color: var(--text-main);
  padding: 0.35rem 0;
}

.form-input::placeholder {
  color: #9aa1ab;
}

textarea.form-input {
  resize: vertical;
  min-height: 76px;
  padding-top: 0.5rem;
  line-height: 1.5;
}

.form-error-msg {
  display: none;
  font-size: 0.8rem;
  color: #d64541;
  margin-top: 0.4rem;
  padding-left: 0.2rem;
}

.form-group.error .form-input-wrap {
  border-color: #d64541;
  background: rgba(214, 69, 65, 0.04);
}

.form-group.error .form-error-msg {
  display: block;
}

.form-group.success .form-input-wrap {
  border-color: rgba(75, 183, 73, 0.4);
}

.cf-captcha-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  max-width: 100%;
  overflow-x: auto;
}

.cf-captcha-group .form-error-msg {
  display: none;
}

.cf-captcha-group.error .form-error-msg {
  display: block;
}

.cf-captcha-group.error .g-recaptcha {
  outline: 1.5px solid #d64541;
  outline-offset: 4px;
  border-radius: 4px;
}

.cf-form-note {
  font-size: 0.85rem;
  color: #d64541;
  background: rgba(214, 69, 65, 0.08);
  border-radius: 10px;
  padding: 0.65rem 0.9rem;
}

.cf-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  border: none;
  cursor: pointer;
  background: var(--color-green-light);
  color: #ffffff;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1rem;
  padding: 1rem 1.5rem;
  border-radius: 14px;
  transition: var(--transition-fast);
}

.cf-submit-btn:hover {
  background: var(--color-green-dark);
  transform: translateY(-2px);
}

.cf-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.cf-submit-btn .btn-arrow {
  width: 18px;
  height: 18px;
  transition: var(--transition-fast);
}

.cf-submit-btn:hover .btn-arrow {
  transform: translateX(4px);
}

.cf-privacy-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: -0.4rem;
}

.cf-privacy-note svg {
  width: 15px;
  height: 15px;
  color: var(--color-green-light);
  flex-shrink: 0;
}

/* ── Trust Strip ── */
.cf-trust-strip {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 2.75rem 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.cf-trust-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.5rem 0.75rem;
  border-left: 1px solid var(--border-light);
}

.cf-trust-text {
  flex: 1;
  min-width: 0;
}

.cf-trust-item:first-child {
  border-left: none;
}

.cf-trust-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.cf-trust-icon svg {
  width: 21px;
  height: 21px;
}

.cf-trust-icon.cf-icon-blue { background: rgba(0, 142, 206, 0.1); color: var(--color-blue); }
.cf-trust-icon.cf-icon-green { background: rgba(75, 183, 73, 0.1); color: var(--color-green-light); }
.cf-trust-icon.cf-icon-yellow { background: rgba(249, 176, 18, 0.14); color: #c47d00; }
.cf-trust-icon.cf-icon-navy { background: rgba(10, 54, 92, 0.08); color: var(--color-primary); }

.cf-trust-text h5 {
  font-family: var(--font-primary);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.15rem;
}

.cf-trust-text p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── Footer ── */
.cf-footer {
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.8);
  margin-top: 3rem;
  padding: 3.5rem 0 1.75rem;
}

.cf-footer .container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.cf-footer-row {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.cf-footer-brand {
  max-width: 360px;
}

.cf-footer-logo {
  height: 34px;
  width: auto;
  margin-bottom: 1rem;
}

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

.cf-footer-cols {
  display: flex;
  gap: 4rem;
}

.cf-footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-nav-link {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
  transition: var(--transition-fast);
}

.footer-nav-link:hover {
  color: var(--color-green-light);
}

.cf-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 1.5rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

.cf-footer-credit {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  transition: var(--transition-fast);
}

.cf-footer-credit:hover {
  color: var(--color-green-light);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .cf-grid {
    grid-template-columns: 1fr;
    border-radius: 24px;
  }

  .cf-info,
  .cf-form-panel {
    padding: 2.75rem 2rem;
  }

  .cf-heading,
  .cf-subtext {
    max-width: 100%;
  }

  .cf-trust-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
  }

  .cf-trust-item:nth-child(3) {
    border-left: none;
  }
}

@media (max-width: 768px) {
  .contact-footer {
    padding: 4rem 0 0;
  }

  .cf-contact-panel > .container {
    padding: 0 1.25rem;
  }

  .cf-info,
  .cf-form-panel {
    padding: 2.25rem 1.5rem;
  }

  .cf-heading {
    font-size: 1.65rem;
  }

  .cf-trust-strip {
    padding: 2.25rem 1.5rem;
  }

  .cf-footer-row {
    flex-direction: column;
    gap: 2rem;
  }

  .cf-footer-cols {
    gap: 2.5rem;
  }
}

@media (max-width: 600px) {
  .cf-trust-strip {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .cf-trust-item {
    border-left: none;
    border-top: 1px solid var(--border-light);
    padding-top: 1.25rem;
  }

  .cf-trust-item:first-child {
    border-top: none;
    padding-top: 0.5rem;
  }
}

@media (max-width: 480px) {
  .cf-info,
  .cf-form-panel {
    padding: 2rem 1.25rem;
  }

  .cf-follow {
    flex-wrap: wrap;
    row-gap: 0.75rem;
  }

  .cf-footer-cols {
    flex-direction: column;
    gap: 1.75rem;
  }

  .cf-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 360px) {
  .cf-captcha-group {
    transform: scale(0.85);
    transform-origin: left top;
    margin-bottom: -20px;
  }
}

/* ==========================================================================
   LOCATION OVERVIEW SECTION
   ========================================================================== */

.location-overview {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: clamp(2.5rem, 7vh, 6.5rem) 0;
  background-color: var(--bg-site);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.location-overview > .container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
  width: 100%;
}

.lo-glow-1,
.lo-glow-2 {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(70px);
}

.lo-glow-1 {
  top: -6%;
  right: 2%;
  background: radial-gradient(circle, rgba(0, 142, 206, 0.1) 0%, rgba(0, 142, 206, 0) 70%);
}

.lo-glow-2 {
  bottom: -8%;
  left: 0%;
  background: radial-gradient(circle, rgba(249, 176, 18, 0.08) 0%, rgba(249, 176, 18, 0) 70%);
}

.lo-header {
  max-width: 720px;
  margin-bottom: clamp(1.75rem, 4.5vh, 3.5rem);
  position: relative;
  z-index: 1;
}

.lo-eyebrow {
  display: inline-block;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.lo-title {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.location-overview-color {
  color: var(--color-yellow);
}

.lo-subtitle {
  font-family: var(--font-secondary);
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 600px;
}

.lo-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 4rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.lo-visual {
  position: relative;
  width: 100%;
  height: clamp(400px, 50vh, 560px);
  overflow: hidden;
}

.lo-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 1;
}

.lo-accordion {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-light);
}

.lo-item {
  border-bottom: 1px solid var(--border-light);
}

.lo-item-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
}

.lo-item-title {
  font-family: var(--font-primary);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
}

.lo-item.is-open .lo-item-title {
  color: var(--color-blue);
}

.lo-item-icon {
  position: relative;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background-color: rgba(0, 142, 206, 0.08);
  border: 1px solid rgba(0, 142, 206, 0.18);
  transition: var(--transition-fast);
}

.lo-item.is-open .lo-item-icon {
  background-color: var(--color-blue);
  border-color: var(--color-blue);
}

.lo-item.is-open .lo-item-icon-h,
.lo-item.is-open .lo-item-icon-v {
  background-color: #ffffff;
}

.lo-item.is-open .lo-item-icon-v {
  transform: scaleY(0);
}

.lo-item-icon-h,
.lo-item-icon-v {
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: var(--color-primary);
}

.lo-item-icon-h {
  width: 14px;
  height: 2px;
  margin-top: -1px;
  margin-left: -7px;
}

.lo-item-icon-v {
  width: 2px;
  height: 14px;
  margin-top: -7px;
  margin-left: -1px;
  transform-origin: center;
}

.lo-item-content {
  height: 0;
  overflow: hidden;
  transition: height 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.lo-item.is-open .lo-item-content {
  height: auto;
}

.lo-check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-bottom: 1.75rem;
}

.lo-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.lo-check-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(75, 183, 73, 0.12);
  color: var(--color-green-light);
  margin-top: 0.1rem;
}

.lo-check-icon svg {
  width: 12px;
  height: 12px;
}

.lo-check-list li span:last-child {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.55;
}

@media (max-width: 1024px) {
  .location-overview {
    min-height: 0;
    display: block;
  }

  .lo-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .lo-visual {
    height: clamp(300px, 42vh, 420px);
  }
}

@media (max-width: 768px) {
  .lo-header {
    margin-bottom: 2.5rem;
  }

  .lo-visual {
    height: clamp(220px, 34vh, 320px);
  }

  .lo-item-header {
    padding: 1.25rem 0;
  }

  .lo-item-title {
    font-size: 1.05rem;
  }

  .lo-glow-1,
  .lo-glow-2 {
    display: none;
  }
}

@media (max-width: 480px) {
  .lo-visual {
    height: clamp(180px, 30vh, 240px);
  }

  .lo-item-icon {
    width: 34px;
    height: 34px;
  }

  .lo-item-icon-h {
    width: 12px;
    margin-left: -6px;
  }

  .lo-item-icon-v {
    height: 12px;
    margin-top: -6px;
  }

  .lo-check-list li span:last-child {
    font-size: 0.9rem;
  }
}