/* ═══════════════════════════════════════════════════════════════════════════════
   LD CONSTRUCTIONS — PHP Website — Design System & Page Styles
   Parity with React/Tailwind SPA
   ═══════════════════════════════════════════════════════════════════════════════ */

:root {
  --background: #f5f7fb;
  --foreground: #1e293b;

  --card: #ffffff;
  --card-foreground: #1e293b;

  --popover: #ffffff;
  --popover-foreground: #1e293b;

  --primary: #67a2d7;
  --primary-foreground: #ffffff;
  --primary-dark: #4f8fc8;
  --primary-soft: #eaf4ff;

  --secondary: #f1f5f9;
  --secondary-foreground: #1e293b;

  --muted: #f1f5f9;
  --muted-foreground: #64748b;

  --accent: #67a2d7;
  --accent-foreground: #4f8fc8;

  --destructive: #dc2626;
  --destructive-foreground: #ffffff;

  --border: #e2e8f0;
  --input: #e2e8f0;
  --ring: #67a2d7;

  --radius: 10px;
  --radius-pill: 999px;

  --gold: #f5a623;

  --navy: #1f3163;
  --navy-deep: #1f3163;
  --navy-foreground: #f8fafc;
  --navy-muted: #94a3b8;
  --project-border: #c7d6ff;

  --footer-bg: #f8fafc;
  --footer-bottom: #1f3163;

  --shadow-soft: 0 1px 3px rgba(0, 0, 0, 0.04), 0 6px 16px rgba(0, 0, 0, 0.06);
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.03), 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-elevated: 0 4px 24px rgba(0, 0, 0, 0.08);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   INVESTOR PORTAL HEADER (match Admin header look & alignment)
   ═══════════════════════════════════════════════════════════════════════════════ */

.investor-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid var(--border);
}

.investor-header-top {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  padding: 0;
}

.investor-header-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.investor-header-left {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}

.investor-header-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: #ffffff;
  transition: opacity 200ms ease;
  min-width: 0;
}

.investor-header-logo:hover {
  opacity: 0.9;
  color: #ffffff;
}

.investor-logo-img {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
  display: block;
  flex-shrink: 0;
}

.investor-logo-text {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  min-width: 0;
}

.investor-logo-title {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.investor-logo-subtitle {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.investor-header-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.investor-header-user {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  transition: all 200ms ease;
}

.investor-header-user:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
}

.investor-user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.125rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.investor-user-info {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.investor-user-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.2;
}

.investor-user-role {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.investor-header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.investor-header-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.125rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 200ms ease;
  backdrop-filter: blur(10px);
  white-space: nowrap;
}

.investor-header-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.investor-btn-logout {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.3);
}

.investor-btn-logout:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: rgba(239, 68, 68, 0.5);
}

@media (max-width: 900px) {
  .investor-header-container {
    padding: 0 1rem;
    height: auto;
    min-height: 72px;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }
  .investor-header-right {
    width: 100%;
    justify-content: space-between;
  }
  .investor-header-user {
    flex: 1;
    min-width: 0;
  }
  .investor-header-actions {
    flex-shrink: 0;
  }
}

/* ── Reset & base ── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
}

/* Lenis smooth scroll compatibility */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--foreground);
  background-color: var(--background);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 600;
  color: var(--foreground);
  letter-spacing: -0.01em;
  margin-top: 0;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ── Utility: Eyebrow ── */
.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

/* ── Utility: Container ── */
.container-site {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container-site {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container-site {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* ── Utility: Cards ── */
.light-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.card-hover {
  transition: transform 180ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 180ms cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-elevated);
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-foreground);
  background: var(--primary);
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
  box-shadow: 0 1px 3px rgba(15, 122, 191, 0.2);
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 122, 191, 0.25);
}

/* Login button hover - override btn-primary hover */
.btn-primary.btn-login:hover,
.nav-right .btn-primary.btn-login:hover {
  background: #1e3a5f !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(30, 58, 95, 0.3);
}

.btn-primary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(15, 122, 191, 0.25);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 160ms ease;
  text-decoration: none;
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 160ms ease;
  text-decoration: none;
}

.btn-outline-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

/* ── Nav underline (for links) ── */
.nav-underline {
  position: relative;
}

.nav-underline::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-50%);
  border-radius: 1px;
}

.nav-underline:hover::after,
.nav-underline.active::after {
  width: 100%;
}

/* ── Hero dark overlay ── */
.hero-dark-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.75) 0%,
    rgba(30, 45, 61, 0.65) 50%,
    rgba(30, 45, 61, 0.8) 100%
  );
  pointer-events: none;
}

/* ── Section scroll animation ── */
.section-animate {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 400ms cubic-bezier(0.4, 0, 0.2, 1), transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.section-animate.section-visible {
  opacity: 1;
  transform: none;
}

/* ── Background utilities ── */
.bg-navy {
  background-color: var(--navy);
}

.bg-navy-deep {
  background-color: var(--navy-deep);
}

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

.bg-footer-bottom {
  background-color: var(--footer-bottom);
}

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

.text-navy-foreground {
  color: var(--navy-foreground);
}

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

/* ═══════════════════════════════════════════════════════════════════════════════
   TOP BAR
   ═══════════════════════════════════════════════════════════════════════════════ */
.topbar {
  background: var(--card);
  border-bottom: 1px solid var(--border);
}

@media (max-width: 1023px) {
  .topbar {
    display: none;
  }
}

.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.topbar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-mark {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1;
}

.logo-mark-top {
  color: var(--primary);
  font-size: 10px;
  font-weight: 700;
  display: block;
}

.logo-mark-ld {
  color: #fff;
  font-size: 8px;
  font-weight: 700;
}

.logo-text {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--foreground);
}

.topbar-contact {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .topbar-contact {
    display: flex;
  }
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.topbar-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.topbar-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--foreground);
}

.topbar-value {
  display: block;
  font-size: 11px;
  color: var(--muted-foreground);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════════════════════════ */
.nav-main {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* White header on mobile */
@media (max-width: 1023px) {
  .nav-main {
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  }
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.75rem;
}

.nav-brand {
  display: flex;
  align-items: center;
}

.nav-brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.nav-brand-logo {
  height: 44px;
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Logo visibility fix for white backgrounds on mobile */
@media (max-width: 1023px) {
  .nav-brand-link {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    transition: all 200ms ease;
  }
  
  .nav-brand-link:hover {
    background: transparent;
    box-shadow: none;
  }
  
  .nav-brand-logo {
    height: 38px;
    width: auto;
    filter: none;
    /* Keep original logo colors on white background */
  }
  
  /* Update nav toggle color for white background */
  .nav-toggle {
    color: var(--navy);
  }
  
  .nav-toggle-icon,
  .nav-toggle-icon::before,
  .nav-toggle-icon::after {
    background-color: var(--navy);
  }
  
  /* Update nav right elements for white background */
  .nav-right {
    color: var(--navy);
  }
  
  .btn-login {
    background: var(--primary);
    color: #ffffff;
    border: none;
  }
  
  .btn-primary.btn-login:hover,
  .btn-login:hover {
    background: #1e3a5f !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 58, 95, 0.3);
  }
  
  /* Ensure nav toggle is visible on white */
  .nav-main.is-open .nav-toggle {
    color: var(--navy);
  }
  
  .nav-main.is-open .nav-toggle-icon::before,
  .nav-main.is-open .nav-toggle-icon::after {
    background-color: var(--navy);
  }
}

@media (min-width: 1024px) {
  .nav-brand {
    display: none;
  }
  
  .nav-brand-logo {
    filter: none;
  }
}

.nav-logo-small {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 4px;
  background: var(--primary);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: 0;
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
    margin-left: 0;
  }
}

.nav-links > li > a,
.nav-links .nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy-foreground);
  text-decoration: none;
  transition: color 150ms;
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

.nav-links > li > a:hover,
.nav-dropdown-trigger:hover {
  color: var(--primary);
}

.nav-links > li > a.active {
  color: var(--primary);
  font-weight: 600;
}

.nav-chevron {
  font-size: 0.65rem;
  opacity: 0.8;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  margin-top: 4px;
  padding: 0.5rem 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  box-shadow: var(--shadow-elevated);
  list-style: none;
  margin-left: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 200ms, transform 200ms, visibility 200ms;
  z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu li {
  margin: 0;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 150ms, background 150ms;
}

.nav-dropdown-menu a:hover {
  color: var(--primary);
  background: var(--secondary);
}

.nav-right {
  display: none;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .nav-right {
    display: flex;
  }
}

.nav-social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-social a {
  display: inline-flex;
  align-items: center;
  color: var(--navy-muted);
  transition: color 150ms, transform 150ms;
}

.nav-social a svg {
  width: 13px;
  height: 13px;
  display: block;
  fill: currentColor;
}

.nav-social a:hover {
  color: var(--primary);
  transform: translateY(-1px);
}

.nav-right-divider {
  width: 1px;
  height: 1rem;
  background: rgba(255, 255, 255, 0.25);
}

.nav-right .btn-primary,
.btn-login {
  padding: 0.375rem 1.25rem;
  font-size: 0.875rem;
}

/* Login button hover - desktop and mobile */
.btn-primary.btn-login:hover,
.nav-right .btn-primary.btn-login:hover {
  background: #1e3a5f !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(30, 58, 95, 0.3);
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  background: none;
  border: none;
  color: var(--navy-foreground);
  cursor: pointer;
}

@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }
}

.nav-toggle-icon {
  display: block;
  width: 1.5rem;
  height: 2px;
  background: currentColor;
  position: relative;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
}

.nav-toggle-icon::before {
  top: -6px;
}

.nav-toggle-icon::after {
  top: 6px;
}

.nav-main.is-open .nav-toggle-icon {
  background: transparent;
}

.nav-main.is-open .nav-toggle-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-main.is-open .nav-toggle-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Blue hamburger menu on white header (mobile) */
@media (max-width: 1023px) {
  .nav-toggle {
    color: var(--primary);
  }
  
  .nav-toggle-icon,
  .nav-toggle-icon::before,
  .nav-toggle-icon::after {
    background-color: var(--primary);
  }
  
  .nav-main.is-open .nav-toggle {
    color: var(--primary);
  }
  
  .nav-main.is-open .nav-toggle-icon::before,
  .nav-main.is-open .nav-toggle-icon::after {
    background-color: var(--primary);
  }
  
  /* Add hover effect */
  .nav-toggle:hover {
    opacity: 0.8;
  }
  
  .nav-toggle:active {
    opacity: 0.6;
  }
}

/* Mobile menu - Improved Design */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #1f3163 0%, #2d4a7c 100%);
  z-index: 9999;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.nav-mobile.is-open {
  display: flex;
  flex-direction: column;
}

@media (min-width: 1024px) {
  .nav-mobile {
    display: none !important;
  }
}

/* Mobile menu header with logo */
.nav-mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
}

.nav-mobile-logo-wrapper {
  display: flex;
  align-items: center;
}

.nav-mobile-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.nav-mobile-logo {
  height: 42px;
  width: auto;
  filter: brightness(0) invert(1);
  /* White logo for dark background */
}

.nav-mobile-close {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.5rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #ffffff;
  transition: all 200ms ease;
  padding: 0;
}

.nav-mobile-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.nav-mobile-close svg {
  width: 20px;
  height: 20px;
}

/* Mobile menu content */
.nav-mobile-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 0;
  gap: 0.5rem;
}

.nav-mobile-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  transition: all 200ms ease;
  border-left: 3px solid transparent;
}

.nav-mobile-link span {
  font-size: 1.25rem;
  width: 24px;
  text-align: center;
}

.nav-mobile-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-left-color: var(--primary);
  padding-left: 1.75rem;
}

.nav-mobile-link.active {
  background: rgba(103, 162, 215, 0.2);
  color: var(--primary);
  border-left-color: var(--primary);
  font-weight: 600;
}

/* Mobile dropdown */
.nav-mobile-dropdown {
  display: flex;
  flex-direction: column;
}

.nav-mobile-dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  background: none;
  border: none;
  border-left: 3px solid transparent;
  cursor: pointer;
  transition: all 200ms ease;
  text-align: left;
  font-family: inherit;
  width: 100%;
}

.nav-mobile-dropdown-toggle span {
  font-size: 1.25rem;
  width: 24px;
  text-align: center;
}

.nav-mobile-dropdown-toggle .nav-mobile-chevron {
  width: 16px;
  height: 16px;
  color: rgba(255, 255, 255, 0.7);
  transition: transform 200ms ease;
  margin-left: auto;
}

.nav-mobile-dropdown-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-left-color: var(--primary);
  padding-left: 1.75rem;
}

.nav-mobile-dropdown-toggle.active {
  background: rgba(103, 162, 215, 0.2);
  color: var(--primary);
  border-left-color: var(--primary);
  font-weight: 600;
}

.nav-mobile-dropdown-toggle.active .nav-mobile-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}

.nav-mobile-dropdown-menu {
  display: none;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.2);
  padding: 0.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-mobile-dropdown-menu.is-open {
  display: flex;
}

.nav-mobile-sub-link {
  display: flex;
  align-items: center;
  padding: 0.875rem 1.5rem 0.875rem 3.5rem;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: all 200ms ease;
  border-left: 3px solid transparent;
  position: relative;
}

.nav-mobile-sub-link::before {
  content: '→';
  position: absolute;
  left: 2.5rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

.nav-mobile-sub-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-left-color: var(--primary);
  padding-left: 3.75rem;
}

.nav-mobile-sub-link:hover::before {
  color: var(--primary);
}

/* Mobile menu footer */
.nav-mobile-footer {
  margin-top: auto;
  padding: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
}

.btn-login-mobile {
  width: 100%;
  justify-content: center;
  padding: 0.875rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  background: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: 0.5rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: all 200ms ease;
}

