/* ==========================================================================
   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;
  box-shadow: none !important;
}

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: 50px 0;
  background-color: #0b1926;
}

.about-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
  filter: brightness(0.6) contrast(1.05);
}

.about-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 25, 38, 0.88) 0%, rgba(11, 25, 38, 0.72) 100%);
  z-index: 1;
  pointer-events: none;
}

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

.about-grid {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 3rem;
  align-items: center;
}

.about-left-col {
  display: flex;
  flex-direction: column;
  max-width: 560px;
  width: 100%;
}

.about-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.about-tag {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
  display: inline-block;
  text-align: left;
}

.about-title {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  text-align: left;
}

.about-title span {
  color: #f9b012;
}

.about-text {
  font-size: 1.025rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.62;
  width: 100%;
  margin-bottom: 2.25rem;
  text-align: left;
}

.about-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  width: 100%;
  text-align: left;
}

.about-point-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  transition: var(--transition-fast);
}

.about-point-card:hover .about-point-icon-box {
  color: var(--color-green-light);
  transform: translateY(-2px);
}

.about-point-icon-box {
  width: auto;
  height: auto;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 0.65rem;
  color: #ffffff;
  border: none;
  box-shadow: none;
  transition: var(--transition-fast);
}

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

.about-point-card h4 {
  font-size: 0.975rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 0.4rem;
  line-height: 1.35;
  text-align: left;
}

.about-point-card p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.5;
  text-align: left;
}

.about-photo-card {
  display: block;
  position: relative;
  width: 100%;
  height: 590px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  background-color: #000000;
}

.about-photo-card video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.about-video-controls {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
}

.video-btn {
  background: rgba(11, 25, 38, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.video-btn:hover {
  background: rgba(11, 25, 38, 0.95);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.06);
}

.video-btn svg {
  width: 16px;
  height: 16px;
  display: block;
}

.about-photo-card img,
.about-photo-card video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-reel-wrap {
  cursor: pointer;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.about-reel-wrap:hover {
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

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

  .about-photo-card {
    min-height: 480px;
    height: 480px;
  }
}

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

  .about-title {
    font-size: 2.2rem;
  }

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

  .about-photo-card {
    height: 400px;
    min-height: 400px;
  }
}

/* ─── Smart Investors: Dark Navy Horizontal Scroll Section ─── */
.smart-investors {
  background-color: #0d1b2a;
  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: #0d1b2a;
  z-index: 2;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

/* 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.95rem;
  color: rgba(255, 255, 255, 0.52);
  line-height: 1.65;
  max-width: 420px;
}

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

.si-scroll-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-green-light), var(--color-blue));
  border-radius: 9999px;
  transition: width 0.1s linear;
}

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

.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: 20px;
  overflow: hidden;
  background-color: #131f2e;
  border: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.si-card:hover {
  transform: translateY(-8px);
  border-color: rgba(75, 183, 73, 0.35);
}

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

.si-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s 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.05);
}

.si-card-img-wrap {
  cursor: pointer;
}

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

/* Hover overlay + "View Image" affordance */
.si-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 1.5rem;
  background: linear-gradient(180deg, rgba(13, 27, 42, 0) 45%, rgba(13, 27, 42, 0.78) 100%);
  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.6rem 1.15rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  font-family: var(--font-primary);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transform: translateY(12px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

.si-card-title {
  font-family: var(--font-primary);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.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: #0d1b2a;
}

/* ── 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: 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;
}

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

/* Active (press) state */
.si-nav-btn:not(:disabled):active {
  background-color: #3da83b;
  border-color: #3da83b;
  color: #0d1b2a;
  transform: scale(0.95);
}

/* Inactive / disabled state */
.si-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);
}


/* ─── 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;
}

/* ─── Location Overview — accordion with real project imagery ─── */
.location-overview {
  padding: 120px 0;
  position: relative;
  background-color: var(--bg-site);
}

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

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

.lo-header {
  max-width: 800px;
  margin-bottom: 4.5rem;
}

.lo-eyebrow {
  display: inline-block;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--color-blue);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  position: relative;
  padding-left: 1.25rem;
}

.lo-eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-blue);
  box-shadow: 0 0 8px var(--color-blue);
}

.lo-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;
  margin-bottom: 1.25rem;
}

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