.btn-primary.btn-login-mobile:hover,
.btn-login-mobile:hover {
  background: #1e3a5f !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(30, 58, 95, 0.3);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   MAIN CONTENT
   ═══════════════════════════════════════════════════════════════════════════════ */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 200px);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   HERO (shared pattern)
   ═══════════════════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero {
    min-height: 440px;
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Inner-page hero scroll effect (home hero remains unchanged) */
.hero:not(.home-hero) .hero-bg {
  transform: translate3d(0, var(--hero-parallax-y, 0px), 0) scale(1.08);
  transform-origin: center;
  will-change: transform;
}

@media (min-width: 1024px) {
  .hero:not(.home-hero) .hero-bg {
    background-attachment: fixed;
    background-position: center top;
    transform: none;
    will-change: auto;
  }
}

@media (max-width: 1023px) {
  .hero:not(.home-hero) .hero-bg {
    background-attachment: scroll;
  }
}

.hero .hero-dark-overlay {
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.hero-inner {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hero-eyebrow {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.hero-eyebrow-line {
  width: 2.5rem;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero .hero-title-accent {
  color: var(--primary);
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1rem;
  }
}

.hero-breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.hero-breadcrumbs a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.hero-breadcrumbs a:hover {
  color: var(--primary);
}

.hero-breadcrumbs .crumb-sep {
  color: var(--primary);
  font-weight: 500;
}

.hero-breadcrumbs .crumb-current {
  color: var(--primary);
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   HOME HERO (full-width with floating cards)
   ═══════════════════════════════════════════════════════════════════════════════ */
.home-hero {
  min-height: 92vh;
  min-height: 92svh;
  isolation: isolate;
}

@media (min-width: 768px) {
  .home-hero {
    min-height: 92vh;
    min-height: 92svh;
  }
}

.home-hero .parallax-bg {
  transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.08);
  transform-origin: center;
  will-change: transform;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.home-hero [data-parallax-layer]:not(.parallax-bg) {
  transform: translate3d(0, var(--parallax-y, 0px), 0);
  will-change: transform;
}

.home-hero-gradient {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(760px 380px at 18% 14%, rgba(15, 122, 191, 0.22), transparent 68%),
    radial-gradient(680px 320px at 82% 20%, rgba(19, 54, 90, 0.24), transparent 72%),
    linear-gradient(180deg, rgba(4, 12, 24, 0.62) 0%, rgba(4, 12, 24, 0.82) 46%, rgba(4, 12, 24, 0.95) 100%);
  pointer-events: none;
}

.home-hero .hero-dark-overlay {
  background: rgba(5, 14, 27, 0.2);
}

.home-hero-grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 86px 86px;
  mask-image: linear-gradient(180deg, transparent 2%, rgba(0, 0, 0, 0.9) 18%, rgba(0, 0, 0, 0.9) 82%, transparent 98%);
  opacity: 0.09;
}

.home-hero .hero-content {
  z-index: 4;
  padding-top: clamp(4.6rem, 9vw, 6.8rem);
  padding-bottom: clamp(3.6rem, 7vw, 5.2rem);
  position: relative;
}

.home-hero-stage {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  width: 100%;
}

@media (min-width: 1024px) {
  .home-hero-stage {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    align-items: center;
  }
}

.home-hero-intro {
  max-width: 50rem;
  padding: 0;
  border: 0;
  background: transparent;
  backdrop-filter: none;
  transform: translate3d(0, var(--parallax-y, 0px), 0);
  transition: transform 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

.home-hero-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.84);
  margin-bottom: 0.7rem;
}

.home-hero h1 {
  font-size: clamp(1.84rem, 4.32vw, 4rem);
  font-weight: 700;
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: nowrap;
  white-space: nowrap;
  margin-bottom: 1.15rem;
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-align: left;
  text-shadow: 0 12px 32px rgba(5, 12, 27, 0.4);
}

.home-hero-title-ld {
  color: #69c6ff;
}

.home-hero-title-cons {
  color: #fff;
}

.home-hero-desc {
  color: rgba(255, 255, 255, 0.9);
  max-width: 40rem;
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  margin-bottom: 1.8rem;
  line-height: 1.58;
}

.home-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.home-hero-rail {
  display: none;
  transform: translate3d(0, var(--parallax-y, 0px), 0);
  transition: transform 220ms cubic-bezier(0.4, 0, 0.2, 1);
  align-self: stretch;
  position: relative;
  padding-left: 0.2rem;
  min-height: 18rem;
}

@media (min-width: 1024px) {
  .home-hero-rail {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
  }
}

.home-hero-rail-line {
  position: absolute;
  left: -1.1rem;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.44), rgba(255, 255, 255, 0.06));
}

.home-hero-rail-item {
  position: relative;
  padding-left: 0;
}

.home-hero-rail-item::before {
  content: "";
  position: absolute;
  left: -1.25rem;
  top: 50%;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 0 6px rgba(15, 122, 191, 0.2);
  transform: translate(-50%, -50%);
  z-index: 2;
}

.home-hero-rail-value {
  margin: 0;
  font-size: clamp(2.1rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1;
  color: #fff;
}

.home-hero-rail-label {
  margin: 0.3rem 0 0;
  font-size: 0.72rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.74);
}

.home-hero-stats-row-wrap {
  margin-top: clamp(1.4rem, 2.8vw, 2.2rem);
  transform: translate3d(0, var(--parallax-y, 0px), 0);
  transition: transform 220ms cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
}

.home-hero-stats-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.26);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(4, 14, 29, 0.22);
  align-items: center;
}

@media (min-width: 900px) {
  .home-hero-stats-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.home-hero-stat-item {
  padding: 0.9rem 1rem 0.95rem;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.home-hero-stat-item:last-child {
  border-right: 0;
}

.home-hero-stat-item .value {
  display: block;
  color: #fff;
  font-size: 1.95rem;
  font-weight: 700;
  line-height: 1.02;
  margin-bottom: 0.3rem;
}

.home-hero-stat-item .label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.home-hero-scroll-note {
  margin: 1.15rem 0 0;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  text-align: right;
}

/* Desktop sticky-like hero background feel */
@media (min-width: 1024px) {
  .home-hero .parallax-bg {
    background-attachment: fixed;
    background-position: center top;
    transform: none;
    will-change: auto;
  }
}

@media (max-width: 1023px) {
  .home-hero {
    min-height: 92vh;
    min-height: 92svh;
  }

  .home-hero-intro,
  .home-hero-stats-row-wrap {
    transform: none;
    max-width: none;
  }

  .home-hero-rail {
    display: none;
  }

  .home-hero-scroll-note {
    display: none;
  }

  .home-hero .parallax-bg {
    background-attachment: scroll;
    background-position: center center;
  }
}

@media (max-width: 767px) {
  .home-hero .hero-content {
    padding-top: 4rem;
    padding-bottom: 2.8rem;
  }

  .home-hero h1 {
    font-size: clamp(1.55rem, 8.8vw, 2.5rem);
    gap: 0.32rem;
  }

  .home-hero-stats-row {
    grid-template-columns: 1fr;
  }

  .home-hero-stat-item {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .home-hero-stat-item:last-child {
    border-bottom: 0;
  }

  .home-hero-grid-overlay {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero .parallax-bg,
  .home-hero-intro,
  .home-hero-rail,
  .home-hero-stats-row-wrap {
    transform: none !important;
    transition: none !important;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   SECTIONS (generic)
   ═══════════════════════════════════════════════════════════════════════════════ */
.section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.section-sm {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.section-lg {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  line-height: 1.3;
}

.section-title .accent {
  color: var(--primary);
}

.section-center {
  text-align: center;
  margin-bottom: 3rem;
}

.section-center .eyebrow {
  margin-bottom: 0.5rem;
}

.section-center .section-title {
  margin-bottom: 0.75rem;
}

/* Grid layouts */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

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

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Blog grid for home page – max 4 per row */
.blog-grid-home {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .blog-grid-home {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .blog-grid-home {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1280px) {
  .blog-grid-home {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

@media (min-width: 640px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Process steps (dark band) */
.process-band {
  position: relative;
  padding-top: clamp(4rem, 8vw, 6rem);
  padding-bottom: clamp(3.5rem, 7vw, 5rem);
  overflow: hidden;
}

.process-band-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (min-width: 1024px) {
  .process-band-bg {
    background-attachment: fixed;
    background-position: center top;
  }
}

@media (max-width: 1023px) {
  .process-band-bg {
    background-attachment: scroll;
    background-position: center;
  }
}

.process-band-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(620px 220px at 50% 10%, rgba(103, 162, 215, 0.2), transparent 72%),
    linear-gradient(180deg, rgba(6, 16, 31, 0.86) 0%, rgba(6, 16, 31, 0.92) 62%, rgba(6, 16, 31, 0.96) 100%);
}

.process-band .container-site {
  position: relative;
  z-index: 2;
  text-align: center;
}

.process-band-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: clamp(2rem, 5vw, 3.25rem);
}

.process-band-intro {
  max-width: 46rem;
  margin-left: auto;
  margin-right: auto;
}

.process-band-line {
  display: block;
  width: 2.5rem;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.15rem;
  margin-left: auto;
  margin-right: auto;
}

.process-band h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.85rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
  max-width: none;
  white-space: nowrap;
  margin-left: auto;
  margin-right: auto;
}

.process-band-desc {
  color: rgba(255, 255, 255, 0.8);
  max-width: none;
  white-space: nowrap;
  margin: 0 auto 1.1rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

.process-band .btn-outline-light {
  margin-top: 0.35rem;
}

.btn-process-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.5rem;
  border-radius: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(9, 22, 43, 0.35);
  color: #fff;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.btn-process-light:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3.5vw, 2.25rem);
  position: relative;
}

@media (min-width: 640px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .process-steps {
    grid-template-columns: repeat(4, 1fr);
    align-items: start;
    column-gap: 1.1rem;
  }

  .process-steps::before {
    content: "";
    position: absolute;
    left: 12.5%;
    right: 12.5%;
    top: 2.8rem;
    height: 2px;
    background: linear-gradient(90deg, rgba(103, 162, 215, 0.18), rgba(103, 162, 215, 0.52), rgba(103, 162, 215, 0.18));
    border-radius: 999px;
    pointer-events: none;
  }
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0.4rem 0.5rem 0;
  transition: transform 220ms ease;
}

.process-step:hover {
  transform: translateY(-2px);
}

.process-step-icon {
  width: 5.2rem;
  height: 5.2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
  border: 2px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  position: relative;
  box-shadow: 
    0 8px 20px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 300ms ease;
}

.process-step:hover .process-step-icon {
  transform: translateY(-4px) scale(1.05);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.15) 100%);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 
    0 16px 40px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(103, 162, 215, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.process-step-icon svg,
.process-step-icon .step-emoji {
  font-size: 1.95rem;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  transition: transform 300ms ease;
}

.process-step:hover .process-step-icon .step-emoji {
  transform: scale(1.1);
}

.process-step-num {
  position: absolute;
  bottom: -0.15rem;
  right: -0.05rem;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: #67a2d7;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 16px rgba(103, 162, 215, 0.45);
}

.process-step h3 {
  font-size: 1.22rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.38rem;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.process-step p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 15.5rem;
  margin: 0;
  line-height: 1.65;
}

@media (max-width: 1023px) {
  .process-band h2,
  .process-band-desc {
    white-space: normal;
    max-width: 42rem;
  }

  .process-band-head {
    flex-direction: column;
    align-items: center;
  }

  .btn-process-light {
    margin-top: 0.25rem;
  }
}

/* How We Work page (new layout) */
.hww-stage {
  position: relative;
  min-height: 82vh;
  min-height: 82svh;
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
}

.hww-stage-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hww-stage-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(660px 280px at 18% 14%, rgba(103, 162, 215, 0.2), transparent 72%),
    linear-gradient(180deg, rgba(4, 13, 25, 0.72) 0%, rgba(4, 13, 25, 0.82) 50%, rgba(4, 13, 25, 0.9) 100%);
}

.hww-stage-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding-top: clamp(5.2rem, 10vw, 7rem);
  padding-bottom: clamp(3.5rem, 8vw, 5.2rem);
}

.hww-stage-eyebrow {
  margin: 0 0 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.78rem;
}

.hww-stage h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.3rem, 5.8vw, 4.35rem);
  line-height: 1.08;
  max-width: 16ch;
}

.hww-stage-subtitle {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.92);
  max-width: 44rem;
  font-size: clamp(1rem, 2vw, 1.16rem);
  line-height: 1.75;
}

.hww-stage-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
  margin-top: 1.4rem;
}

.hww-stage-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.hww-stage-badges span {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.8rem;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.94);
  background: rgba(8, 18, 34, 0.35);
}

.hww-process-section {
  background: #f7fafd;
}

.hww-section-head {
  text-align: center;
  max-width: 52rem;
  margin: 0 auto 2rem;
}

.hww-section-head h2 {
  margin: 0.35rem 0 0.7rem;
  font-size: clamp(2rem, 3.8vw, 3rem);
}

.hww-section-head p {
  margin: 0;
  color: var(--muted-foreground);
  line-height: 1.7;
}

.hww-process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .hww-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .hww-process-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.hww-process-card {
  border-radius: 1rem;
  border: 1px solid rgba(31, 49, 99, 0.12);
  background: #fff;
  padding: 1rem 1rem 1.1rem;
  box-shadow: 0 10px 22px rgba(15, 36, 78, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.hww-process-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(15, 36, 78, 0.14);
  border-color: rgba(103, 162, 215, 0.35);
}

.hww-process-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.8rem;
}

.hww-process-step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.05rem;
  height: 2.05rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #1f3163;
  background: rgba(103, 162, 215, 0.18);
}

.hww-process-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  font-size: 1.1rem;
  border-radius: 0.55rem;
  background: rgba(31, 49, 99, 0.08);
}

.hww-process-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.18rem;
}

.hww-process-card p {
  margin: 0;
  color: var(--muted-foreground);
  line-height: 1.65;
  font-size: 0.92rem;
}