.lo-grid {
  display: block;
}

/* Accordion (Right Column) */
.lo-accordion {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.lo-item {
  border: 1px solid var(--border-light);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
  overflow: hidden;
}

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

.lo-item.is-open {
  background: #ffffff;
  box-shadow: 0 15px 40px rgba(10, 54, 92, 0.05);
}

.lo-item.is-open[data-lo-index="0"] {
  border-color: rgba(0, 142, 206, 0.25);
}

.lo-item.is-open[data-lo-index="1"] {
  border-color: rgba(75, 183, 73, 0.25);
}

.lo-item.is-open[data-lo-index="2"] {
  border-color: rgba(249, 176, 18, 0.25);
}

.lo-item-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.6rem 1.85rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-primary);
}

.lo-item-header-title {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.lo-item-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
}

.lo-item-icon-wrapper svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.2;
}

.lo-item-icon-wrapper.color-blue {
  background-color: rgba(0, 142, 206, 0.06);
  color: var(--color-blue);
}

.lo-item-icon-wrapper.color-green {
  background-color: rgba(75, 183, 73, 0.06);
  color: var(--color-green-light);
}

.lo-item-icon-wrapper.color-yellow {
  background-color: rgba(249, 176, 18, 0.06);
  color: var(--color-yellow);
}

.lo-item.is-open .lo-item-icon-wrapper {
  transform: scale(1.05);
}

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

.lo-item.is-open .lo-item-icon-wrapper.color-green {
  background-color: var(--color-green-light);
  color: #ffffff;
}

.lo-item.is-open .lo-item-icon-wrapper.color-yellow {
  background-color: var(--color-yellow);
  color: #ffffff;
}

.lo-item-title {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 700;
  color: var(--color-primary);
  transition: color 0.3s ease;
}

.lo-item.is-open[data-lo-index="0"] .lo-item-title {
  color: var(--color-blue);
}

.lo-item.is-open[data-lo-index="1"] .lo-item-title {
  color: var(--color-green-light);
}

.lo-item.is-open[data-lo-index="2"] .lo-item-title {
  color: var(--color-yellow);
}

/* Plus/Minus Trigger Icon */
.lo-item-icon {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(10, 54, 92, 0.04);
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
}

.lo-item-icon span {
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: var(--color-primary);
  border-radius: 2px;
  transition: background-color 0.3s ease;
}

.lo-item-icon span:first-child {
  width: 12px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.lo-item-icon span:last-child {
  width: 2px;
  height: 12px;
  transform: translate(-50%, -50%);
  transform-origin: center;
}

.lo-item:hover .lo-item-icon {
  background-color: rgba(10, 54, 92, 0.08);
}

.lo-item.is-open .lo-item-icon {
  transform: rotate(90deg);
  background-color: var(--color-primary);
}

.lo-item.is-open .lo-item-icon span {
  background-color: #ffffff;
}

/* Accordion Content Panels */
.lo-item-content {
  height: 0;
  overflow: hidden;
}

.lo-item-inner {
  padding: 0 1.85rem 1.85rem 1.85rem;
}

/* Landmark Cards Grid */
.lo-landmark-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}

.lo-landmark-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem;
  border-radius: 14px;
  background: rgba(10, 54, 92, 0.02);
  border: 1px solid rgba(10, 54, 92, 0.04);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, background-color 0.3s ease;
}

.lo-landmark-card:hover {
  background-color: #ffffff;
  border-color: rgba(10, 54, 92, 0.08);
  box-shadow: 0 8px 20px rgba(10, 54, 92, 0.04);
  transform: translateY(-2px);
}

.lo-landmark-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lo-landmark-icon-box svg {
  width: 17px;
  height: 17px;
  stroke-width: 2.2;
}

.lo-landmark-icon-box.bg-blue {
  background-color: rgba(0, 142, 206, 0.06);
  color: var(--color-blue);
}

.lo-landmark-icon-box.bg-green {
  background-color: rgba(75, 183, 73, 0.06);
  color: var(--color-green-light);
}

.lo-landmark-icon-box.bg-yellow {
  background-color: rgba(249, 176, 18, 0.06);
  color: var(--color-yellow);
}

.lo-landmark-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.lo-landmark-name {
  font-family: var(--font-secondary);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  white-space: normal;
}

.lo-landmark-desc {
  font-family: var(--font-secondary);
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
  white-space: normal;
}

.lo-landmark-badge {
  font-family: var(--font-primary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  padding: 0.35rem 0.65rem;
  border-radius: 30px;
  flex-shrink: 0;
}

.lo-landmark-badge.badge-blue {
  background-color: rgba(0, 142, 206, 0.08);
  color: var(--color-blue);
}

.lo-landmark-badge.badge-green {
  background-color: rgba(75, 183, 73, 0.08);
  color: var(--color-green-light);
}

.lo-landmark-badge.badge-yellow {
  background-color: rgba(249, 176, 18, 0.08);
  color: var(--color-yellow);
}

/* Responsiveness */
@media (max-width: 992px) {
  .location-overview {
    padding: 80px 0;
  }

  /* Tablet: the 2-column landmark grid leaves too little width per card
     for the icon + text + badge row, forcing titles/descriptions into
     3+ wrapped lines. Single column gives text room to breathe. */
  .lo-landmark-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

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

  .lo-item-header {
    padding: 1.4rem 1.5rem;
  }

  .lo-item-inner {
    padding: 0 1.5rem 1.5rem 1.5rem;
  }

  .lo-landmark-grid {
    gap: 0.85rem;
  }

  .lo-landmark-card {
    padding: 0.85rem 1rem;
    gap: 0.75rem;
  }

  .lo-landmark-badge {
    padding: 0.25rem 0.5rem;
  }
}

@media (max-width: 576px) {
  .lo-visual {
    height: 320px;
  }

  .lo-hud-dashboard {
    width: 140px;
    padding: 0.65rem;
    bottom: 1rem;
    left: 1rem;
    border-radius: 12px;
  }

  .hud-dash-header {
    padding-bottom: 0.3rem;
  }

  .hud-dash-label {
    font-size: 0.65rem;
  }

  .hud-dash-time {
    font-size: 0.65rem;
    padding: 0.05rem 0.25rem;
  }

  .lo-hud-compass {
    width: 44px;
    height: 44px;
    top: 1rem;
    right: 1rem;
  }

  .compass-label {
    font-size: 0.55rem;
    top: 2px;
  }

  .lo-item-header {
    gap: 1rem;
  }

  /* Icon + title + badge on the top row, description spans the full
     card width below — a fixed icon/badge on either side of the info
     column left only ~130px for text, forcing 3-5 wrapped lines. */
  .lo-landmark-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
      "icon name badge"
      "desc desc desc";
    align-items: center;
    column-gap: 0.65rem;
    row-gap: 0.35rem;
    padding: 0.85rem;
  }

  .lo-landmark-info {
    display: contents;
  }

  .lo-landmark-icon-box {
    grid-area: icon;
  }

  .lo-landmark-name {
    grid-area: name;
    font-size: 0.88rem;
  }

  .lo-landmark-badge {
    grid-area: badge;
    align-self: start;
  }

  .lo-landmark-desc {
    grid-area: desc;
    font-size: 0.76rem;
  }
}

/* ─── Testimonials Section — mirrors Smart Investors split-panel ─── */
.tm-section {
  background-color: #0d1b2a;
  min-height: 100vh;
  padding: 1rem 0;
  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: #0d1b2a;
  z-index: 2;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.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);
}

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

/* Horizontally scrollable track */
.tm-cards-track {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 5rem 3rem 5rem 2.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(360px, 82vw);
  min-height: 260px;
  border-radius: 22px;
  background-color: #131f2e;
  border: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.tm-card:hover {
  transform: translateY(-8px);
  border-color: rgba(75, 183, 73, 0.35);
}

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

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

.tm-card-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}

.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.92rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

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

/* ─── 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;
  }
}

/* ─── Contact + Footer (combined 100vh section) ─── */
.contact-footer {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.cf-contact-panel {
  flex: 1;
  display: flex;
  align-items: center;
  background-color: #f6f5f1;
  padding: 4rem 0;
}

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

.cf-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 2rem;
  align-items: stretch;
}

.cf-info {
  position: relative;
  isolation: isolate;
  display: flex;
  border-radius: 24px;
  overflow: hidden;
  background: url('../Assets/Img/features-park.webp') center/cover no-repeat;
  color: #ffffff;
}