.hww-value-section {
  background: linear-gradient(180deg, #1f3163 0%, #162b54 100%);
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}

.hww-value-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(103, 162, 215, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(103, 162, 215, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.hww-value-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

@media (min-width: 900px) {
  .hww-value-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
  }
}

.hww-value-card {
  border-radius: 1.25rem;
  border: 1px solid rgba(103, 162, 215, 0.2);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 2rem 1.75rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(103, 162, 215, 0.1) inset;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.hww-value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #67a2d7 0%, rgba(103, 162, 215, 0.5) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hww-value-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(103, 162, 215, 0.4);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(103, 162, 215, 0.2) inset;
}

.hww-value-card:hover::before {
  opacity: 1;
}

.hww-value-card h3 {
  margin: 0 0 0.7rem;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hww-value-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  font-size: 0.95rem;
}

.hww-cta-section {
  background: #f7fafd;
  padding-top: clamp(2.7rem, 5vw, 4rem);
}

.hww-cta-box {
  border-radius: 1.1rem;
  background: #1f3163;
  border: 1px solid rgba(31, 49, 99, 0.2);
  padding: clamp(1.5rem, 4vw, 2.2rem);
  color: #fff;
  text-align: center;
  box-shadow: 0 18px 36px rgba(15, 36, 78, 0.26);
}

.hww-cta-box h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
}

.hww-cta-box p {
  margin: 0.7rem auto 0;
  max-width: 46rem;
  color: rgba(255, 255, 255, 0.9);
}

.hww-cta-actions {
  margin-top: 1.2rem;
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.hww-cta-actions .btn-primary,
.hww-cta-actions .btn-outline-light {
  min-width: 8.8rem;
  padding: 0.64rem 1.2rem;
}

.hww-cta-actions .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.hww-cta-actions .btn-outline-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

/* Blog/Post cards */
.post-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  overflow: hidden;
}

.post-card-img-wrap {
  overflow: hidden;
}

.post-card img {
  width: 100%;
  height: 12rem;
  object-fit: cover;
  transition: transform 300ms;
}

.post-card:hover img {
  transform: scale(1.05);
}

.post-card-body {
  padding: 1.25rem;
}

.post-card h3 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.625rem;
  line-height: 1.4;
  transition: color 150ms;
}

.post-card:hover h3 {
  color: var(--primary);
}

.post-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 11px;
  color: var(--muted-foreground);
  margin-bottom: 0.625rem;
}

.post-card-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.post-card-excerpt {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.post-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.post-card-link:hover {
  text-decoration: none;
  color: inherit;
}

.post-card-link:hover h3 {
  color: var(--primary);
}

.post-card-readmore {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  transition: all 300ms ease;
  margin-top: 0.5rem;
}

.post-card-link:hover .post-card-readmore {
  color: #67a2d7;
  transform: translateX(4px);
}

.post-card-link .home-news-readmore {
  pointer-events: none;
}

.post-card-link:hover .home-news-readmore {
  background: #5a8fc4;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(103, 162, 215, 0.3);
}

.blog-single-container {
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .blog-single-container {
    max-width: 1000px;
  }
}

/* Home news section */
.home-news-section {
  background:
    radial-gradient(460px 220px at 10% 8%, rgba(103, 162, 215, 0.1), transparent 72%),
    var(--card);
}

.home-news-head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 900px) {
  .home-news-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
  }
}

.home-news-head .section-title {
  margin-bottom: 0.6rem;
}

.home-news-subtitle {
  margin: 0;
  max-width: 42rem;
  color: var(--muted-foreground);
}

.home-news-viewall {
  width: fit-content;
  white-space: nowrap;
}

.home-news-grid {
  display: grid;
  grid-template-columns: 1fr;
  justify-content: start;
  gap: 1.4rem;
}

.home-news-card {
  max-width: 360px;
  border-radius: 0.95rem;
  border: 1px solid rgba(31, 49, 99, 0.1);
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: 0 8px 20px rgba(15, 36, 78, 0.08);
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

@media (min-width: 768px) {
  .home-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .home-news-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.home-news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(15, 36, 78, 0.16);
  border-color: rgba(103, 162, 215, 0.35);
}

.home-news-card .post-card-img-wrap {
  border-bottom: 1px solid rgba(31, 49, 99, 0.08);
}

.home-news-card img {
  height: 12.5rem;
}

.home-news-card .post-card-body {
  padding: 1.1rem 1.2rem 1.2rem;
}

.home-news-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

.home-news-card .post-card-meta {
  gap: 0.5rem;
  margin-bottom: 0.7rem;
}

.home-news-card .post-card-meta span {
  border: 1px solid rgba(31, 49, 99, 0.12);
  border-radius: var(--radius-pill);
  padding: 0.2rem 0.5rem;
  background: rgba(31, 49, 99, 0.04);
}

.home-news-card .post-card-excerpt {
  font-size: 0.88rem;
  margin-bottom: 0.95rem;
}

.home-news-readmore {
  font-size: 0.8rem;
  padding: 0.58rem 1rem;
}

/* Value / mini cards */
.value-card {
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1rem;
}

.value-card h4 {
  font-size: 0.875rem;
  color: var(--primary);
  margin-bottom: 0.375rem;
}

.value-card p {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin: 0;
  line-height: 1.5;
}

/* Core team values highlight section */
.core-values-highlight-section {
  background:
    radial-gradient(560px 260px at 8% 12%, rgba(103, 162, 215, 0.1), transparent 72%),
    var(--background);
}

.core-values-highlight-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .core-values-highlight-grid {
    grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
    gap: 3rem;
  }
}

.core-values-highlight-media img {
  width: 100%;
  max-width: 24rem;
  margin: 0 auto;
  border-radius: 1rem;
  box-shadow: 0 20px 42px rgba(15, 36, 78, 0.18);
}

.core-values-highlight-content .section-title {
  margin-bottom: 0.9rem;
}

.core-values-highlight-intro {
  color: var(--muted-foreground);
  line-height: 1.75;
  margin: 0 0 1.45rem;
  max-width: 40rem;
}

.core-values-highlight-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 680px) {
  .core-values-highlight-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.core-values-highlight-card {
  border: 1px solid rgba(31, 49, 99, 0.1);
  border-radius: 0.9rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  padding: 0.9rem 1rem;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.core-values-highlight-card:hover {
  transform: translateY(-4px);
  border-color: rgba(103, 162, 215, 0.35);
  box-shadow: 0 14px 28px rgba(15, 36, 78, 0.12);
}

.core-values-highlight-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: rgba(103, 162, 215, 0.14);
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.core-values-highlight-card h4 {
  margin: 0 0 0.2rem;
  color: #4f8fca;
  font-size: 1.32rem;
}

.core-values-highlight-card p {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Home about section */
.home-about-section {
  background:
    radial-gradient(520px 260px at 9% 10%, rgba(103, 162, 215, 0.1), transparent 70%),
    var(--card);
}

.home-about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .home-about-grid {
    grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
    gap: 3.25rem;
  }
}

.home-about-media {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(31, 49, 99, 0.12);
  box-shadow: 0 18px 38px rgba(16, 31, 64, 0.16);
}

.home-about-image {
  width: 100%;
  height: clamp(20rem, 46vw, 33rem);
  object-fit: cover;
}

.home-about-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 14, 27, 0.05) 0%, rgba(5, 14, 27, 0.34) 100%);
  pointer-events: none;
}

.home-about-media-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.72rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.92);
  color: #1f3163;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.home-about-media-chip {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  padding: 0.42rem 0.75rem;
  border-radius: var(--radius-pill);
  background: rgba(31, 49, 99, 0.9);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
}

.home-about-copy .section-title {
  margin-bottom: 0.9rem;
}

.home-about-desc {
  color: #5a6d8a;
  line-height: 1.72;
  margin-bottom: 1.35rem;
  max-width: 42rem;
}

.home-about-values {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.95rem;
  margin-bottom: 1.4rem;
}

@media (min-width: 768px) {
  .home-about-values {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.home-about-value {
  border-radius: 0.85rem;
  background: linear-gradient(180deg, rgba(247, 250, 255, 0.98) 0%, rgba(241, 246, 253, 0.94) 100%);
  border: 1px solid rgba(31, 49, 99, 0.1);
  padding: 1rem;
}

.home-about-value-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.45rem;
}

.home-about-value-icon {
  font-size: 1rem;
}

.home-about-value h4 {
  margin: 0;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.home-about-value p {
  font-size: 0.88rem;
  line-height: 1.65;
}

.home-about-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
}

/* Core values band (primary) */
.values-band {
  position: relative;
  background: #1f3163;
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.values-band-head {
  text-align: center;
  max-width: 56rem;
  margin: 0 auto 2.5rem;
}

.values-band-kicker {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 600;
}

.values-band-subtitle {
  margin: 0.75rem auto 0;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  max-width: 48rem;
  font-size: 0.95rem;
}

.values-band h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  margin: 0.5rem 0 0;
}

.values-band-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .values-band-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem;
  }
}

@media (min-width: 1200px) {
  .values-band-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
  }
}

.value-box {
  position: relative;
  background: #fff;
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 200ms ease, box-shadow 200ms ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.value-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.value-box-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #67a2d7 0%, #4a8bc4 100%);
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px rgba(103, 162, 215, 0.3);
}

.value-box-number {
  display: none;
}

.value-box h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1f3163;
  margin-bottom: 0.5rem;
}

.value-box p {
  font-size: 0.9rem;
  color: var(--muted-foreground);
  margin: 0;
  line-height: 1.6;
}

.value-box-integrity .value-box-icon,
.value-box-excellence .value-box-icon,
.value-box-innovation .value-box-icon,
.value-box-partnership .value-box-icon {
  background: linear-gradient(135deg, #67a2d7 0%, #4a8bc4 100%);
}

/* Timeline */
.timeline-wrap {
  position: relative;
  max-width: 70rem;
  margin-left: auto;
  margin-right: auto;
  overflow: visible;
}

.timeline-wrap-sticky {
  --timeline-pad: clamp(2.5rem, 5vh, 4rem);
  --axis-gap: clamp(1.75rem, 3vw, 2.75rem);
  padding-top: var(--timeline-pad);
  padding-bottom: var(--timeline-pad);
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: var(--timeline-pad);
  bottom: var(--timeline-pad);
  width: 2px;
  background: rgba(31, 49, 99, 0.25);
  border-radius: 2px;
  transform: translateX(-50%);
}

.timeline-line-progress {
  position: absolute;
  left: 50%;
  top: var(--timeline-pad);
  width: 2px;
  height: 0;
  background: linear-gradient(180deg, #1f3163 0%, #1f3163 70%, #162448 100%);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: height 320ms cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-center-marker {
  position: sticky;
  top: 50vh;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.timeline-center-marker::before {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(31, 49, 99, 0.14);
  border: 1px solid rgba(31, 49, 99, 0.25);
  transform: translate(-50%, -50%);
  z-index: -1;
}

.timeline-marker-year {
  position: absolute;
  top: 1.35rem;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 0;
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-pill);
  background: #1f3163;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 20px rgba(31, 49, 99, 0.4);
  transition: transform 220ms ease, opacity 220ms ease;
}

.timeline-item {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(16rem, 44vh, 28rem);
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--axis-gap);
  height: 2px;
  background: rgba(31, 49, 99, 0.35);
  transform: translateY(-50%);
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-item-content {
  width: calc(50% - var(--axis-gap));
  padding: 0 1rem;
  text-align: left;
}

.timeline-item-spacer {
  width: calc(50% - var(--axis-gap));
}

.timeline-item:nth-child(odd) .timeline-item-content {
  text-align: right;
}

.timeline-item:nth-child(even) .timeline-item-content {
  text-align: left;
}

.timeline-item:nth-child(odd)::before {
  transform: translate(-100%, -50%);
}

.timeline-item:nth-child(even)::before {
  transform: translate(0, -50%);
}

.timeline-card {
  display: inline-block;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.95rem;
  width: min(100%, 28rem);
  padding: 1.25rem;
  text-align: left;
  box-shadow: var(--shadow-card);
  opacity: 0.52;
  transform: translateY(22px) scale(0.965);
  transition: opacity 260ms ease, transform 300ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 260ms ease;
}

.timeline-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  color: #1f3163;
  background: rgba(31, 49, 99, 0.1);
  padding: 0.125rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.375rem;
}

.timeline-card h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.timeline-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin: 0;
  line-height: 1.65;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timeline-dot-circle {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #1f3163;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px rgba(31, 49, 99, 0.25), 0 5px 14px rgba(31, 49, 99, 0.35);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.timeline-year {
  margin-top: 0.25rem;
  padding: 0.125rem 0.625rem;
  border-radius: var(--radius-pill);
  background: #1f3163;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.timeline-year-inline {
  margin-top: 0;
  margin-bottom: 0.375rem;
  display: inline-flex;
}

.timeline-item.is-active .timeline-card {
  opacity: 1;
  transform: translateY(0) scale(1);
  box-shadow: var(--shadow-elevated);
}

.timeline-item.is-active .timeline-year-inline {
  background: #162448;
}

.timeline-wrap-sticky.is-active .timeline-dot-circle {
  transform: scale(1.15);
  box-shadow: 0 0 0 8px rgba(31, 49, 99, 0.2), 0 8px 18px rgba(31, 49, 99, 0.5);
}

@media (max-width: 900px) {
  .timeline-wrap-sticky {
    --timeline-pad: 2rem;
    --axis-gap: 1rem;
    padding: 2rem 0;
  }

  .timeline-line,
  .timeline-line-progress {
    left: 1.5rem;
    transform: none;
    width: 3px;
  }

  .timeline-center-marker {
    left: 1.5rem;
    transform: translate(-50%, -50%);
    z-index: 10;
  }

  .timeline-center-marker::before {
    width: 28px;
    height: 28px;
    background: rgba(103, 162, 215, 0.15);
    border: 2px solid var(--primary);
    border-radius: 50%;
  }
  
  .timeline-dot-circle {
    width: 14px;
    height: 14px;
    background: var(--primary);
    border: 3px solid #ffffff;
    box-shadow: 0 0 0 2px var(--primary), 0 4px 12px rgba(31, 49, 99, 0.4);
  }
  
  .timeline-marker-year {
    font-size: 0.6875rem;
    padding: 0.25rem 0.625rem;
    background: var(--primary);
    color: #ffffff;
    border: 2px solid #ffffff;
    box-shadow: 0 4px 12px rgba(31, 49, 99, 0.4);
  }

  .timeline-item,
  .timeline-item:nth-child(even),
  .timeline-item:nth-child(odd) {
    min-height: auto;
    flex-direction: row;
    margin-bottom: 2.5rem;
    padding: 0;
    width: 100%;
  }

  .timeline-item::before,
  .timeline-item:nth-child(odd)::before,
  .timeline-item:nth-child(even)::before {
    left: 1.5rem;
    width: 14px;
    height: 14px;
    transform: translate(-50%, -50%);
    background: var(--primary);
    border: 3px solid #ffffff;
    box-shadow: 0 0 0 2px var(--primary), 0 4px 12px rgba(31, 49, 99, 0.3);
  }

  .timeline-item-content,
  .timeline-item-spacer {
    width: 100%;
    padding: 0 1rem 0 2.75rem;
  }

  .timeline-item:nth-child(odd) .timeline-item-content,
  .timeline-item:nth-child(even) .timeline-item-content {
    text-align: left;
  }

  .timeline-marker-year {
    left: 0;
    transform: translateX(0);
    font-size: 0.75rem;
    padding: 0.125rem 0.5rem;
  }
  
  .timeline-card {
    opacity: 1;
    transform: none;
    width: 100%;
    max-width: 100%;
    margin: 0;
    display: block;
  }
}

@media (max-width: 767px) {
  .timeline-wrap-sticky {
    --timeline-pad: 1rem;
    padding: 1.5rem 0;
  }
  
  .timeline-line,
  .timeline-line-progress {
    left: 1.5rem !important;
    width: 3px !important;
    background: var(--primary) !important;
  }
  
  .timeline-center-marker {
    left: 1.5rem !important;
    transform: translate(-50%, -50%) !important;
    z-index: 10 !important;
  }
  
  .timeline-center-marker::before {
    width: 32px !important;
    height: 32px !important;
    background: rgba(103, 162, 215, 0.15) !important;
    border: 2px solid var(--primary) !important;
    border-radius: 50% !important;
  }
  
  .timeline-dot-circle {
    width: 16px !important;
    height: 16px !important;
    background: var(--primary) !important;
    border: 3px solid #ffffff !important;
    box-shadow: 0 0 0 3px var(--primary), 0 4px 16px rgba(31, 49, 99, 0.4) !important;
    z-index: 11 !important;
  }
  
  .timeline-marker-year {
    top: 2rem !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    padding: 0.375rem 0.75rem !important;
    background: var(--primary) !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
    box-shadow: 0 4px 12px rgba(31, 49, 99, 0.4) !important;
    white-space: nowrap !important;
    z-index: 12 !important;
    display: block !important;
  }
  
  .timeline-item {
    margin-bottom: 2.5rem;
    width: 100%;
  }
  
  .timeline-item::before {
    left: 1.5rem !important;
    width: 16px !important;
    height: 16px !important;
    background: var(--primary) !important;
    border: 3px solid #ffffff !important;
    box-shadow: 0 0 0 2px var(--primary), 0 4px 12px rgba(31, 49, 99, 0.3) !important;
    border-radius: 50% !important;
    z-index: 5 !important;
  }
  
  .timeline-item-content {
    width: 100% !important;
    padding: 0 0 0 2.75rem !important;
    margin: 0 !important;
  }
  
  .timeline-item-spacer {
    display: none !important;
  }
  
  .timeline-card {
    width: 100% !important;
    max-width: 100% !important;
    padding: 1.5rem !important;
    border-radius: 1rem !important;
    margin: 0 !important;
    display: block !important;
    opacity: 1 !important;
    transform: none !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
  }
  
  /* Year display - make it prominent */
  .timeline-year-inline {
    font-size: 0.8125rem !important;
    font-weight: 700 !important;
    padding: 0.375rem 0.75rem !important;
    margin-bottom: 0.75rem !important;
    margin-right: 0.5rem !important;
    background: var(--primary) !important;
    color: #ffffff !important;
    border-radius: 0.375rem !important;
    display: inline-block !important;
    box-shadow: 0 2px 8px rgba(103, 162, 215, 0.3) !important;
  }
  
  .timeline-tag {
    font-size: 0.6875rem !important;
    font-weight: 600 !important;
    padding: 0.25rem 0.625rem !important;
    margin-bottom: 0.75rem !important;
    background: rgba(31, 49, 99, 0.12) !important;
    color: #1f3163 !important;
    border-radius: 0.375rem !important;
    display: inline-block !important;
  }
  
  .timeline-card h4 {
    font-size: 1.125rem !important;
    font-weight: 600 !important;
    margin-bottom: 0.75rem !important;
    line-height: 1.4 !important;
    color: #1f3163 !important;
  }
  
  .timeline-card p {
    font-size: 0.9375rem !important;
    line-height: 1.7 !important;
    color: #64748b !important;
    margin: 0 !important;
  }
  
  /* Ensure container uses full width */
  .section .container-site {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  /* Make timeline section full width */
  .section.bg-card {
    padding-left: 0;
    padding-right: 0;
  }
  
  .section.bg-card .container-site {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Mission strip (navy) */
.mission-strip {
  padding: 3.5rem 0;
  text-align: center;
}

.mission-strip h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.mission-strip p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 48rem;
  margin: 0 auto;
  font-size: 1.125rem;
  line-height: 1.6;
  font-style: italic;
}

/* Industry cards */
.industry-card {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid var(--border);
}

.industry-card img {
  width: 100%;
  height: 12rem;
  object-fit: cover;
  transition: transform 300ms;
}

.industry-card:hover img {
  transform: scale(1.05);
}

.industry-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
}

.industry-card-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
}

.industry-card-caption h3 {
  color: #fff;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
}

.industry-card-bar {
  width: 1.5rem;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
  transition: width 200ms;
}

.industry-card:hover .industry-card-bar {
  width: 3rem;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   CREATIVE TEAM SECTION — Equal Cards with Modern Glassmorphism
   ═══════════════════════════════════════════════════════════════════════════════ */

.team-section-creative {
  background: linear-gradient(180deg, #f5f7fb 0%, #ffffff 50%, #f8fafc 100%);
  padding: clamp(4rem, 8vw, 6rem) 0;
  position: relative;
  overflow: hidden;
}

.team-section-creative::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(103, 162, 215, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(31, 49, 99, 0.06) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.team-section-creative .container-site {
  position: relative;
  z-index: 1;
  max-width: 1400px;
}

/* ── Header Section ── */
.team-creative-header {
  text-align: center;
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}

.team-creative-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #67a2d7;
  margin: 0 0 1rem;
}

.team-creative-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #1f3163;
  margin: 0 0 1rem;
  font-family: 'Playfair Display', serif;
}

.team-creative-subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Equal Grid Layout ── */
.team-creative-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3rem);
}