.cf-info::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(165deg, rgba(6, 18, 34, 0.97) 0%, rgba(8, 32, 52, 0.92) 45%, rgba(10, 54, 92, 0.8) 100%);
}

.cf-info-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 3rem 2.5rem;
}

.cf-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-secondary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-yellow);
  margin-bottom: 1rem;
}

.cf-tag::before {
  content: '';
  width: 22px;
  height: 2px;
  background-color: var(--color-yellow);
  flex-shrink: 0;
}

.cf-heading {
  font-family: var(--font-primary);
  font-size: clamp(1.65rem, 3.2vw, 2.4rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 4rem;
}

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

.cf-subtext {
  font-family: var(--font-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  max-width: 34ch;
  margin-bottom: 2rem;
}

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

.cf-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 0.9rem 1rem;
  background-color: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  transition: var(--transition-fast);
}

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

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

.cf-contact-icon {
  width: 38px;
  height: 38px;
  padding: 0.6rem;
  border-radius: 10px;
  color: #ffffff;
  flex-shrink: 0;
}

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

.cf-contact-item--email .cf-contact-icon {
  background-color: var(--color-blue);
}

.cf-contact-item--office .cf-contact-icon {
  background-color: var(--color-yellow);
}

.cf-contact-icon svg {
  width: 100%;
  height: 100%;
}

.cf-contact-text h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.15rem;
}

.cf-contact-text p,
.cf-contact-text p a {
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.65);
  overflow-wrap: anywhere;
}

.cf-contact-text p a:hover {
  color: var(--color-yellow);
}

.cf-follow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

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

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

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

.cf-social-icons a:hover {
  background-color: var(--color-yellow);
  color: #10241c;
}

.cf-social-icons svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

/* Contact Form UI */
.cf-form-panel {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border: 1px solid rgba(10, 54, 92, 0.08);
  border-radius: 24px;
  padding: 2.75rem;
  box-shadow: 0 30px 60px -25px rgba(10, 54, 92, 0.18);
}

.cf-submit-btn {
  position: relative;
  width: 100%;
  margin-top: 0.75rem;
  padding: 1rem 1.75rem;
  background-color: var(--color-green-light);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  box-shadow: 0 12px 24px -10px rgba(75, 183, 73, 0.5);
  transition: var(--transition-fast), transform 0.25s ease;
}

.cf-submit-btn:hover {
  background-color: #3da83b;
  transform: translateY(-2px);
  box-shadow: 0 16px 28px -10px rgba(75, 183, 73, 0.55);
}

.cf-submit-btn:active {
  transform: translateY(0);
}

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

.cf-submit-btn .btn-arrow {
  width: 16px;
  height: 16px;
  display: inline-flex;
  transition: transform 0.25s ease;
}

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

.cf-form-safety {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-family: var(--font-secondary);
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

.cf-form-safety svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--color-green-light);
}

.form-group {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
}

.form-label {
  font-family: var(--font-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
}

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

.form-input {
  width: 100%;
  padding: 0.95rem 1.1rem;
  background-color: #f6f5f1;
  border: 1.5px solid #e7e5df;
  border-radius: 12px;
  font-family: var(--font-secondary);
  font-size: 0.9rem;
  color: var(--color-primary);
  outline: none;
  transition: var(--transition-fast), box-shadow 0.25s ease;
}

textarea.form-input {
  resize: vertical;
  min-height: 110px;
}

.form-input::placeholder {
  color: var(--text-muted);
  opacity: 0.8;
}

.form-input:hover {
  border-color: rgba(10, 54, 92, 0.25);
}

.form-input:focus {
  border-color: var(--color-primary);
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(10, 54, 92, 0.08);
}

/* Client-side validation status styles */
.form-group.error .form-input {
  border-color: #ef4444;
}

.form-group.error .form-input:focus {
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

.form-group.error .form-label {
  color: #ef4444;
}

.form-error-msg {
  font-size: 0.775rem;
  color: #ef4444;
  font-weight: 500;
  display: none;
}

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

.form-group.success .form-input {
  border-color: var(--color-green-light);
}

.form-group.success .form-input:focus {
  box-shadow: 0 0 0 4px rgba(75, 183, 73, 0.1);
}

/* Google reCAPTCHA container */
.cf-captcha-group {
  margin-bottom: 1.4rem;
  overflow-x: auto;
}

.cf-captcha-group .g-recaptcha {
  display: inline-block;
}

.cf-captcha-group.error .form-error-msg {
  display: block;
  margin-top: 0.5rem;
}

.cf-form-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: -0.5rem;
  margin-bottom: 1.25rem;
}

.cf-form-note.hidden,
.form-error-msg.hidden {
  display: none;
}

/* Trust strip below the contact grid */
.cf-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(10, 54, 92, 0.1);
}

.cf-trust-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

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

.cf-trust-icon svg {
  width: 100%;
  height: 100%;
}

.cf-trust-icon--blue {
  background-color: rgba(0, 142, 206, 0.12);
  color: var(--color-blue);
}

.cf-trust-icon--green {
  background-color: rgba(75, 183, 73, 0.12);
  color: var(--color-green-light);
}

.cf-trust-icon--yellow {
  background-color: rgba(249, 176, 18, 0.14);
  color: var(--color-yellow);
}

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

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

/* Footer (dark, inside the combined section) */
.cf-footer {
  flex-shrink: 0;
  background-color: #10241c;
  color: #ffffff;
  padding: 3rem 0 1.5rem;
}

.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.1);
}

.cf-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 400px;
}

.cf-footer-logo {
  height: 40px;
  width: 100px;
  object-fit: contain;
}

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

.cf-footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  width: fit-content;
  padding: 0.7rem 0.7rem 0.7rem 1.25rem;
  background-color: var(--color-green-light);
  color: #10241c;
  border-radius: 9999px;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition-fast);
}

.cf-footer-cta:hover {
  background-color: #3da83b;
}

.cf-footer-cta-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #10241c;
  color: var(--color-green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

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

.cf-footer-col .footer-nav-link {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition-fast);
}

.cf-footer-col .footer-nav-link:hover {
  color: var(--color-yellow);
}

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

.cf-footer-credit {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: underline white;
 
  transition: var(--transition-fast);
}

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

@media (max-width: 992px) {
  .cf-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .cf-info-inner {
    padding: 2.5rem;
  }

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

  .cf-footer-row {
    flex-direction: column;
    align-items: center;
  }

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

  .cf-footer-bottom {
    flex-wrap: wrap;
    justify-content: center;
  }

.cf-footer-brand {

    text-align: center;
    align-items: center;
}


}

@media (max-width: 768px) {
  .cf-info-inner {
    padding: 2.25rem 1.75rem;
  }

  .cf-subtext {
    max-width: none;
  }
}

@media (max-width: 600px) {
  .cf-contact-panel {
    padding: 3rem 0;
  }

  .cf-info {
    border-radius: 18px;
  }

  .cf-info-inner {
    padding: 2rem 1.5rem;
  }

  .cf-form-panel {
    padding: 1.75rem;
    border-radius: 18px;
  }

  .cf-heading {
    margin-bottom: 0.85rem;
  }

  .cf-subtext {
    margin-bottom: 1.5rem;
  }

  .cf-contact-item {
    padding: 0.75rem;
  }

  .cf-trust-strip {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
  }
}

@media (max-width: 480px) {
  .cf-tag {
    font-size: 0.7rem;
  }

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

  .cf-follow {
    gap: 0.75rem;
  }

  .cf-social-icons a {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 360px) {
  .cf-form-panel {
    padding: 1.25rem;
  }

  .cf-info-inner {
    padding: 1.75rem 1.25rem;
  }

  .cf-captcha-group {
    transform: scale(0.85);
    transform-origin: left top;
    margin-bottom: calc(1.4rem - 25px);
  }
}

/* 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) {
  #vanta-bg {
    display: none !important;
  }

  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;
  }

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

  .tm-section {
    min-height: 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;
  }

  /* 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;
  }
}

@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%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: radial-gradient(circle at 80% 10%, rgba(200, 230, 245, 0.25) 0%, rgba(185, 255, 218, 0.15) 30%, rgba(255, 255, 255, 1) 70%), var(--bg-site);
  border-bottom: 1px solid var(--border-light);
  padding: 100px 2rem 4rem 2rem;
  position: relative;
  overflow: hidden;
}

.hero-stats-strip::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  background-image: url('../Assets/Img/bg-overlay-buildings.webp');
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  opacity: 0.14; /* Soft and elegant background */
  mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 80%);
  -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 80%);
  pointer-events: none;
  z-index: 1;
}