@media (min-width: 768px) {
  .team-creative-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(2rem, 4vw, 3rem);
  }
}

@media (min-width: 1024px) {
  .team-creative-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(2rem, 4vw, 3rem);
  }
}

@media (min-width: 1200px) {
  .team-creative-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(1.5rem, 2.5vw, 2rem);
  }
}

/* ── Unified Card Design (All Equal) ── */
.team-card-unified {
  position: relative;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 28px;
  padding: clamp(1.25rem, 2.5vw, 1.5rem);
  min-height: auto;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  overflow: hidden;
  transition: all 400ms cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.team-card-unified::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #67a2d7 0%, #4a8bc4 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.team-card-unified:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.95);
}

.team-card-unified:hover::before {
  transform: scaleX(1);
}

.team-card-bg {
  position: absolute;
  top: -30%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(103, 162, 215, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.team-card-unified:hover .team-card-bg {
  transform: scale(1.2);
}

.team-card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.team-card-image-wrapper {
  position: relative;
  width: 100%;
  height: 210px;
  margin-bottom: 0.875rem;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

.team-card-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 1rem;
}

.team-card-image img {
  width: auto;
  height: 95%;
  max-width: 100%;
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
  transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.team-card-unified:hover .team-card-image img {
  transform: scale(1.08) translateY(-8px);
}

.team-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(103, 162, 215, 0.05) 100%);
  pointer-events: none;
}

.team-card-placeholder {
  width: 100%;
  height: 100%;
  background: transparent;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1f3163;
  font-size: 3.5rem;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.06em;
}

.team-card-text {
  position: relative;
  display: flex;
  flex-direction: column;
}

.team-card-number {
  position: absolute;
  top: -0.5rem;
  right: 0;
  font-size: 4.5rem;
  font-weight: 700;
  color: rgba(103, 162, 215, 0.1);
  line-height: 1;
  font-family: 'Playfair Display', serif;
  transition: color 400ms ease;
}

.team-card-unified:hover .team-card-number {
  color: rgba(103, 162, 215, 0.2);
}

.team-card-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: #1f3163;
  margin: 0 0 0.5rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  padding-right: 3rem;
}

.team-card-role {
  font-size: clamp(0.85rem, 1.3vw, 0.95rem);
  color: #64748b;
  margin: 0;
  line-height: 1.6;
  font-weight: 400;
  padding-right: 3rem;
}

.team-card-accent {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #67a2d7 0%, transparent 100%);
  margin-top: 0.625rem;
  border-radius: 1px;
  transition: width 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.team-card-unified:hover .team-card-accent {
  width: 60px;
}

/* ── Responsive Design ── */
@media (max-width: 1023px) {
  .team-card-unified {
    min-height: auto;
    padding: 1.25rem 1.25rem;
  }

  .team-card-image-wrapper {
    height: 220px;
    margin-bottom: 0.875rem;
  }
  
  .team-card-image img {
    height: 100%;
    max-height: 100%;
  }
  
  .team-card-number {
    font-size: 3.75rem;
    top: -0.5rem;
    right: 0.75rem;
  }
  
  .team-card-name {
    padding-right: 3rem;
    font-size: clamp(1.375rem, 3vw, 1.75rem);
  }
  
  .team-card-role {
    padding-right: 3rem;
    font-size: clamp(0.875rem, 1.5vw, 0.9375rem);
  }
}

@media (max-width: 767px) {
  .team-section-creative {
    padding: clamp(3rem, 6vw, 4rem) 0;
  }

  .team-card-unified {
    padding: 2rem;
    border-radius: 24px;
    min-height: auto;
  }

  .team-card-image-wrapper {
    height: 180px;
  }

  .team-card-name,
  .team-card-role {
    padding-right: 0;
  }

  .team-card-number {
    font-size: 3.5rem;
  }
}

/* Legacy team cards (if used elsewhere) */
.team-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.team-card-avatar {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: var(--primary-soft);
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary);
}

.team-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.125rem;
}

.team-card-role {
  font-size: 0.875rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.team-card p {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin: 0;
  line-height: 1.5;
}

/* Projects filter bar */
.filter-bar {
  padding: 1rem 0;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 200ms;
  font-family: inherit;
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Project cards – compact card style */
.project-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.2s;
}

.project-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.project-card-img-wrap {
  position: relative;
  height: 10rem;
  overflow: hidden;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms;
}

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

.project-card-overlay {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  max-width: 85%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  border-radius: 0.35rem;
  padding: 0.35rem 0.6rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.project-card-overlay .title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--foreground);
  margin: 0 0 0.125rem 0;
  line-height: 1.2;
}

.project-card-overlay .location {
  font-size: 0.6875rem;
  color: var(--muted-foreground);
  margin: 0;
}

.project-card-body {
  padding: 0.6rem 0.75rem 0.75rem;
}

.project-status {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.project-status.under-construction {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.project-status.coming-soon {
  background: #e0f2ff;
  color: #0f7abf;
  border: none;
}

.project-card-body .url {
  font-size: 0.6875rem;
  color: var(--muted-foreground);
  margin: 0 0 0.4rem 0;
}

.project-card-body h3 {
  font-size: 0.8125rem;
  font-weight: 700;
  margin: 0 0 0.15rem 0;
  line-height: 1.25;
}

.project-card-body .project-location {
  font-size: 0.6875rem;
  color: var(--muted-foreground);
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin: 0;
}

/* Projects section – compact layout */
.section-projects.section {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.section-projects .projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .section-projects .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .section-projects .projects-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

@media (min-width: 1280px) {
  .section-projects .projects-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   MODERN PROJECTS FILTER & GRID LAYOUT
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ── Filter Section ── */
.projects-filter-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  padding: clamp(2rem, 4vw, 3rem) 0;
  border-bottom: 1px solid var(--border);
}

.projects-filter-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.projects-filter-header {
  margin-bottom: 1.5rem;
  text-align: center;
}

.projects-filter-label {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
  margin: 0;
}

.projects-filter-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
}

.projects-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 2px solid var(--border);
  background: #ffffff;
  color: var(--foreground);
  cursor: pointer;
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.projects-filter-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(103, 162, 215, 0.1), transparent);
  transition: left 500ms ease;
}

.projects-filter-btn:hover::before {
  left: 100%;
}

.projects-filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(103, 162, 215, 0.15);
}

.projects-filter-btn.active {
  background: linear-gradient(135deg, #67a2d7 0%, #4a8bc4 100%);
  color: #ffffff;
  border-color: #67a2d7;
  box-shadow: 0 4px 15px rgba(103, 162, 215, 0.3);
}

.projects-filter-btn.active:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(103, 162, 215, 0.4);
}

.filter-btn-icon {
  font-size: 1.1rem;
  line-height: 1;
}

.filter-btn-text {
  line-height: 1;
}

/* ── Modern Projects Grid ── */
.section-projects-modern {
  background: #ffffff;
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.projects-grid-modern {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3vw, 2rem);
  align-items: stretch;
}

@media (min-width: 640px) {
  .projects-grid-modern {
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(1.5rem, 3vw, 2rem);
    align-items: stretch;
  }
}

@media (min-width: 1024px) {
  .projects-grid-modern {
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
    align-items: stretch;
  }
}

/* ── Modern Project Card ── */
.project-card-modern {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 
    0 4px 16px rgba(0, 0, 0, 0.148),
    0 2px 8px rgba(0, 0, 0, 0.04),
    0 1px 4px rgba(0, 0, 0, 0.02);
  transition: all 400ms cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.project-card-modern:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.1),
    0 4px 12px rgba(0, 0, 0, 0.06);
  border-color: rgba(103, 162, 215, 0.3);
}

.project-card-modern-image {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.project-card-modern-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 500ms cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

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

.project-card-modern-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 400ms ease;
  gap: 1.5rem;
  z-index: 10;
}

.project-card-modern:hover .project-card-modern-overlay {
  opacity: 1;
}

.project-card-modern-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: translateY(10px);
  transition: all 400ms ease;
  z-index: 11;
}

.project-card-modern:hover .project-card-modern-actions {
  opacity: 1;
  transform: translateY(0);
}

.project-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: all 300ms ease;
  text-decoration: none;
  color: #fff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.project-action-btn svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.5;
}

.project-preview-btn {
  background: rgba(103, 162, 215, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.project-preview-btn:hover {
  background: rgba(103, 162, 215, 1);
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 6px 16px rgba(103, 162, 215, 0.5);
}

.project-details-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.project-details-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}


.project-card-modern-badge {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 400ms ease;
  z-index: 11;
}

.project-card-modern:hover .project-card-modern-badge {
  opacity: 1;
  transform: translateY(0);
}

.project-status-badge {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.project-status-badge.under-construction {
  background: rgba(245, 166, 35, 0.95);
  color: #ffffff;
}

.project-status-badge.coming-soon {
  background: rgba(103, 162, 215, 0.95);
  color: #ffffff;
}

.project-status-badge.completed {
  background: rgba(34, 197, 94, 0.95);
  color: #ffffff;
}

.project-card-modern-content {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
  box-sizing: border-box;
}

.project-card-modern-header {
  flex: 1;
  margin-bottom: 1rem;
}

.project-card-modern-title {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  font-weight: 700;
  color: var(--foreground);
  margin: 0 0 0.75rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.project-card-modern-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin: 0;
  line-height: 1.5;
}

.project-card-modern-location svg {
  flex-shrink: 0;
  opacity: 0.6;
}

.project-card-modern-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.project-card-modern-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: all 300ms ease;
}

.project-card-modern-link span {
  transition: transform 300ms ease;
}

.project-card-modern-link:hover {
  color: var(--primary-dark);
  gap: 0.75rem;
}

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

/* ── Empty State ── */
.projects-empty-state {
  text-align: center;
  padding: clamp(3rem, 6vw, 5rem) 1rem;
}

.projects-empty-text {
  font-size: 1rem;
  color: var(--muted-foreground);
  margin: 0;
}

/* Contact page */
.contact-page-shell {
  background:
    radial-gradient(640px 260px at 8% 6%, rgba(103, 162, 215, 0.12), transparent 72%),
    radial-gradient(520px 240px at 92% 8%, rgba(31, 49, 99, 0.08), transparent 70%),
    var(--card);
}

.contact-page-intro {
  max-width: 50rem;
  margin: 0 auto 2rem;
  text-align: center;
}

.contact-page-intro .section-title {
  margin-bottom: 0.75rem;
}

.contact-page-intro-desc {
  margin: 0 auto;
  color: var(--muted-foreground);
  max-width: 42rem;
}

/* Contact form & alerts (used on contact page and elsewhere) */
.contact-form .form-label,
.form-label {
  display: block;
  font-weight: 600;
  color: var(--foreground);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.contact-form .form-control,
.form-control {
  width: 100%;
  border: 2px solid var(--border);
  border-radius: var(--radius, 10px);
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(103, 162, 215, 0.15);
}

.contact-form textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.contact-form .btn-primary,
.contact-form button[type="submit"].btn-primary {
  cursor: pointer;
  border: none;
  margin-top: 0.25rem;
}

.mb-3 {
  margin-bottom: 1.25rem;
}

.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius, 10px);
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
  border: 1px solid transparent;
}

.alert-danger {
  background: #fef2f2;
  color: #b91c1c;
  border-color: #fecaca;
}

.alert-success {
  background: #f0fdf4;
  color: #166534;
  border-color: #bbf7d0;
}

.text-danger {
  color: var(--destructive);
}

.contact-main-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.35rem;
  margin-top: 1.8rem;
}

@media (min-width: 1024px) {
  .contact-main-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 1.2fr);
    gap: 1.75rem;
    align-items: stretch;
  }
}

.contact-main-visual {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  min-height: 26rem;
  box-shadow: 0 22px 48px rgba(12, 30, 60, 0.18);
}

@media (min-width: 1024px) {
  .contact-main-visual {
    min-height: 0;
    height: 100%;
  }
}

.contact-main-visual-image-only {
  background: var(--muted);
}

/* Contact left image: fill box with rounded edges */
.contact-section-modern .contact-main-visual-image-only {
  background: linear-gradient(145deg, rgba(103, 162, 215, 0.06) 0%, rgba(147, 112, 219, 0.05) 50%, rgba(103, 162, 215, 0.04) 100%);
  border-radius: 1.25rem;
  box-shadow: 0 4px 20px rgba(31, 49, 99, 0.06);
  overflow: hidden;
}

.contact-section-modern .contact-main-visual img {
  object-fit: cover;
  object-position: center;
  border-radius: 1.25rem;
}

.contact-main-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.contact-main-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 16, 30, 0.16) 0%, rgba(7, 16, 30, 0.7) 75%, rgba(7, 16, 30, 0.86) 100%);
}

.contact-main-visual-content {
  position: absolute;
  inset: auto 0 0;
  padding: 1.35rem 1.2rem 1.25rem;
  color: #fff;
  z-index: 1;
}

.contact-main-visual-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
}

.contact-main-visual-content h3 {
  margin: 0 0 0.45rem;
  font-size: 1.6rem;
  color: #fff;
}

.contact-main-visual-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  max-width: 32rem;
}

.contact-main-visual-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.95rem;
}

.contact-main-visual-actions .btn-primary,
.contact-main-visual-actions .btn-outline-light {
  padding: 0.58rem 1rem;
}

.contact-main-info {
  height: 100%;
}

.contact-main-info-card {
  height: 100%;
  border-radius: 1rem;
  border: 1px solid rgba(31, 49, 99, 0.14);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 16px 36px rgba(15, 36, 78, 0.09);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
}

.contact-main-info-label {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--primary);
  font-weight: 700;
}

.contact-main-info-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.45rem;
}

.contact-main-info-text {
  margin: 0 0 0.75rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.contact-main-info-list {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.contact-main-info-list span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.84rem;
  color: #1f3163;
  font-weight: 500;
}

.contact-main-info-list span::before {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

.contact-methods-block {
  margin-top: 1.75rem;
}

.section-subtitle {
  margin: 0.5rem auto 0;
  max-width: 40rem;
  color: var(--muted-foreground);
}

.contact-methods-grid {
  margin-top: 1.15rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .contact-methods-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}

.contact-method-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.1rem;
  border: 1px solid rgba(31, 49, 99, 0.12);
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  box-shadow: 0 10px 24px rgba(15, 36, 78, 0.08);
  padding: 1.5rem 1.2rem 1.35rem;
  text-align: center;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.contact-method-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, rgba(103, 162, 215, 0.15), rgba(103, 162, 215, 0.85), rgba(103, 162, 215, 0.15));
}

.contact-method-card > * {
  position: relative;
  z-index: 1;
}

.contact-method-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 34px rgba(15, 36, 78, 0.14);
  border-color: rgba(103, 162, 215, 0.35);
}

.contact-method-icon {
  width: 3.9rem;
  height: 3.9rem;
  margin: 0 auto 0.9rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #fff;
  background: linear-gradient(180deg, #7ab4e7 0%, #67a2d7 100%);
  box-shadow: 0 10px 20px rgba(103, 162, 215, 0.24);
}

.contact-method-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.contact-method-card h4 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.7rem, 2.1vw, 2.05rem);
  line-height: 1.15;
  color: #162b54;
}

.contact-method-card p {
  margin: 0 0 0.75rem;
  color: var(--muted-foreground);
  font-size: 0.98rem;
  line-height: 1.55;
}

.contact-method-link {
  display: inline-block;
  margin-bottom: 0.52rem;
  font-size: 1.14rem;
  font-weight: 700;
  color: #1f3163;
  text-decoration: none;
}

.contact-method-link:hover {
  color: var(--primary);
}

.contact-method-meta {
  display: block;
  font-size: 0.9rem;
  color: var(--muted-foreground);
  line-height: 1.45;
}

/* Home contact premium section */
.home-contact-premium {
  position: relative;
  isolation: isolate;
  background: #dee9ff;
  padding-top: 4rem;
  padding-bottom: 0;
}

.home-contact-premium::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("../img/New%20folder/Untitled-design.bk.webp");
  background-size: 100% 160%;
  background-position: center 68%;
  background-repeat: no-repeat;
  opacity: 0.46;
}

 .home-contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .home-contact-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
    gap: 3.5rem;
  }
}

@media (min-width: 900px) {
  .home-contact-grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: 2.5rem;
  }
}

.home-contact-copy {
  align-self: center;
}

.home-contact-copy .section-title {
  margin-bottom: 0.95rem;
}

.home-contact-desc {
  color: var(--muted-foreground);
  margin-bottom: 1.35rem;
  max-width: 32rem;
  line-height: 1.7;
  font-size: 1.04rem;
}

.home-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.home-contact-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.home-contact-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(31, 49, 99, 0.08);
  border: 1px solid rgba(31, 49, 99, 0.12);
  color: #1f3163;
  border-radius: var(--radius-pill);
  padding: 0.3rem 0.72rem;
  font-size: 0.74rem;
  font-weight: 600;
}

.home-contact-media-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 22rem;
  align-self: end;
}

.home-contact-media-wrap::before {
  content: none;
  position: absolute;
  inset: 10% 8% 8%;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(103, 162, 215, 0.2) 0%, rgba(103, 162, 215, 0.03) 62%, transparent 78%);
  filter: blur(2px);
  pointer-events: none;
}

.home-contact-media-wrap::after {
  content: none;
  position: absolute;
  inset: 14% 10% 10%;
  background-image:
    linear-gradient(90deg, rgba(31, 49, 99, 0.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(31, 49, 99, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.28;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.72), transparent 78%);
  pointer-events: none;
}

.home-contact-media {
  position: relative;
  width: min(100%, 21rem);
  min-height: 0;
  border: 0;
  background: transparent;
  overflow: visible;
  padding: 0;
  box-shadow: none;
  z-index: 1;
}

.home-contact-media-img {
  width: 100%;
  height: 29.5rem;
  object-fit: contain;
  object-position: center bottom;
  filter: none;
}

.home-contact-media-glow {
  display: none;
}

@media (max-width: 767px) {
  .home-contact-media-wrap {
    min-height: 16rem;
  }

  .home-contact-media {
    width: min(100%, 14rem);
  }

  .home-contact-media-img {
    height: 18.8rem;
  }
}

.map-wrap {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.contact-map-section {
  padding-top: 0;
  padding-bottom: 0;
}

.contact-map-head {
  text-align: center;
  padding-top: 0.75rem;
  padding-bottom: 1.25rem;
}

.contact-map-head .section-title {
  margin-bottom: 0.45rem;
}

.contact-map-address {
  margin: 0;
  color: var(--muted-foreground);
}

.contact-map-full {
  width: 100%;
}

.contact-map-wrap {
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  box-shadow: none;
}

.map-label {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.375rem 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--foreground);
  box-shadow: var(--shadow-soft);
  max-width: calc(100% - 1.5rem);
}

.map-label-icon {
  color: var(--primary);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
}

.contact-map-wrap iframe {
  height: clamp(420px, 56vw, 560px);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--border);
  padding-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-col--span-3 {
  grid-column: 1 / -1;
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
}

.footer-top-logo .footer-logo-wrap {
  margin-bottom: 0;
}

.footer-contact-col {
  display: flex;
  flex-direction: column;
}

.footer-contact-bottom {
  margin-top: 1.5rem;
}

@media (max-width: 767px) {
  .footer-top {
    flex-direction: column;
    gap: 1rem;
  }
}

.footer-heading {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 1rem;
}

.footer-logo-link {
  display: inline-block;
  text-decoration: none;
}

.footer-logo-img {
  /* Keep logos proportional even when uploaded as wide images */
  display: block;
  height: auto;
  max-height: 68px;
  width: auto;
  max-width: 160px;
}

.footer-logo {
  width: 2.5rem;
  height: 2.5rem;
}

.footer-logo .logo-mark-top {
  font-size: 8px;
}

.footer-logo .logo-mark-ld {
  font-size: 7px;
}

.footer-about {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.footer-about--sm {
  /* ~10% smaller than default */
  font-size: 0.7875rem;
}

.footer-hours-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.125rem;
}

.footer-hours {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social-link {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 300ms ease;
  text-decoration: none;
}

.footer-social-link svg {
  width: 20px;
  height: 20px;
  transition: transform 300ms ease;
}

/* Facebook - Blue */
.footer-social-facebook {
  color: #1877f2;
}

.footer-social-facebook:hover {
  background: rgba(24, 119, 242, 0.15);
  border-color: #1877f2;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
}

.footer-social-facebook:hover svg {
  transform: scale(1.15);
}

/* LinkedIn - Professional Blue */
.footer-social-linkedin {
  color: #0077b5;
}

.footer-social-linkedin:hover {
  background: rgba(0, 119, 181, 0.15);
  border-color: #0077b5;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 119, 181, 0.3);
}

.footer-social-linkedin:hover svg {
  transform: scale(1.15);
}

/* Instagram - Gradient Pink/Orange */
.footer-social-instagram {
  color: #e4405f;
  position: relative;
}

.footer-social-instagram svg {
  position: relative;
  z-index: 1;
}

.footer-social-instagram:hover {
  background: linear-gradient(45deg, rgba(225, 48, 108, 0.15), rgba(245, 96, 64, 0.15));
  border-color: #e4405f;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(228, 64, 95, 0.3);
}

.footer-social-instagram:hover svg {
  transform: scale(1.15);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin-bottom: 0.75rem;
}

.footer-contact-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(15, 122, 191, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.875rem;
}

.footer-contact-item span:last-child {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.625rem;
  text-decoration: none;
}

.footer-link:hover {
  color: var(--primary);
}

.footer-newsletter-desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.75rem;
}

.footer-newsletter {
  display: flex;
  border-radius: var(--radius-pill);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
}

.footer-newsletter-input {
  flex: 1;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  background: transparent;
  border: none;
  color: var(--foreground);
  font-family: inherit;
}

.footer-newsletter-input::placeholder {
  color: var(--muted-foreground);
}

.footer-newsletter-input:focus {
  outline: none;
}

.footer-newsletter-btn {
  padding: 0.625rem 1rem;
  border-radius: 0;
  border: none;
}

.footer-mc4wp {
  font-size: 10px;
  color: rgba(100, 116, 139, 0.5);
  margin-top: 0.5rem;
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--navy-muted);
  margin: 0;
}

.footer-nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--navy-muted);
}

.footer-nav-links a {
  color: var(--navy-muted);
  text-decoration: none;
}

.footer-nav-links a:hover {
  color: var(--primary);
}

.footer-dot {
  color: var(--primary);
}

/* Back to top */
.back-to-top {
  position: fixed;
  top: auto;
  bottom: 1rem;
  right: 1rem;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: var(--shadow-elevated);
  z-index: 40;
  transform: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: background 150ms, opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

@media (max-width: 767px) {
  .back-to-top {
    bottom: 1rem;
  }

  .back-to-top:hover {
    transform: translateY(-2px);
  }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   404 PAGE
   ═══════════════════════════════════════════════════════════════════════════════ */
.page-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--muted);
}

.page-404-inner {
  text-align: center;
}