.stats-new-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  width: 100%;
}

.stats-new-left {
  display: flex;
  justify-content: center;
  width: 100%;
}

.stats-new-tag {
  font-family: var(--font-secondary);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(10, 54, 92, 0.04);
  border: 1px solid rgba(10, 54, 92, 0.08);
  padding: 0.5rem 1.1rem;
  border-radius: 100px;
  box-shadow: 0 2px 8px rgba(10, 54, 92, 0.02);
}

.stats-new-tag .tag-dot {
  width: 6px;
  height: 6px;
  background-color: var(--color-green-light);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--color-green-light);
  display: inline-block;
}

.stats-new-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.stats-new-desc {
  font-family: var(--font-primary);
  font-size: 34px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--color-primary);
  letter-spacing: -0.02em;
  margin-bottom: 3.5rem;
  max-width: 1000px;
  text-align: center;
  width: 100%;
}

.stats-new-desc .reveal-span {
  display: inline;
}

.stats-new-desc .muted-part {
  font-weight: 400;
}

.stats-new-desc .highlight-part {
  font-weight: 900;
}

/* Custom scroll reveal colors per part */
.muted-part .reveal-char {
  color: #e2e8f0; /* very light grey initially */
  transition: color 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.muted-part .reveal-char.active {
  color: var(--text-muted); /* elegant medium-grey when active */
}

.highlight-part .reveal-char {
  color: #cbd5e1; /* light slate grey initially */
  transition: color 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.highlight-part .reveal-char.active {
  color: var(--color-primary); /* deep navy when active */
}

.reveal-char {
  transition: color 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.stats-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.45) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 2.5rem 2.25rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-radius: 20px;
  border: 1px solid rgba(10, 54, 92, 0.07);
  box-shadow: 0 8px 32px -10px rgba(10, 54, 92, 0.05);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.stats-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent, transparent);
  transition: background 0.4s ease;
}

/* Individual card hover effects */
.stats-card:nth-child(1):hover::before {
  background: linear-gradient(90deg, var(--color-green-light), transparent);
}
.stats-card:nth-child(2):hover::before {
  background: linear-gradient(90deg, var(--color-green-dark), transparent);
}
.stats-card:nth-child(3):hover::before {
  background: linear-gradient(90deg, var(--color-blue), transparent);
}

.stats-card:hover {
  transform: translateY(-8px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.6) 100%);
  border-color: rgba(10, 54, 92, 0.15);
  box-shadow: 0 20px 40px -15px rgba(10, 54, 92, 0.12);
}

.stats-card-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  margin-bottom: 2.25rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Color tints matching individual card aesthetics */
.stats-card:nth-child(1) .stats-card-icon {
  background-color: rgba(75, 183, 73, 0.08);
  color: var(--color-green-light);
  border: 1px solid rgba(75, 183, 73, 0.15);
}
.stats-card:nth-child(2) .stats-card-icon {
  background-color: rgba(13, 94, 49, 0.08);
  color: var(--color-green-dark);
  border: 1px solid rgba(13, 94, 49, 0.15);
}
.stats-card:nth-child(3) .stats-card-icon {
  background-color: rgba(0, 142, 206, 0.08);
  color: var(--color-blue);
  border: 1px solid rgba(0, 142, 206, 0.15);
}

/* Icon transformations on card hover */
.stats-card:hover .stats-card-icon {
  transform: scale(1.1) rotate(5deg);
}

.stats-card:nth-child(1):hover .stats-card-icon {
  background-color: rgba(75, 183, 73, 0.14);
  box-shadow: 0 0 15px rgba(75, 183, 73, 0.1);
}
.stats-card:nth-child(2):hover .stats-card-icon {
  background-color: rgba(13, 94, 49, 0.14);
  box-shadow: 0 0 15px rgba(13, 94, 49, 0.1);
}
.stats-card:nth-child(3):hover .stats-card-icon {
  background-color: rgba(0, 142, 206, 0.14);
  box-shadow: 0 0 15px rgba(0, 142, 206, 0.1);
}

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

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