.page-404 h1 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.page-404 p {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.page-404 a {
  color: var(--primary);
  text-decoration: underline;
}

.page-404 a:hover {
  color: var(--primary-dark);
}

.page-404-nav {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.page-404-nav a {
  font-size: 0.9375rem;
}

.btn-404 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.5rem;
  text-decoration: none !important;
  color: #fff !important;
}

.page-404 .btn-404:hover {
  color: #fff !important;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   RICH TEXT / BLOG & PROJECT DESCRIPTION (Quill/editor output)
   ═══════════════════════════════════════════════════════════════════════════════ */
.project-description,
.blog-content {
  line-height: 1.7;
}

.project-description p,
.blog-content p {
  margin-bottom: 1rem;
}

.project-description p:last-child,
.blog-content p:last-child {
  margin-bottom: 0;
}

.project-description h2,
.project-description h3,
.blog-content h2,
.blog-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.project-description ul,
.project-description ol,
.blog-content ul,
.blog-content ol {
  margin: 0.75rem 0 1rem 1.5rem;
  padding: 0;
}

.project-description li,
.blog-content li {
  margin-bottom: 0.375rem;
}

.project-description a,
.blog-content a {
  color: var(--primary);
  text-decoration: underline;
}

.project-description a:hover,
.blog-content a:hover {
  color: var(--primary-dark);
}

.project-description strong,
.blog-content strong {
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   PROJECT SINGLE PAGE (New Design)
   ═══════════════════════════════════════════════════════════════════════════════ */

.project-single-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: #f8f9fa;
}

.project-single-header-info {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e5e7eb;
}

.project-single-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #1f3163;
  margin: 0 0 1rem 0;
  line-height: 1.2;
}

.project-single-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  color: #64748b;
  font-size: 1rem;
}

.project-single-badges {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0;
  flex-wrap: wrap;
}

.project-category-badge {
  display: inline-block;
  padding: 0.625rem 1.25rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(103, 162, 215, 0.15);
  color: #67a2d7;
  border: 2px solid rgba(103, 162, 215, 0.4);
  box-shadow: 0 2px 4px rgba(103, 162, 215, 0.1);
}

.project-status-badge-new {
  display: inline-block;
  padding: 0.625rem 1.25rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
}

.project-status-badge-new.under-construction {
  background: rgba(251, 191, 36, 0.95);
  color: #1f3163;
}

.project-status-badge-new.completed {
  background: rgba(34, 197, 94, 0.95);
}

.project-status-badge-new.coming-soon {
  background: rgba(99, 102, 241, 0.95);
}

.project-single-location {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #666;
  font-size: 0.95rem;
  font-weight: 500;
}

.project-single-location svg {
  color: #67a2d7;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.project-single-container {
  max-width: 1400px;
  margin: 0 auto;
}

.project-single-box {
  display: grid;
  grid-template-columns: 1fr;
  background: #fff;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  min-height: 500px;
}

@media (min-width: 1024px) {
  .project-single-box {
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
  }
}

.project-single-media {
  order: 1;
  background: #f8f9fa;
  padding: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.project-single-media > div {
  width: 100%;
  padding: 2rem;
}

@media (min-width: 1024px) {
  .project-single-media > div {
    padding: 3rem;
  }
}

.project-single-info {
  order: 2;
}

.project-single-slider {
  position: relative;
  width: 100%;
  padding: 2rem;
}

@media (min-width: 1024px) {
  .project-single-slider {
    padding: 3rem;
  }
}

.project-single-slider-container {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
  width: 100%;
  aspect-ratio: 1 / 1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.project-single-slider-wrapper {
  display: flex;
  transition: transform 500ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  width: 100%;
  height: 100%;
}

.project-single-slide {
  min-width: 100%;
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #f0f0f0;
}

.project-single-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.project-single-slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #1f3163;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 300ms ease;
  z-index: 10;
  padding: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.project-single-slider-nav:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.project-single-slider-prev {
  left: 1.5rem;
}

.project-single-slider-next {
  right: 1.5rem;
}

.project-single-slider-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  backdrop-filter: blur(10px);
}

.project-single-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(31, 49, 99, 0.3);
  background: transparent;
  cursor: pointer;
  transition: all 300ms ease;
  padding: 0;
}

.project-single-dot.active {
  background: #1f3163;
  border-color: #1f3163;
  transform: scale(1.2);
}

.project-single-info {
  display: flex;
  align-items: flex-start;
}

.project-single-info-content {
  width: 100%;
  padding: clamp(2rem, 4vw, 3rem);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.project-single-summary {
  margin-bottom: 2rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e5e7eb;
}

.project-single-summary h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f3163;
  margin: 0 0 1rem;
  line-height: 1.3;
}

.project-single-summary p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #555;
  margin: 0;
}

.project-single-description {
  margin-bottom: 2.5rem;
  line-height: 1.8;
  color: #333;
}

.project-single-description h2,
.project-single-description h3,
.project-single-description h4 {
  color: #1f3163;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.project-single-description h2:first-child,
.project-single-description h3:first-child,
.project-single-description h4:first-child {
  margin-top: 0;
}

.project-single-description ul {
  list-style: disc outside !important;
  padding-left: 1.5em !important;
  margin-left: 0 !important;
  margin-top: 1.5rem !important;
  margin-bottom: 1.5rem !important;
}

.project-single-description ol {
  list-style: decimal outside !important;
  padding-left: 1.5em !important;
  margin-left: 0 !important;
  margin-top: 1.5rem !important;
  margin-bottom: 1.5rem !important;
}

.project-single-description li {
  display: list-item !important;
  text-indent: 0 !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
  margin-bottom: 2px !important;
  line-height: 1.57 !important;
  color: #555 !important;
}

.project-single-description p {
  margin: 1rem 0;
  line-height: 0.9;
  color: #555;
}

.project-single-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.project-single-actions .btn-outline,
.project-single-actions .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 300ms ease;
  text-decoration: none;
}

.project-single-actions .btn-outline {
  background: transparent;
  border: 2px solid #1f3163;
  color: #1f3163;
}

.project-single-actions .btn-outline:hover {
  background: #1f3163;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(31, 49, 99, 0.2);
}

.project-single-actions .btn-primary {
  background: #67a2d7;
  border: 2px solid #67a2d7;
  color: #fff;
}

.project-single-actions .btn-primary:hover {
  background: #5a8fc4;
  border-color: #5a8fc4;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(103, 162, 215, 0.3);
}

@media (max-width: 767px) {
  .project-single-section {
    padding: 2rem 0;
  }
  
  .project-single-header {
    margin-bottom: 2rem;
  }
  
  .project-single-media {
    padding: 1.5rem;
  }
  
  .project-single-info-content {
    padding: 1.5rem;
  }
  
  .project-single-actions {
    flex-direction: column;
  }
  
  .project-single-actions .btn-outline,
  .project-single-actions .btn-primary {
    width: 100%;
    justify-content: center;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   PROJECT PREVIEW MODAL
   ═══════════════════════════════════════════════════════════════════════════════ */

.project-preview-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  transition: opacity 300ms ease;
}

.project-preview-modal.active {
  display: flex;
  opacity: 1;
}

.project-preview-modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 300ms ease;
}

.project-preview-modal.active .project-preview-modal-content {
  transform: scale(1);
}

.project-preview-modal-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

.project-preview-modal-title {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.project-preview-modal-close {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.5rem;
  transition: all 300ms ease;
  backdrop-filter: blur(10px);
}

.project-preview-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.project-preview-modal-image {
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}

@media (max-width: 768px) {
  .project-detail-container {
    grid-template-columns: 1fr;
  }
  
  .project-detail-left {
    padding: 2rem 1.5rem;
  }
  
  .project-detail-right {
    padding: 2rem 1.5rem;
  }
  
  .project-gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 0.75rem;
  }
  
  .project-gallery-item img {
    height: 80px;
  }
  
  .project-preview-modal {
    padding: 1rem;
  }
  
  .project-preview-modal-content {
    max-width: 100%;
    max-height: 100%;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   COMPREHENSIVE RESPONSIVE STYLES - MOBILE & TABLET
   Desktop-first approach: Base styles are desktop, media queries adjust for smaller screens
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ── Breakpoints ──
   Desktop: ≥1200px (unchanged)
   Large Tablet: 1024px - 1199px
   Tablet: 768px - 1023px
   Mobile: <768px
   Small Mobile: <480px
*/

/* ═══════════════════════════════════════════════════════════════════════════════
   GLOBAL RESPONSIVE ADJUSTMENTS
   ═══════════════════════════════════════════════════════════════════════════════ */

/* Tablet & Below (max-width: 1199px) */
@media (max-width: 1199px) {
  .container-site {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  
  body {
    font-size: 15px;
  }
  
  h1 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
  }
  
  h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
  }
  
  h3 {
    font-size: clamp(1.25rem, 3.5vw, 1.75rem);
  }
}

/* Tablet (max-width: 1023px) */
@media (max-width: 1023px) {
  .container-site {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  
  .section {
    padding-top: clamp(2.5rem, 5vw, 4rem);
    padding-bottom: clamp(2.5rem, 5vw, 4rem);
  }
}

/* Mobile (max-width: 767px) */
@media (max-width: 767px) {
  body {
    font-size: 14px;
    line-height: 1.6;
  }
  
  .container-site {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .section {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  
  /* Ensure no horizontal scroll */
  * {
    max-width: 100%;
  }
  
  img {
    height: auto;
  }
}

/* Small Mobile (max-width: 479px) */
@media (max-width: 479px) {
  body {
    font-size: 13px;
  }
  
  .container-site {
    padding-left: 0.875rem;
    padding-right: 0.875rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   NAVIGATION - MOBILE RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════════ */

@media (max-width: 1023px) {
  .nav-inner {
    height: 3.5rem;
    padding: 0 1rem;
  }
  
  .nav-brand-logo {
    height: 38px;
  }
  
  .nav-right {
    gap: 0.75rem;
  }
  
  .btn-login {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
  }
  
  /* Ensure nav toggle is visible */
  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 767px) {
  .nav-inner {
    height: 3.25rem;
    padding: 0 0.75rem;
  }
  
  .nav-brand-logo {
    height: 36px;
  }
  
  .nav-social {
    display: none;
  }
  
  .nav-right-divider {
    display: none;
  }
  
  .btn-login {
    padding: 0.5rem 0.875rem;
    font-size: 0.6875rem;
  }
  
  /* Mobile menu improvements */
  .nav-mobile-header {
    padding: 1rem 1.25rem;
  }
  
  .nav-mobile-logo {
    height: 38px;
  }
  
  .nav-mobile-close {
    width: 36px;
    height: 36px;
  }
  
  .nav-mobile-content {
    padding: 1rem 0;
  }
  
  .nav-mobile-link,
  .nav-mobile-dropdown-toggle {
    padding: 0.875rem 1.25rem;
    font-size: 0.9375rem;
  }
  
  .nav-mobile-sub-link {
    padding: 0.75rem 1.25rem 0.75rem 3rem;
    font-size: 0.875rem;
  }
  
  .nav-mobile-sub-link::before {
    left: 2rem;
  }
  
  .nav-mobile-footer {
    padding: 1.25rem;
  }
  
  .btn-login-mobile {
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   HOMEPAGE - RESPONSIVE ADJUSTMENTS
   ═══════════════════════════════════════════════════════════════════════════════ */

/* Home Hero Section - Improved Mobile Layout */
@media (max-width: 1023px) {
  .home-hero {
    min-height: 75vh;
    padding: 3rem 0 2rem;
  }
  
  .home-hero-stage {
    flex-direction: column;
    gap: 2.5rem;
    align-items: center;
  }
  
  .home-hero-intro {
    text-align: center;
    width: 100%;
    max-width: 100%;
  }
  
  .home-hero-rail {
    display: none;
  }
  
  .home-hero-stats-row {
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
  }
  
  .home-hero-stat-item {
    flex: 0 1 calc(50% - 0.75rem);
    min-width: 140px;
    text-align: center;
  }
  
  .home-hero-label {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
  }
  
  .home-hero h1 {
    margin-bottom: 1rem;
  }
  
  .home-hero-desc {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 767px) {
  .home-hero {
    min-height: 85vh;
    padding: 2.5rem 0 2rem;
  }
  
  .home-hero .hero-content {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  
  .home-hero-stage {
    gap: 2rem;
  }
  
  .home-hero-intro {
    padding: 0 0.5rem;
  }
  
  .home-hero-label {
    font-size: 0.6875rem;
    letter-spacing: 0.12em;
    margin-bottom: 0.875rem;
    opacity: 0.9;
  }
  
  .home-hero-title-ld {
    font-size: clamp(2.75rem, 14vw, 4.5rem);
    display: block;
    margin-bottom: 0.25rem;
  }
  
  .home-hero-title-cons {
    font-size: clamp(1.75rem, 9vw, 3rem);
    display: block;
  }
  
  .home-hero-desc {
    font-size: clamp(0.9375rem, 3.5vw, 1.0625rem);
    line-height: 1.75;
    margin-bottom: 2rem;
    padding: 0 0.5rem;
    opacity: 0.95;
  }
  
  .home-hero-cta {
    flex-direction: column;
    gap: 0.875rem;
    width: 100%;
    max-width: 100%;
    padding: 0 0.5rem;
  }
  
  .home-hero-cta .btn-primary,
  .home-hero-cta .btn-outline-light {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    justify-content: center;
    padding: 0.875rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
  }
  
  .home-hero-stats-row {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    padding: 1.5rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    margin-top: 2rem;
  }
  
  .home-hero-stat-item {
    flex: 0 1 calc(50% - 0.5rem);
    min-width: 120px;
    text-align: center;
    padding: 0.75rem 0.5rem;
  }
  
  .home-hero-stat-item .value {
    font-size: clamp(1.75rem, 6vw, 2.25rem);
    font-weight: 700;
    display: block;
    margin-bottom: 0.25rem;
  }
  
  .home-hero-stat-item .label {
    font-size: clamp(0.6875rem, 2vw, 0.8125rem);
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
  
  .home-hero-scroll-note {
    font-size: 0.75rem;
    margin-top: 1.5rem;
    opacity: 0.8;
  }
  
  /* Improve hero overlay for better text readability */
  .home-hero .hero-dark-overlay {
    background: linear-gradient(
      180deg,
      rgba(15, 23, 42, 0.85) 0%,
      rgba(30, 45, 61, 0.75) 50%,
      rgba(30, 45, 61, 0.85) 100%
    );
  }
}

/* Home About Section */
@media (max-width: 1023px) {
  .home-about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .home-about-image {
    height: clamp(18rem, 50vw, 25rem);
  }
  
  .home-about-values {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .home-about-actions {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .home-about-actions .btn-primary,
  .home-about-actions .btn-outline {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .home-about-section {
    padding: 2rem 0;
  }
  
  .home-about-grid {
    gap: 1.5rem;
  }
  
  .home-about-image {
    height: clamp(15rem, 60vw, 20rem);
  }
  
  .section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 1rem;
  }
  
  .home-about-desc {
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
  }
}

/* Process Steps (Home & How We Work) */
@media (max-width: 1023px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .process-steps::before {
    display: none;
  }
  
  .process-band {
    padding: 3rem 0;
  }
  
  .process-band h2 {
    font-size: clamp(1.75rem, 5vw, 2.25rem);
    margin-bottom: 1rem;
  }
}

@media (max-width: 767px) {
  .process-steps {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .process-step {
    padding: 1.5rem;
  }
  
  .process-step-icon {
    width: 3.5rem;
    height: 3.5rem;
    font-size: 1.5rem;
  }
  
  .process-step-title {
    font-size: 1.125rem;
    margin-top: 1rem;
  }
  
  .process-step-desc {
    font-size: 0.875rem;
  }
  
  .process-band {
    padding: 2rem 0;
  }
  
  .process-band h2 {
    font-size: clamp(1.5rem, 6vw, 1.875rem);
  }
  
  .process-band-desc {
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
  }
}

/* Blog Teaser (Homepage) */
@media (max-width: 1023px) {
  .blog-grid-home {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 767px) {
  .blog-grid-home {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .post-card {
    margin-bottom: 0;
  }
  
  .post-card-img-wrap {
    height: 200px;
  }
  
  .post-card-body {
    padding: 1.25rem;
  }
  
  .post-card-body h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
  }
  
  .post-card-excerpt {
    font-size: 0.875rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   PROJECTS PAGE - RESPONSIVE ADJUSTMENTS
   ═══════════════════════════════════════════════════════════════════════════════ */

/* Projects Filter Section */
@media (max-width: 1023px) {
  .projects-filter-section {
    padding: 2rem 0;
  }
  
  .projects-filter-buttons {
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
  }
  
  .projects-filter-btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
  }
}

@media (max-width: 767px) {
  .projects-filter-section {
    padding: 1.5rem 0;
  }
  
  .projects-filter-header {
    margin-bottom: 1rem;
  }
  
  .projects-filter-label {
    font-size: 0.875rem;
  }
  
  .projects-filter-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
  
  .projects-filter-btn {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1rem;
  }
  
  .filter-btn-icon {
    font-size: 1.25rem;
  }
}

/* Projects Grid */
@media (max-width: 767px) {
  .projects-grid-modern {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .project-card-modern {
    width: 100%;
    max-width: 100%;
  }
  
  .project-card-modern-image {
    height: 280px;
  }
  
  .project-card-modern-content {
    padding: 1.25rem;
  }
  
  .project-card-modern-title {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
  }
  
  .project-card-modern-location {
    font-size: 0.8125rem;
  }
  
  .project-status-badge {
    font-size: 0.625rem;
    padding: 0.25rem 0.625rem;
  }
  
  .project-card-modern-actions {
    gap: 0.5rem;
  }
  
  .project-action-btn {
    width: 36px;
    height: 36px;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   PROJECT SINGLE PAGE - RESPONSIVE ADJUSTMENTS
   ═══════════════════════════════════════════════════════════════════════════════ */

@media (max-width: 1023px) {
  .project-single-hero {
    min-height: 50vh;
  }
  
  .project-single-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .project-single-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 767px) {
  .project-single-hero {
    min-height: 40vh;
  }
  
  .project-single-header h1 {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 0.75rem;
  }
  
  .project-single-location {
    font-size: 0.875rem;
  }
  
  .project-single-gallery {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .project-single-gallery-item {
    height: 250px;
  }
  
  .project-single-info-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .project-single-description {
    font-size: 0.9375rem;
    line-height: 1.7;
  }
  
  .project-single-actions {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .project-single-actions .btn-primary,
  .project-single-actions .btn-outline {
    width: 100%;
    justify-content: center;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   BLOG PAGE - RESPONSIVE ADJUSTMENTS
   ═══════════════════════════════════════════════════════════════════════════════ */

@media (max-width: 1023px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 767px) {
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .post-card {
    width: 100%;
  }
  
  .post-card-img-wrap {
    height: 200px;
  }
  
  .post-card-body {
    padding: 1.25rem;
  }
  
  .post-card-body h3 {
    font-size: 1.125rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
  }
  
  .post-card-meta {
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .post-card-excerpt {
    font-size: 0.875rem;
    line-height: 1.6;
  }
  
  .post-card-readmore {
    font-size: 0.8125rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   BLOG SINGLE PAGE - RESPONSIVE ADJUSTMENTS
   ═══════════════════════════════════════════════════════════════════════════════ */

@media (max-width: 767px) {
  .blog-single-hero {
    min-height: 40vh;
    padding: 2rem 0;
  }
  
  .blog-single-header {
    padding: 1.5rem 0;
  }
  
  .blog-single-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 1rem;
  }
  
  .blog-single-meta {
    font-size: 0.8125rem;
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  
  .blog-single-featured-image {
    margin: 1.5rem 0;
    border-radius: 0.75rem;
  }
  
  .blog-single-content {
    font-size: 0.9375rem;
    line-height: 1.75;
  }
  
  .blog-single-content h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
  }
  
  .blog-single-content h3 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
  }
  
  .blog-single-content p {
    margin-bottom: 1rem;
  }
  
  .blog-single-content ul,
  .blog-single-content ol {
    margin-left: 1.25rem;
    margin-bottom: 1rem;
  }
  
  .blog-single-content img {
    border-radius: 0.5rem;
    margin: 1.5rem 0;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   CORE TEAM PAGE - RESPONSIVE ADJUSTMENTS
   ═══════════════════════════════════════════════════════════════════════════════ */

@media (max-width: 1023px) {
  .team-creative-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem;
  }
  
  .team-creative-header {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .team-creative-title {
    font-size: clamp(1.75rem, 5vw, 2.25rem);
  }
  
  .team-creative-subtitle {
    font-size: 0.9375rem;
  }
}

@media (max-width: 767px) {
  .team-creative-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }
  
  .team-creative-header {
    margin-bottom: 2rem;
    padding: 0 0.5rem;
  }
  
  .team-creative-eyebrow {
    font-size: 0.6875rem;
    margin-bottom: 0.5rem;
  }
  
  .team-creative-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 0.75rem;
  }
  
  .team-creative-subtitle {
    font-size: 0.875rem;
    line-height: 1.6;
  }
  
  .team-card-unified {
    padding: 1.25rem 1.125rem;
    border-radius: 20px;
    min-height: auto;
    margin: 0 auto;
    max-width: 100%;
  }
  
  /* Fix image wrapper and image display */
  .team-card-image-wrapper {
    height: 240px;
    margin-bottom: 0.875rem;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
  }
  
  .team-card-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    position: relative;
  }
  
  .team-card-image img {
    width: auto;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.12));
    transition: transform 300ms ease;
  }
  
  /* Fix number positioning to prevent overlap */
  .team-card-number {
    font-size: 3rem;
    top: -0.25rem;
    right: 0.5rem;
    z-index: 1;
    opacity: 0.15;
    pointer-events: none;
  }
  
  /* Fix text positioning */
  .team-card-text {
    position: relative;
    z-index: 2;
    padding-top: 0;
  }
  
  .team-card-name {
    font-size: clamp(1.25rem, 4vw, 1.5rem);
    margin-bottom: 0.625rem;
    padding-right: 2.5rem;
    line-height: 1.3;
    word-wrap: break-word;
  }
  
  .team-card-role {
    font-size: clamp(0.8125rem, 2.5vw, 0.9375rem);
    margin-bottom: 1rem;
    line-height: 1.6;
    padding-right: 2.5rem;
    color: #64748b;
    word-wrap: break-word;
  }
  
  .team-card-accent {
    width: 50px;
    height: 2px;
    margin-top: 1rem;
  }
  
  /* Ensure no overflow */
  .team-card-content {
    overflow: visible;
  }
  
  .team-card-bg {
    width: 300px;
    height: 300px;
    top: -20%;
    right: -15%;
  }
  
  .team-section-creative {
    padding: 2.5rem 0;
  }
  
  /* Fix timeline on mobile */
  .timeline-wrap-sticky {
    padding: 1rem 0;
  }
  
  .timeline-item {
    min-height: auto !important;
    margin-bottom: 2rem;
  }
  
  .timeline-item-content {
    padding: 0 0.5rem 0 2.5rem !important;
  }
  
  .timeline-card {
    width: 100%;
    max-width: 100%;
    padding: 1.25rem;
    margin: 0;
  }
  
  .timeline-card h4 {
    font-size: 1rem;
    margin-bottom: 0.625rem;
  }
  
  .timeline-card p {
    font-size: 0.875rem;
    line-height: 1.6;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   CONTACT PAGE - RESPONSIVE ADJUSTMENTS
   ═══════════════════════════════════════════════════════════════════════════════ */

@media (max-width: 1023px) {
  .contact-page-shell {
    padding: 2.5rem 0;
  }
  
  .contact-page-intro {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .contact-page-intro .section-title {
    font-size: clamp(1.75rem, 5vw, 2.25rem);
  }
  
  .contact-page-intro-desc {
    font-size: 0.9375rem;
  }
  
  .contact-methods-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem;
  }
  
  .contact-method-card {
    padding: 1.5rem;
  }
  
  .contact-map-head {
    padding: 1rem 0;
  }
  
  .contact-map-head .section-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
  }
  
  .contact-map-wrap iframe {
    height: 400px !important;
  }
}

@media (max-width: 767px) {
  .contact-page-shell {
    padding: 2rem 0;
  }
  
  .contact-page-intro {
    margin-bottom: 1.5rem;
  }
  
  .contact-page-intro .eyebrow {
    font-size: 0.6875rem;
    margin-bottom: 0.5rem;
  }
  
  .contact-page-intro .section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 0.75rem;
  }
  
  .contact-page-intro-desc {
    font-size: 0.875rem;
    line-height: 1.6;
  }
  
  .contact-methods-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem;
  }
  
  .contact-method-card {
    padding: 1.25rem;
    text-align: center;
  }
  
  .contact-method-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  .contact-method-card h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
  }
  
  .contact-method-card p {
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
  }
  
  .contact-method-link {
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
    display: block;
  }
  
  .contact-method-meta {
    font-size: 0.8125rem;
  }
  
  .contact-map-head {
    padding: 1rem 0;
  }
  
  .contact-map-head .section-title {
    font-size: clamp(1.25rem, 5vw, 1.75rem);
    margin-bottom: 0.5rem;
  }
  
  .contact-map-address {
    font-size: 0.875rem;
  }
  
  .contact-map-wrap {
    border-radius: 0;
  }
  
  .contact-map-wrap iframe {
    height: 300px !important;
  }
  
  .map-label {
    font-size: 0.6875rem;
    padding: 0.25rem 0.5rem;
    top: 0.5rem;
    left: 0.5rem;
  }
  
  .map-label-icon {
    font-size: 0.875rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   FOOTER - RESPONSIVE ADJUSTMENTS
   ═══════════════════════════════════════════════════════════════════════════════ */

@media (max-width: 1023px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .footer-about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .footer {
    padding: 2.5rem 0 1.5rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-about {
    text-align: center;
  }
  
  .footer-logo {
    margin: 0 auto 1rem;
  }
  
  .footer-about-text {
    font-size: 0.875rem;
    text-align: center;
  }
  
  .footer-section-title {
    font-size: 1rem;
    margin-bottom: 1rem;
    text-align: center;
  }
  
  .footer-links {
    text-align: center;
  }
  
  .footer-link {
    font-size: 0.875rem;
    padding: 0.5rem 0;
  }
  
  .footer-social {
    justify-content: center;
    margin-top: 1rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
    padding: 1.5rem 0;
  }
  
  .footer-bottom-text {
    font-size: 0.8125rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   404 PAGE - RESPONSIVE ADJUSTMENTS
   ═══════════════════════════════════════════════════════════════════════════════ */

@media (max-width: 767px) {
  .error-404 {
    padding: 2rem 1rem;
    min-height: 60vh;
  }
  
  .error-404-title {
    font-size: clamp(3rem, 15vw, 6rem);
    margin-bottom: 1rem;
  }
  
  .error-404-message {
    font-size: clamp(1rem, 4vw, 1.25rem);
    margin-bottom: 1.5rem;
    padding: 0 1rem;
  }
  
  .error-404-link {
    padding: 0.875rem 1.5rem;
    font-size: 0.9375rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   INVESTOR PORTAL - RESPONSIVE ADJUSTMENTS
   ═══════════════════════════════════════════════════════════════════════════════ */

@media (max-width: 1023px) {
  .investor-navbar {
    padding: 0.75rem 1rem;
  }
  
  .investor-navbar .navbar-brand img {
    height: 32px;
  }
  
  .investor-navbar .navbar-text {
    font-size: 0.875rem;
  }
  
  .investor-navbar .btn {
    font-size: 0.8125rem;
    padding: 0.5rem 0.875rem;
  }
  
  main.container {
    padding: 2rem 1rem !important;
  }
  
  main.container h1,
  main.container .h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
  }
  
  .row.g-4 {
    gap: 1.5rem !important;
  }
  
  .card {
    margin-bottom: 1rem;
  }
}

@media (max-width: 767px) {
  .investor-navbar {
    padding: 0.625rem 0.75rem;
  }
  
  .investor-navbar .navbar-brand img {
    height: 30px;
  }
  
  .investor-navbar .navbar-text {
    display: none;
  }
  
  .investor-navbar .btn {
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
  }
  
  main.container {
    padding: 1.5rem 0.75rem !important;
  }
  
  main.container h1,
  main.container .h2 {
    font-size: clamp(1.25rem, 5vw, 1.75rem);
    margin-bottom: 0.75rem;
  }
  
  main.container p.text-muted {
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
  }
  
  /* Investor dashboard grid */
  .row.g-4 > [class*="col-"] {
    margin-bottom: 1rem;
  }
  
  .card {
    border-radius: 0.75rem;
    overflow: hidden;
  }
  
  .card-img-top {
    height: 180px !important;
    object-fit: cover;
  }
  
  .card-body {
    padding: 1.25rem;
  }
  
  .card-body h3,
  .card-body .h5 {
    font-size: 1.125rem;
    margin-top: 0.75rem;
    margin-bottom: 0.5rem;
  }
  
  .card-body .badge {
    font-size: 0.6875rem;
    padding: 0.25rem 0.5rem;
  }
  
  .card-body .small {
    font-size: 0.8125rem;
    margin-bottom: 0.75rem;
  }
  
  .card-text {
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1rem;
  }
  
  .card-body .btn {
    width: 100%;
    font-size: 0.875rem;
    padding: 0.625rem 1rem;
  }
  
  /* Investor project single page */
  .img-fluid.rounded {
    border-radius: 0.75rem !important;
    margin-bottom: 1.5rem !important;
  }
  
  .lead {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }
  
  .project-description {
    font-size: 0.9375rem;
    line-height: 1.75;
  }
  
  .project-description h2,
  .project-description h3 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
  }
  
  .project-description p {
    margin-bottom: 1rem;
  }
  
  .row.g-2 {
    gap: 0.75rem !important;
  }
  
  .row.g-2 > [class*="col-"] {
    margin-bottom: 0.75rem;
  }
  
  .card.mt-4 {
    margin-top: 2rem !important;
  }
  
  .card-header {
    font-size: 1rem;
    padding: 1rem;
  }
  
  .card-body dl.row {
    font-size: 0.875rem;
  }
  
  .card-body dl.row dt {
    font-size: 0.8125rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.25rem;
  }
  
  .card-body dl.row dd {
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e9ecef;
  }
  
  .card-body dl.row dd:last-child {
    border-bottom: none;
  }
  
  main.container a {
    font-size: 0.875rem;
    margin-bottom: 1rem;
    display: inline-block;
  }
  
  /* Investor dashboard improvements - mobile */
  .investor-dashboard-header {
    padding: 1.5rem 1rem;
  }
  
  .investor-dashboard-header h1 {
    font-size: 1.5rem;
  }
  
  .investor-project-card .card-img-top {
    height: 200px;
  }
  
  .investor-project-card .card-body {
    padding: 1.25rem;
  }
  
  .investor-project-card h3 {
    font-size: 1.125rem;
  }
  
  .investor-project-header {
    padding: 1.5rem 1rem;
  }
  
  .investor-project-header h1 {
    font-size: 1.75rem;
  }
  
  .investor-main-image {
    margin-bottom: 1.5rem;
  }
  
  .investor-content-section {
    padding: 1.5rem 1rem;
  }
  
  .investor-content-section h2 {
    font-size: 1.25rem;
  }
  
  .investor-gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.75rem;
  }
  
  .investor-progress-grid {
    column-count: 2 !important;
    column-gap: 0.5rem !important;
  }
  
  #project-gallery-grid {
    column-count: 2 !important;
    column-gap: 0.5rem !important;
  }
  
  .investor-info-card .card-header {
    padding: 1rem;
    font-size: 1rem;
  }
  
  .investor-info-card .card-body {
    padding: 1.25rem 1rem;
  }
  
  .investor-info-section .investment-amount {
    font-size: 1.5rem;
  }
  
  .investor-documents-list .document-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  
  .investor-documents-list .document-download {
    width: 100%;
    text-align: center;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   PROGRESS IMAGES LIGHTBOX (Public & Investor)
   ═══════════════════════════════════════════════════════════════════════════════ */

.progress-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  transition: opacity 300ms ease;
}

.progress-lightbox.active {
  display: flex;
  opacity: 1;
}

.progress-lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.progress-lightbox-image {
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 300ms ease;
}

.progress-lightbox.active .progress-lightbox-image {
  transform: scale(1);
}

.progress-lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 300ms ease;
  z-index: 10001;
  padding: 0;
}

.progress-lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-50%) scale(1.1);
}

.progress-lightbox-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.progress-lightbox-nav:disabled:hover {
  transform: translateY(-50%);
}

.progress-lightbox-prev {
  left: 2rem;
}

.progress-lightbox-next {
  right: 2rem;
}

.progress-lightbox-close {
  position: fixed;
  top: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 300ms ease;
  z-index: 10001;
  padding: 0;
}

.progress-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}

.progress-lightbox-info {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  padding: 1rem 1.5rem;
  border-radius: 50px;
  color: #ffffff;
  font-size: 0.875rem;
  text-align: center;
  z-index: 10001;
}

.progress-lightbox-counter {
  font-weight: 600;
  margin-right: 0.5rem;
}

.progress-lightbox-caption {
  opacity: 0.9;
}

@media (max-width: 767px) {
  .progress-lightbox-nav {
    width: 44px;
    height: 44px;
  }
  .progress-lightbox-prev {
    left: 1rem;
  }
  .progress-lightbox-next {
    right: 1rem;
  }
  .progress-lightbox-close {
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
  }
  .progress-lightbox-info {
    bottom: 1rem;
    padding: 0.75rem 1rem;
    font-size: 0.8125rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   UTILITY CLASSES - RESPONSIVE ADJUSTMENTS
   ═══════════════════════════════════════════════════════════════════════════════ */

@media (max-width: 767px) {
  .btn-primary,
  .btn-outline,
  .btn-outline-light {
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
  }
  
  .section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 1rem;
  }
  
  .eyebrow {
    font-size: 0.6875rem;
    margin-bottom: 0.5rem;
  }
  
  /* Back to top button */
  #back-to-top {
    width: 44px;
    height: 44px;
    bottom: 1.5rem;
    right: 1rem;
  }
}


/* ═══════════════════════════════════════════════════════════════════════════════
   HERO SECTIONS - RESPONSIVE ADJUSTMENTS
   ═══════════════════════════════════════════════════════════════════════════════ */

@media (max-width: 1023px) {
  .hero {
    min-height: 50vh;
    padding: 3rem 0;
  }
  
  .hero-content {
    padding: 2rem 0;
  }
  
  .hero-inner {
    text-align: center;
  }
  
  .hero h1 {
    font-size: clamp(2rem, 7vw, 3rem);
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.25rem);
    margin-bottom: 1.5rem;
  }
  
  .hero-breadcrumbs {
    justify-content: center;
    font-size: 0.875rem;
  }
}

@media (max-width: 767px) {
  .hero {
    min-height: 40vh;
    padding: 2rem 0;
  }
  
  .hero-content {
    padding: 1.5rem 0;
  }
  
  .hero h1 {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
    margin-bottom: 0.75rem;
  }
  
  .hero-subtitle {
    font-size: clamp(0.9375rem, 4vw, 1.125rem);
    margin-bottom: 1.25rem;
  }
  
  .hero-breadcrumbs {
    font-size: 0.8125rem;
    flex-wrap: wrap;
    gap: 0.25rem;
  }
  
  .crumb-sep {
    margin: 0 0.25rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   PAGINATION (Projects & Blog)
   ═══════════════════════════════════════════════════════════════════════════════ */

.pagination-nav,
.projects-pagination {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.pagination-list,
.pagination {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  align-items: center;
}

.pagination-list li,
.pagination .page-item {
  display: inline-block;
}

.pagination-link,
.pagination .page-link {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius, 6px);
  background: var(--secondary, #f1f5f9);
  color: var(--foreground, #1e293b);
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}

.pagination-link:hover,
.pagination .page-link:hover {
  background: var(--primary, #67a2d7);
  color: var(--primary-foreground, #fff);
}

.pagination-current,
.pagination .page-item.active .page-link {
  background: var(--primary, #67a2d7);
  color: var(--primary-foreground, #fff);
  cursor: default;
}

.pagination .page-item.active .page-link:hover {
  background: var(--primary-dark, #4f8fc8);
  color: var(--primary-foreground, #fff);
}

.mt-4 { margin-top: 1rem; }

/* ═══════════════════════════════════════════════════════════════════════════════
   GENERAL LAYOUT FIXES - PREVENT HORIZONTAL SCROLL
   ═══════════════════════════════════════════════════════════════════════════════ */

@media (max-width: 767px) {
  /* Ensure all containers respect viewport width */
  * {
    box-sizing: border-box;
  }
  
  /* Prevent overflow on tables */
  table {
    width: 100%;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  /* Ensure images don't overflow */
  img {
    max-width: 100%;
    height: auto;
  }
  
  /* Fix any fixed-width elements */
  [style*="width"] {
    max-width: 100% !important;
  }
  
  /* Ensure flex containers wrap */
  .flex {
    flex-wrap: wrap;
  }
  
  /* Fix any absolute positioned elements */
  [style*="position: absolute"] {
    max-width: 100vw;
  }
}

/* ===============================
   EB-5 Program Page
   =============================== */

.eb5-hero .hero-bg {
  background-position: center center;
}

.eb5-intro {
  background-color: var(--background);
}

.eb5-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.eb5-intro-body {
  color: var(--muted-foreground);
  font-size: 0.95rem;
  line-height: 1.7;
  white-space: pre-line;
}

.eb5-intro-highlight {
  display: flex;
  justify-content: flex-end;
}

.eb5-stat-card {
  background: radial-gradient(circle at top left, rgba(15, 118, 110, 0.18), transparent 60%), var(--card);
  border-radius: 1.5rem;
  padding: 1.75rem 1.75rem 1.5rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.eb5-stat-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.eb5-stat-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted-foreground);
}

.eb5-stat-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.eb5-stat-card li::before {
  content: '•';
  color: var(--primary);
  font-weight: 700;
  margin-top: 0.1rem;
}

.eb5-gallery-section {
  background-color: var(--muted);
}

.eb5-gallery-header {
  max-width: 48rem;
  margin: 0 auto 2rem;
  text-align: center;
}

.eb5-gallery-description {
  color: var(--muted-foreground);
  font-size: 0.95rem;
}

.eb5-gallery-masonry {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.eb5-gallery-item {
  overflow: hidden;
  border-radius: 0.5rem;
  background: var(--card);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.eb5-gallery-image-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  display: block;
  text-align: left;
}

.eb5-gallery-image-wrap:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.eb5-gallery-image-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.eb5-gallery-caption {
  padding: 0.5rem 0.65rem 0.65rem;
  font-size: 0.8rem;
  color: var(--muted-foreground);
}

.eb5-gallery-empty {
  text-align: center;
  padding: 2.5rem 1rem;
  border-radius: 1rem;
  border: 1px dashed rgba(148, 163, 184, 0.7);
  color: var(--muted-foreground);
  background: rgba(15, 23, 42, 0.03);
}

.eb5-contact-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  background-image:
    linear-gradient(120deg, rgba(4, 22, 48, 0.8) 0%, rgba(7, 39, 84, 0.72) 45%, rgba(9, 52, 110, 0.65) 100%),
    var(--eb5-cta-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.eb5-contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding: clamp(0.5rem, 1.5vw, 1rem) 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  box-shadow: none;
  border: 0;
  backdrop-filter: none;
}

.eb5-contact-text .eyebrow {
  color: rgba(173, 216, 255, 0.95);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.eb5-contact-text .section-title {
  color: #fff;
  margin-bottom: 0.75rem;
  font-size: clamp(1.45rem, 2.35vw, 1.9rem);
  line-height: 1.3;
}

.eb5-contact-description {
  color: rgba(231, 242, 255, 0.92);
  max-width: 38rem;
  font-size: 0.98rem;
  line-height: 1.65;
  margin: 0;
}

.eb5-contact-action {
  text-align: center;
  min-width: 230px;
  flex-shrink: 0;
}

.eb5-contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.15rem;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 999px;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  background: linear-gradient(180deg, #76b4ea 0%, #4f95d1 100%) !important;
  color: #fff !important;
  border: none;
  box-shadow: 0 8px 20px rgba(71, 149, 214, 0.42);
}

.eb5-contact-button:hover {
  background: linear-gradient(180deg, #85c0f2 0%, #5a9fd8 100%) !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(71, 149, 214, 0.48);
}

.eb5-contact-button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(125, 196, 255, 0.45);
}

.eb5-contact-note {
  margin-top: 0.75rem;
  font-size: 0.82rem;
  color: rgba(223, 239, 255, 0.88);
  max-width: 240px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.45;
}

@media (max-width: 1024px) {
  .eb5-intro-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .eb5-gallery-masonry {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (max-width: 768px) {
  .eb5-intro-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .eb5-intro-highlight {
    justify-content: flex-start;
  }
  .eb5-contact-inner {
    flex-direction: column;
    text-align: left;
    padding: 1.75rem 1.5rem;
  }
  .eb5-contact-action {
    text-align: left;
    width: 100%;
  }
  .eb5-contact-note {
    margin-left: 0;
    margin-right: 0;
    max-width: none;
  }
  .eb5-contact-cta {
    background-attachment: scroll;
  }
  .eb5-gallery-masonry {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .eb5-gallery-masonry {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
}

/* EB-5 Gallery Lightbox */
body.eb5-lightbox-open {
  overflow: hidden;
}

.eb5-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
}

.eb5-lightbox[hidden] {
  display: none !important;
}

.eb5-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  cursor: pointer;
}

.eb5-lightbox-dialog {
  position: relative;
  z-index: 1;
  max-width: 95vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.eb5-lightbox-image-wrap {
  flex: 0 1 auto;
  max-width: 100%;
  max-height: calc(90vh - 4rem);
  display: flex;
  align-items: center;
  justify-content: center;
}

.eb5-lightbox-image-wrap img {
  max-width: 100%;
  max-height: calc(90vh - 4rem);
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 0.5rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.eb5-lightbox-caption {
  color: rgba(15, 23, 42, 0.85);
  font-size: 0.95rem;
  text-align: center;
  margin: 0;
  max-width: 36rem;
}

.eb5-lightbox-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 10000;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  background: rgba(15, 23, 42, 0.12);
  color: #0f172a;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.eb5-lightbox-close:hover {
  background: rgba(15, 23, 42, 0.22);
}

.eb5-lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10000;
  width: 3rem;
  height: 3rem;
  border: none;
  background: rgba(15, 23, 42, 0.12);
  color: #0f172a;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.eb5-lightbox-nav:hover {
  background: rgba(15, 23, 42, 0.25);
}

.eb5-lightbox-prev {
  left: 1rem;
}

.eb5-lightbox-next {
  right: 1rem;
}

@media (max-width: 768px) {
  .eb5-lightbox-prev {
    left: 0.5rem;
  }
  .eb5-lightbox-next {
    right: 0.5rem;
  }
  .eb5-lightbox-nav {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.25rem;
  }
}