.stats-card-number span.plus {
  color: var(--color-green-light);
  margin-left: 4px;
  font-weight: 600;
  font-size: 2.5rem;
}

.stats-card-label {
  font-family: var(--font-secondary);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* 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 {
    min-height: auto;
    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;
  }

  .hero-stats-strip {
    min-height: auto;
    padding: 5.5rem 2rem;
  }

  .stats-new-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
  }

  .stats-new-desc {
    font-size: 28px;
    line-height: 1.3;
    text-align: center;
    margin-bottom: 2.5rem;
    max-width: 800px;
  }

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

  .stats-card {
    padding: 1.75rem 1.5rem;
    border-radius: 16px;
  }

  .stats-card-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 1.5rem;
  }

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

  .stats-card-number {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
  }

  .stats-card-label {
    font-size: 0.88rem;
    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 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .stats-new-desc {
    font-size: 24px;
    line-height: 1.35;
    text-align: center;
    margin-bottom: 2rem;
    max-width: 100%;
  }

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

  .stats-card {
    padding: 2rem 1.75rem;
    border-radius: 16px;
    align-items: center;
    text-align: center;
  }

  .stats-card-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 1.5rem;
  }

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

  .stats-card-number {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    justify-content: center;
  }

  .stats-card-label {
    font-size: 0.95rem;
  }
}

/* ==========================================================================
   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: 100px 0;
  background-color: var(--bg-site);
  position: relative;
  overflow: hidden;
}

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

.features-header-wrap {
  margin-bottom: 4rem;
  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.6;
  margin-bottom: 2.25rem;
}

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

/* 2x3 Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

/* Base Feature Card styling */
.feature-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 420px;
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  transition: var(--transition-smooth);
}

/* Content Card specific styling */
.feature-card.content-card {
  padding: 3rem 2.5rem;
  justify-content: flex-start;
}

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

/* Card Numbers */
.card-num {
  position: absolute;
  top: 2rem;
  right: 2.5rem;
  font-family: var(--font-primary);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(10, 54, 92, 0.04);
  line-height: 1;
  transition: var(--transition-smooth);
}

.feature-card:hover .card-num {
  color: rgba(10, 54, 92, 0.08);
  transform: translateY(-3px);
}

/* Icon Box */
.card-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 0; /* Keep square */
  background-color: rgba(10, 54, 92, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-bottom: 2.5rem;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.card-icon-box svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.feature-card.content-card:hover .card-icon-box {
  background-color: var(--color-primary);
  color: #ffffff;
}

/* Content Details */
.feature-card.content-card h3.card-title {
  font-family: var(--font-primary);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1.25rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.feature-card.content-card p.card-description {
  font-family: var(--font-secondary);
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

/* CTA inside card */
.card-cta {
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  width: fit-content;
  padding-bottom: 6px;
  margin-top: auto;
  display: inline-block;
  transition: color 0.3s ease;
}

.card-cta::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1.5px;
  background-color: var(--color-primary);
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover .card-cta::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* Image Card specific styling */
.feature-card.image-card {
  border: 1px solid var(--border-light);
}

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

.card-image-wrap {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

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

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

/* Image overlays */
.features-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 54, 92, 0.8) 0%, rgba(10, 54, 92, 0.1) 60%, transparent 100%);
  opacity: 0.8;
  transition: var(--transition-smooth);
  z-index: 1;
}

.feature-card.image-card:hover .features-image-overlay {
  opacity: 0.9;
  background: linear-gradient(to top, rgba(13, 94, 49, 0.85) 0%, rgba(10, 54, 92, 0.2) 60%, transparent 100%);
}

.features-image-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2.5rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

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

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

/* Responsive Grid Media Queries */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .feature-card {
    min-height: 380px;
  }
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .feature-card {
    min-height: auto;
  }
  .features-header-wrap {
    margin-bottom: 2.5rem;
  }
  .features-title {
    font-size: 28px;
  }
  .feature-card.content-card {
    padding: 2.5rem 2rem;
  }
  .feature-card.image-card {
    aspect-ratio: 16 / 10;
    min-height: 260px;
  }
  .features-image-content {
    padding: 2rem;
  }
}


/* ==========================================================================
   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;
  }
}




.stats-card-icon svg{
    width:24px;
    height:24px;
    stroke:#0B3A69;
    stroke-width:2;
} 