
/* Import Google Fonts - Modern Typography */
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@100;200;300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Geist+Mono:wght@100;200;300;400;500;600;700;800;900&display=swap');

/* Enhanced Styles for EVR:RDY */

:root {
  /* Brand Colors - Military/Cyber Theme */
  --bone: #e5e4d8;
  /* --olive: #848c6a; */
  --bright: #a9d68a;
  --ink: #0e1012;
  --muted: #b9baaf;
  --panel: rgba(14,16,18,.58);
  
  /* Modern Typography Scale */
  --font-heading: 'Geist', system-ui, -apple-system, sans-serif;
  --font-body: 'Geist', system-ui, -apple-system, sans-serif;
  --font-code: 'Geist Mono', 'SF Mono', Monaco, 'Cascadia Code', monospace;
  
  /* Modern Spacing Scale */
  --space-xs: 0.25rem;   /* 4px */
  --space-sm: 0.5rem;    /* 8px */
  --space-md: 1rem;      /* 16px */
  --space-lg: 1.5rem;    /* 24px */
  --space-xl: 2rem;      /* 32px */
  --space-2xl: 3rem;     /* 48px */
  --space-3xl: 4rem;     /* 64px */
  
  /* Modern Border Radius */
  --radius-sm: 0.375rem;  /* 6px */
  --radius-md: 0.5rem;    /* 8px */
  --radius-lg: 0.75rem;   /* 12px */
  --radius-xl: 1rem;      /* 16px */
  --radius-2xl: 1.5rem;   /* 24px */
  
  /* Modern Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  
  /* Modern Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow: 350ms ease;
  
  /* Modern Z-Index Scale */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
}

/* Modern Typography System */
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--bone);
  background: var(--ink) url("../img/background.png") center center / cover no-repeat;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Modern Container System - Dynamic Sizing */
.container {
  max-width: min(1120px, 95vw);
  margin: 0 auto;
  padding: 0 clamp(var(--space-sm), 2vw, var(--space-lg));
  width: 100%;
}

/* Modern Typography Scale */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--bone), var(--bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 2px 24px rgba(120,120,120,.25);
  margin-bottom: var(--space-lg);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 600;
  color: #fff;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

p {
  color: #d9dacd;
  font-size: clamp(1rem, 1.15vw, 1.125rem);
  line-height: 1.7;
  margin: var(--space-sm) 0;
}

strong {
  color: #ffffff;
  font-weight: 600;
}

em {
  color: #ececec;
  font-style: italic;
}

blockquote {
  margin: var(--space-lg) 0;
  padding-left: var(--space-xs);
  border-left: 3px solid var(--bright);
  color: #ececec;
  font-style: italic;
}

/* Modern Layout Components */
.hero {
  padding-top: var(--space-lg);
}

.hero img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-2xl);
  border: 1px solid rgba(229,228,216,.12);
  transition: transform var(--transition-normal);
}

.hero img:hover {
  transform: translateY(-2px);
}

.content-wrap {
  margin: var(--space-xl) auto var(--space-3xl);
}

/* Modern Card Component - Dynamic Sizing */
.card {
  background: rgba(0, 0, 0, 0.4);
  border-radius: var(--radius-xl);
  box-shadow: 
    0 20px 25px -5px rgba(0, 0, 0, 0.15),
    0 10px 10px -5px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  backdrop-filter: blur(12px) saturate(120%);
  padding: clamp(var(--space-md), 4vw, var(--space-2xl));
  margin-bottom: clamp(var(--space-lg), 3vw, var(--space-xl));
  border: 1px solid rgba(229,228,216,.2);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: fit-content;
  box-sizing: border-box;
}

.card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(169, 214, 138, 0.05) 0%, 
    transparent 50%, 
    rgba(185, 186, 175, 0.05) 100%);
  border-radius: var(--radius-xl);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.card h2 {
  color: var(--bone);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: var(--space-lg);
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.card h2::before {
  content: '';
  width: 4px;
  height: 24px;
  background: linear-gradient(180deg, var(--bright), var(--muted));
  border-radius: 2px;
  flex-shrink: 0;
}

.card h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--bright), var(--muted));
  border-radius: 1px;
  opacity: 0.8;
}

.card p {
  color: var(--bone);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  font-size: 1.05rem;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(120,120,120,.3), transparent);
}

.card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 
    0 32px 64px -12px rgba(0, 0, 0, 0.25),
    0 16px 32px -8px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  border-color: rgba(169, 214, 138, 0.3);
  background: rgba(0, 0, 0, 0.5);
}

.card:hover::after {
  opacity: 1;
}

.card:hover h2::before {
  transform: scaleY(1.2);
  transition: transform var(--transition-fast);
}

/* Modern Button Component */
.cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  padding: var(--space-md) var(--space-xl);
  background: linear-gradient(135deg, rgba(169, 214, 138, 0.1), rgba(185, 186, 175, 0.1));
  color: var(--bright);
  text-decoration: none;
  font-weight: 600;
  border-radius: var(--radius-lg);
  border: 1px solid var(--bright);
  box-sizing: border-box;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-fast);
  font-size: 1rem;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.1), transparent);
  transition: left var(--transition-normal);
}

.cta:hover {
  background: linear-gradient(135deg, var(--bright), var(--muted));
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--muted);
}

.cta:hover::before {
  left: 100%;
}

/* Modern Utility Classes */
.indent {
  margin-left: var(--space-lg);
}

.text-center {
  text-align: center;
}

.text-gradient {
  background: linear-gradient(135deg, var(--bone), var(--bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Modern Spacing Utilities */
.mt-xs { margin-top: var(--space-xs); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

.mb-xs { margin-bottom: var(--space-xs); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

.p-xs { padding: var(--space-xs); }
.p-sm { padding: var(--space-sm); }
.p-md { padding: var(--space-md); }
.p-lg { padding: var(--space-lg); }
.p-xl { padding: var(--space-xl); }

/* Modern Responsive Design - Dynamic Breakpoints */
@media (max-width: 768px) {
  .container {
    padding: 0 clamp(var(--space-sm), 3vw, var(--space-md));
    max-width: 98vw;
  }
  
  .card {
    padding: clamp(var(--space-sm), 5vw, var(--space-lg));
    margin-bottom: clamp(var(--space-sm), 4vw, var(--space-lg));
  }
  
  .indent {
    margin-left: var(--space-md);
  }
  
  .cta {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    justify-content: center;
    padding: var(--space-sm) var(--space-md);
    font-size: 0.9rem;
    margin: var(--space-lg) 0 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 clamp(var(--space-xs), 4vw, var(--space-sm));
    max-width: 99vw;
  }
  
  .card {
    padding: clamp(var(--space-xs), 6vw, var(--space-md));
    margin-bottom: clamp(var(--space-xs), 5vw, var(--space-md));
  }
  
  .cta {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    justify-content: center;
    padding: var(--space-sm) var(--space-sm);
    font-size: 0.85rem;
    margin: var(--space-md) 0 0;
  }
}

/* Modern Animation Utilities */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Modern Focus States */
.cta:focus {
  outline: 2px solid var(--bright);
  outline-offset: 2px;
}



/* Modern Enhanced Components */
.hero-content {
  position: relative;
}


/* Modern Code Block */
code {
  font-family: var(--font-code);
  background: rgba(14, 16, 18, 0.8);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--bright);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

/* Modern Link Styles */
a:not(.cta) {
  color: var(--bright);
  text-decoration: none;
  transition: border-color var(--transition-fast);
}

a:not(.cta):hover {
  border-bottom-color: var(--bright);
}

/* Modern Status Indicators */
.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.875rem;
  font-weight: 500;
}

.status-indicator::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bright);
}

.status-indicator.poc::before {
  background: #f59e0b;
}

.status-indicator.development::before {
  background: #3b82f6;
}

.status-indicator.complete::before {
  background: #10b981;
}




/* Modern Focus Visible */
*:focus-visible {
  outline: 2px solid var(--bright);
  outline-offset: 2px;
}




body.loaded .card {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Modern Enhanced Hover States */
.card:hover h2 {
  transform: translateX(4px);
  transition: transform var(--transition-fast);
}

/* Modern Status Indicator Animations */
.status-indicator {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

/* Modern Enhanced Button States */
.cta:active {
  transform: translateY(0);
  box-shadow: var(--shadow-md);
}




/* Modern Summary Cards */
.summary-card {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(120,120,120,.2);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-bottom: var(--space-md);
  transition: all var(--transition-fast);
}

.summary-card:hover {
  background: rgba(0, 0, 0, 0.6);
  border-color: rgba(120,120,120,.4);
  transform: translateY(-1px);
}

.summary-card h3 {
  margin: 0 0 var(--space-sm) 0;
  font-size: 1.25rem;
  color: var(--bone);
}

.summary-card p {
  margin: 0 0 var(--space-sm) 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.summary-card .expand-btn {
  background: linear-gradient(135deg, rgba(169, 214, 138, 0.1), rgba(185, 186, 175, 0.1));
  border: 1px solid var(--bright);
  box-sizing: border-box;
  color: var(--bright);
  padding: var(--space-xs) var(--space-xs);
  border-radius: var(--radius-lg);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-top: var(--space-sm);
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.summary-card .expand-btn:hover {
  background: linear-gradient(135deg, var(--bright), var(--muted));
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--muted);
}


/* Modern Hero Section Enhancement */
.hero-summary {
  text-align: center;
  margin: var(--space-xl) 0;
  padding: var(--space-xl);
  background: rgba(0, 0, 0, 0.4);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(120,120,120,.2);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  backdrop-filter: blur(12px) saturate(120%);
  box-shadow: 
    0 20px 25px -5px rgba(0, 0, 0, 0.15),
    0 10px 10px -5px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.hero-summary:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.2),
    0 16px 32px -8px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  border-color: rgba(169, 214, 138, 0.3);
}

.hero-summary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--bright), var(--muted), var(--bright));
  opacity: 0.8;
}

.hero-summary h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-md);
  color: var(--bone);
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-summary p {
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  max-width: 600px;
  margin: 0 auto var(--space-lg);
  line-height: 1.7;
  color: var(--bone);
}

.card blockquote {
  background: rgba(169, 214, 138, 0.1);
  border-left: 4px solid var(--bright);
  padding: var(--space-md);
  margin: var(--space-md) auto;
  border-radius: var(--radius-md);
  font-style: italic;
  font-size: .8rem;
  color: var(--bone);
  position: relative;
  max-width: 600px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 
    0 8px 16px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.card blockquote::before {
  content: '"';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  font-size: .3rem;
  color: var(--bright);
  opacity: 0.3;
  font-family: serif;
}

.card blockquote span {
  display: block;
  margin-top: var(--space-);
  font-size: 0.5rem;
  color: var(--muted);
  font-style: italic;
}

/* Center-justified blockquotes */
.center-justify {
  text-align: justify !important;
  text-align-last: center !important;
  text-justify: inter-word;
  hyphens: auto;
}
.card blockquote.center-justify span {
  text-align: center !important;
  display: block !important;
  margin-top: var(--space-md) !important;
}


/* Modern Progressive Disclosure */
.learn-more-btn {
  background: linear-gradient(135deg, rgba(169, 214, 138, 0.1), rgba(185, 186, 175, 0.1));
  /* border: 1px solid var(--bright); */
  box-sizing: border-box;
  color: var(--bright);
  padding: var(--space-xs) var(--space-xs);
  border-radius: var(--radius-lg);
  font-size: 1rem;
  /* font-weight: 600; */
  cursor: pointer;
  transition: all var(--transition-fast);
  margin: var(--space-xl) auto;
  display: block;
  width: 100%;
  max-width: 200px;
  text-align: center;
  /* text-transform: uppercase; */
  letter-spacing: 0.5px;
  position: relative;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  /* Ensure consistent behavior for all button elements */
  text-decoration: none;
  outline: none;
}

.learn-more-btn:hover {
  background: linear-gradient(135deg, var(--bright), var(--muted));
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--muted);
}

.expandable-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-out;
  margin-top: var(--space-md);
}

.expandable-details.expanded {
  max-height: 3000px;
  transition: max-height var(--transition-normal) ease-in;
}

.details-content {
  padding: var(--space-lg);
  background: rgba(14,16,18,.2);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(120,120,120,.1);
  margin-top: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.details-content .card {
  flex: 1;
  min-width: 0; /* Allow cards to shrink */
}

/* Horizontal layout for T.A.P.S. and TacSOC details */
#taps-details .details-content,
#tacsoc-details .details-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

/* Horizontal layout for main solution details (T.A.P.S. and TacSOC overview) */
#solution-details .details-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-lg);
}

/* Responsive adjustments for horizontal layout */
@media (max-width: 768px) {
  #solution-details .details-content,
  #taps-details .details-content,
  #tacsoc-details .details-content {
    grid-template-columns: 1fr;
  }
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  animation: fadeIn 0.3s ease-out;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease-out, visibility 0.3s ease-out;
}

.modal.show {
  display: block;
  visibility: visible;
  opacity: 1;
}

.modal-content {
  background: rgba(0, 0, 0, 0.4);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  backdrop-filter: blur(12px) saturate(120%);
  border: 1px solid rgba(120,120,120,.2);
  border-radius: var(--radius-xl);
  margin: 2% auto;
  padding: 0;
  width: 90%;
  max-width: 1200px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 
    0 20px 25px -5px rgba(0, 0, 0, 0.15),
    0 10px 10px -5px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  animation: slideIn 0.3s ease-out;
  /* Hide scroll bars */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Internet Explorer 10+ */
}

.modal-content::-webkit-scrollbar {
  display: none; /* WebKit browsers */
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg);
  border-bottom: 1px solid rgba(120,120,120,.2);
  background: rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.modal-header h2 {
  margin: 0;
  color: var(--bone);
  font-size: 1.5rem;
  font-weight: 600;
}

/* Resource modals: match card glass styling */
#resources-modal .modal-content,
#expanded-resource .expanded-resource-content {
  background: rgba(0, 0, 0, 0.25);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  backdrop-filter: blur(12px) saturate(120%);
  border: 1px solid rgba(229,228,216,.2);
  border-radius: var(--radius-xl);
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.15),
    0 10px 10px -5px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

#resources-modal .modal-header,
#expanded-resource .expanded-resource-header {
  background: rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(229,228,216,.2);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.modal-close {
  background: linear-gradient(135deg, rgba(169, 214, 138, 0.1), rgba(185, 186, 175, 0.1));
  border: 1px solid var(--bright);
  box-sizing: border-box;
  font-size: 1.5rem;
  color: var(--bright);
  cursor: pointer;
  padding: var(--space-xs);
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
  font-weight: 600;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.modal-close:hover {
  background: linear-gradient(135deg, var(--bright), var(--muted));
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--muted);
}

/* Close button styling - standardized */
.close-btn {
  background: linear-gradient(135deg, rgba(169, 214, 138, 0.1), rgba(185, 186, 175, 0.1));
  border: 1px solid var(--bright);
  box-sizing: border-box;
  font-size: 1.5rem;
  color: var(--bright);
  cursor: pointer;
  padding: var(--space-xs);
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
  font-weight: 600;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.close-btn:hover {
  background: linear-gradient(135deg, var(--bright), var(--muted));
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--muted);
}

.modal-body {
  padding: var(--space-lg);
  max-height: calc(90vh - 120px);
  overflow-y: auto;
  /* Hide scroll bars */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Internet Explorer 10+ */
}

.modal-body::-webkit-scrollbar {
  display: none; /* WebKit browsers */
}

/* Modal animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideIn {
  from { 
    opacity: 0;
    transform: translateY(-50px) scale(0.95);
  }
  to { 
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Enhanced Modal Grid Styles */
.products-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.product-section {
  background: rgba(0, 0, 0, 0.05);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  backdrop-filter: blur(12px) saturate(120%);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  border: 1px solid rgba(229, 228, 216, 0.15);
  box-shadow: var(--shadow-lg);
}

/* Expand Button Styling - Standardized */
.expand-btn {
  background: linear-gradient(135deg, rgba(169, 214, 138, 0.1), rgba(185, 186, 175, 0.1));
  border: 1px solid var(--bright);
  box-sizing: border-box;
  color: var(--bright);
  padding: var(--space-xs) var(--space-xs);
  border-radius: var(--radius-lg);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-top: var(--space-md);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.expand-btn:hover {
  background: linear-gradient(135deg, var(--bright), var(--muted));
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--muted);
}

.expand-btn:active {
  transform: translateY(0);
  box-shadow: var(--shadow-md);
}

/* Product Details Animation */
.product-details {
  margin-top: var(--space-lg);
  animation: fadeInDown 0.3s ease-out;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Resources Section Styling */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.resource-tile {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(169, 214, 138, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  cursor: pointer;
  transition: all var(--transition-fast);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}

.resource-tile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--bright), var(--muted));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.resource-tile:hover {
  background: rgba(0, 0, 0, 0.3);
  border-color: rgba(169, 214, 138, 0.4);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.resource-tile:hover::before {
  opacity: 1;
}

.resource-tile.coming-soon {
  opacity: 0.6;
  cursor: not-allowed;
}

.resource-tile.coming-soon:hover {
  transform: none;
  background: rgba(0, 0, 0, 0.2);
  border-color: rgba(169, 214, 138, 0.2);
}

.resource-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  text-align: center;
}

.resource-tile h3 {
  color: var(--bone);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 var(--space-sm) 0;
  text-align: center;
}

.resource-tile p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 var(--space-md) 0;
  text-align: center;
}

.resource-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--space-md);
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(169, 214, 138, 0.1);
}

.resource-type {
  background: rgba(169, 214, 138, 0.2);
  color: var(--bright);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.resource-date {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
}


/* Expanded Resource */
.expanded-resource {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.1);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  gap: var(--space-lg);
  animation: fadeIn 0.3s ease-out;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease-out, visibility 0.3s ease-out;
}

.expanded-resource.show {
  visibility: visible;
  opacity: 1;
}

.expanded-resource-content {
  background: rgba(255, 255, 255, 0.98);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-xl);
  margin: 1.5% auto;
  padding: 0;
  width: 96%;
  max-width: 1400px;
  height: 96vh;
  height: 96dvh;
  max-height: none;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  animation: slideIn 0.3s ease-out;
  position: relative;
  /* Hide scroll bars */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Internet Explorer 10+ */
}

.expanded-resource-content::-webkit-scrollbar {
  display: none; /* WebKit browsers */
}

.expanded-resource-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(0, 0, 0, 0.02);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.expanded-resource-header h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.5rem;
  font-weight: 600;
  transition: all 0.3s ease, opacity 0.2s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: calc(100% - 60px);
}

.close-expanded-btn {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: linear-gradient(135deg, rgba(169, 214, 138, 0.1), rgba(185, 186, 175, 0.1));
  border: 1px solid var(--bright);
  box-sizing: border-box;
  font-size: 1.5rem;
  color: var(--bright);
  cursor: pointer;
  padding: var(--space-xs);
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
  z-index: 10;
  font-weight: 600;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.close-expanded-btn:hover {
  background: linear-gradient(135deg, var(--bright), var(--muted));
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--muted);
}

.expanded-resource .markdown-content {
  padding: var(--space-xl);
  flex: 1 1 auto;
  height: 100%;
  max-height: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.25);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  backdrop-filter: blur(12px) saturate(120%);
  color: var(--bone);
  border-radius: var(--radius-xl);
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.15),
    0 10px 10px -5px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(229,228,216,.2);
  /* Hide scroll bars */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Internet Explorer 10+ */
}

.expanded-resource .markdown-content::-webkit-scrollbar {
  display: none; /* WebKit browsers */
}

  /* Glass embed panel for iframes (Drive preview, etc.) */
.glass-embed-card {
  width: 96%;
  max-width: 1400px;
  height: 96vh;
  height: 96dvh;
  background: rgba(0, 0, 0, 0.25);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  backdrop-filter: blur(12px) saturate(120%);
  border: 1px solid rgba(229,228,216,.2);
  border-radius: var(--radius-xl);
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.15),
    0 10px 10px -5px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
  display: flex;
  position: relative;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.glass-embed-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow:
    inset 0 0 0 1px rgba(229,228,216,.18),
    inset 0 0 0 2px rgba(255,255,255,0.04);
}

.glass-embed-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow:
    inset 0 60px 120px rgba(0, 0, 0, 0.18),
    inset 0 -60px 120px rgba(0, 0, 0, 0.18);
}

.glass-embed-card:hover {
  transform: translateY(-2px) scale(1.005);
  box-shadow:
    0 28px 48px -12px rgba(0, 0, 0, 0.22),
    0 16px 24px -10px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  border-color: rgba(169,214,138,0.28);
}

.glass-embed-iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  border-radius: calc(var(--radius-xl) - 2px);
}

@media (max-width: 768px) {
  .glass-embed-card {
    width: 98%;
    height: 94vh;
    height: 94dvh;
  }
}

/* Markdown Content Styling */
.markdown-content {
  line-height: 1.8;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.95);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.1);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2), 0 5px 10px -5px rgba(0, 0, 0, 0.1);
}

.markdown-content h1 {
  color: var(--ink);
  font-size: 2rem;
  margin-bottom: var(--space-lg);
  border-bottom: 2px solid rgba(0, 0, 0, 0.2);
  padding-bottom: var(--space-sm);
}

.markdown-content h2 {
  color: var(--ink);
  font-size: 1.5rem;
  margin: var(--space-xl) 0 var(--space-md) 0;
}

.markdown-content h3 {
  color: var(--ink);
  font-size: 1.25rem;
  margin: var(--space-lg) 0 var(--space-sm) 0;
}

.markdown-content h4 {
  color: var(--ink);
  font-size: 1.1rem;
  margin: var(--space-md) 0 var(--space-sm) 0;
}

.markdown-content p {
  margin-bottom: var(--space-md);
  color: var(--ink);
}

.markdown-content ul, .markdown-content ol {
  margin: var(--space-md) 0;
  padding-left: var(--space-lg);
}

.markdown-content li {
  margin-bottom: var(--space-sm);
  color: var(--ink);
}

.markdown-content strong {
  color: var(--ink);
  font-weight: 700;
}

.markdown-content hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.2), transparent);
  margin: var(--space-xl) 0;
}

.markdown-content em {
  color: var(--muted);
  font-style: italic;
}

.markdown-content code {
  background: rgba(0, 0, 0, 0.1);
  color: var(--ink);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
}

.markdown-content pre {
  background: rgba(0, 0, 0, 0.1);
  color: var(--ink);
  padding: var(--space-md);
  border-radius: var(--radius-sm);
  overflow-x: auto;
  margin: var(--space-md) 0;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.markdown-content pre code {
  background: none;
  padding: 0;
  border-radius: 0;
  font-size: 0.9em;
}

.markdown-content a {
  color: var(--bright);
  text-decoration: none;
  border-bottom: 1px solid rgba(169, 214, 138, 0.3);
  transition: all var(--transition-fast);
}

.markdown-content a:hover {
  color: var(--muted);
  border-bottom-color: var(--bright);
}

.markdown-content table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-md) 0;
  background: rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.markdown-content th,
.markdown-content td {
  padding: var(--space-sm) var(--space-md);
  text-align: left;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.markdown-content th {
  background: rgba(0, 0, 0, 0.05);
  font-weight: 600;
  color: var(--ink);
}

.markdown-content tr:hover {
  background: rgba(0, 0, 0, 0.02);
}

.markdown-content blockquote {
  border-left: 4px solid rgba(0, 0, 0, 0.2);
  margin: var(--space-md) 0;
  padding: var(--space-sm) var(--space-md);
  background: rgba(0, 0, 0, 0.02);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--ink);
}

.product-header {
  text-align: center;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(229, 228, 216, 0.15);
}

.product-header h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--bone);
  margin: 0 0 var(--space-xs) 0;
}

.product-subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  margin: 0 0 var(--space-sm) 0;
  font-weight: 500;
}

.product-description {
  color: var(--bone);
  line-height: 1.6;
  margin: 0;
  max-width: 600px;
  margin: 0 auto;
}

/* T.A.P.S. Components Grid */
.components-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.component-card {
  background: rgba(0, 0, 0, 0.05);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  backdrop-filter: blur(12px) saturate(120%);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  border: 1px solid rgba(229, 228, 216, 0.15);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.component-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--bright);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.component-card:hover {
  transform: translateY(-2px);
  border-color: rgba(169, 214, 138, 0.3);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.component-card:hover::before {
  opacity: 1;
}

.component-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-sm);
}

.component-header h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--bone);
  margin: 0;
  flex: 1;
}

.component-subtitle {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 0 var(--space-sm) 0;
  font-style: italic;
}

.component-description {
  color: var(--bone);
  line-height: 1.5;
  margin: 0 0 var(--space-md) 0;
}

.component-benefit {
  background: rgba(169, 214, 138, 0.1);
  border-left: 3px solid var(--bright);
  padding: var(--space-sm);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.9rem;
  color: var(--bone);
}

/* TacSOC Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.feature-card {
  background: rgba(0, 0, 0, 0.05);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  backdrop-filter: blur(12px) saturate(120%);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  border: 1px solid rgba(229, 228, 216, 0.15);
  transition: all var(--transition-normal);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--bright);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: rgba(169, 214, 138, 0.3);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  display: block;
}

.feature-card h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--bone);
  margin: 0 0 var(--space-sm) 0;
}

.feature-description {
  color: var(--bone);
  line-height: 1.5;
  margin: 0 0 var(--space-md) 0;
  font-size: 0.95rem;
}

.feature-benefit {
  background: rgba(169, 214, 138, 0.1);
  border-left: 3px solid var(--bright);
  padding: var(--space-sm);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.9rem;
  color: var(--bone);
  text-align: left;
}

/* Enhanced Status Indicators */
.status-indicator {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-indicator.poc {
  background: rgba(185, 186, 175, 0.2);
  color: var(--muted);
  border: 1px solid rgba(185, 186, 175, 0.3);
}

.status-indicator.development {
  background: rgba(169, 214, 138, 0.2);
  color: var(--bright);
  border: 1px solid rgba(169, 214, 138, 0.3);
}

/* Modal responsive adjustments */
@media (max-width: 768px) {
  .modal-content {
    width: 96%;
    margin: 3% auto;
    max-height: 90vh;
  }
  
  .modal-header {
    padding: var(--space-md);
  }
  
  .modal-body {
    padding: var(--space-md);
    max-height: calc(85vh - 100px);
  }
  
  .modal-header h2 {
    font-size: 1.25rem;
  }
  
  .expanded-resource-content {
    width: 98%;
    margin: 3% auto;
    max-height: 94vh;
  }
  
  .expanded-resource-header {
    padding: var(--space-md);
  }
  
  .expanded-resource .markdown-content {
    padding: var(--space-md);
    max-height: calc(92vh - 100px);
  }
  
  .expanded-resource-header h3 {
    font-size: 1.25rem;
  }
  
  .products-grid {
    gap: var(--space-lg);
  }
  
  .product-section {
    padding: var(--space-md);
  }
  
  .components-grid,
  .features-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .component-card,
  .feature-card {
    padding: var(--space-md);
  }
  
  .product-header h3 {
    font-size: 1.5rem;
  }
}

.challenge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 90vw), 1fr));
  gap: clamp(var(--space-sm), 3vw, var(--space-lg));
  margin: clamp(var(--space-sm), 3vw, var(--space-lg)) 0;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}


.challenge-card {
  background: rgba(129, 36, 36, 0.082);
  border: 1px solid rgba(120,120,120,.2);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  transition: all var(--transition-fast);
  /* -webkit-backdrop-filter: blur(12px) saturate(120%);
  backdrop-filter: blur(12px) saturate(120%); */
  box-shadow: 
    0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.challenge-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(220, 38, 38, 0.03) 0%, 
    transparent 50%, 
    rgba(153, 27, 27, 0.03) 100%);
  border-radius: var(--radius-lg);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.challenge-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #dc2626, #991b1b);
  opacity: 0.8;
}

.challenge-card:hover {
  background: rgba(129, 36, 36, 0.2);
  border-color: rgba(220, 38, 38, 0.4);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 
    0 20px 25px -5px rgba(0, 0, 0, 0.15),
    0 10px 10px -5px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.challenge-card:hover::after {
  opacity: 1;
}

.challenge-card:hover h3::before {
  transform: scale(1.2);
  transition: transform var(--transition-normal);
  color: #ef4444;
}

.challenge-card h3 {
  margin: 0 0 var(--space-sm) 0;
  font-size: 1.25rem;
  color: var(--bone);
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
}

.challenge-card h3::before {
  content: '⚠';
  color: #dc2626;
  font-size: 0.9rem;
  opacity: 0.9;
}

.challenge-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--bone);
}

Hover effect for challenge cards
.challenge-card {
  transition: all var(--transition-normal);
}


/* Solution Cards - Positive Styling (Higher Specificity) */
.solution-card {
  background: rgba(36, 129, 45, 0.082);
  border: 1px solid rgba(120,120,120,.2);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  transition: all var(--transition-fast);
  /* -webkit-backdrop-filter: blur(12px) saturate(120%);
  backdrop-filter: blur(12px) saturate(120%); */
  box-shadow: 
    0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.solution-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(220, 38, 38, 0.03) 0%, 
    transparent 50%, 
    rgba(153, 27, 27, 0.03) 100%);
  border-radius: var(--radius-lg);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.solution-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #22c55e, #16a34a) !important;
  opacity: 0.8 !important;
}

.solution-card:hover {
  background: rgba(36, 129, 45, 0.197);
  border-color: rgba(34, 197, 94, 0.4) !important;
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 
    0 20px 25px -5px rgba(0, 0, 0, 0.15),
    0 10px 10px -5px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
}

.solution-card:hover::after {
  opacity: 1 !important;
}

.solution-card h3 {
  margin: 0 0 var(--space-sm) 0;
  font-size: 1.25rem;
  color: var(--bone);
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
}

.solution-card h3::before {
  content: '✓';
  color: #22c55e;
  font-size: 0.9rem;
  opacity: 0.9 !important;
}

.solution-card:hover h3::before {
  transform: scale(1.2);
  transition: transform var(--transition-normal);
  color: #16a34a;
}

.solution-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--bone);
}

/* Enhanced Structure Cards */
.structure-card {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(120,120,120,.2);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  transition: all var(--transition-fast);
  /* -webkit-backdrop-filter: blur(12px) saturate(120%);
  backdrop-filter: blur(12px) saturate(120%); */
  box-shadow: 
    0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.structure-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.02) 0%, 
    transparent 50%, 
    rgba(255, 255, 255, 0.02) 100%);
  border-radius: var(--radius-lg);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.structure-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--bright), var(--muted));
  opacity: 0.8;
}

.structure-card:hover {
  background: rgba(0, 0, 0, 0.5);
  border-color: rgba(169, 214, 138, 0.3);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 
    0 20px 25px -5px rgba(0, 0, 0, 0.15),
    0 10px 10px -5px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.structure-card:hover::after {
  opacity: 1;
}

.structure-card h3 {
  margin: 0 0 var(--space-sm) 0;
  font-size: 1.25rem;
  color: var(--bone);
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  position: relative;
  display: grid;
  grid-auto-flow: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
}

.structure-card h3::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex: 0 0 auto;
  opacity: 0.9;
  font-weight: bold;
}

.structure-card.nonprofit h3::before {
  background: #3b82f6;
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.5);
}

.structure-card.forprofit h3::before {
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

.structure-card:hover h3::before {
  transform: scale(1.3);
  transition: transform var(--transition-fast);
}

.structure-card.nonprofit:hover h3::before {
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.8);
}

.structure-card.forprofit:hover h3::before {
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.8);
}

.structure-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--bone);
}

/* Enhanced Mission Section */
.mission-enhanced {
  position: relative;
  overflow: hidden;
}

.mission-enhanced::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(169, 214, 138, 0.03) 0%, transparent 70%);
  animation: missionGlow 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes missionGlow {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.1); }
}

.mission-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  position: relative;
}

.mission-header h1 {
  margin: 0;
  font-size: 2.5rem;
  color: var(--bone);
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
}

.mission-header h1::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--bright), var(--muted));
  border-radius: 2px;
}

.mission-icon {
  font-size: 2rem;
  animation: iconFloat 3s ease-in-out infinite;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

@keyframes iconFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
}

.mission-content {
  position: relative;
  z-index: 2;
}

.mission-intro {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--bone);
  margin-bottom: var(--space-xl);
  text-align: center;
  font-weight: 500;
}

.mission-quote {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(169, 214, 138, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin: var(--space-xl) 0;
  position: relative;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 
    0 8px 16px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.mission-quote::before {
  content: '' !important;
}

.mission-conclusion {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--bone);
  text-align: center;
  font-weight: 500;
  margin-top: var(--space-xl);
}

.mission-enhanced:hover::before {
  animation-duration: 4s;
}

.mission-enhanced:hover .mission-icon {
  animation-duration: 1.5s;
}

/* Scroll-triggered animations */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 5px rgba(255, 255, 255, 0.35); }
  50% { box-shadow: 0 0 18px rgba(255, 255, 255, 0.8), 0 0 28px rgba(255, 255, 255, 0.6); }
}

/* Animation classes */
.animate-slide-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.animate-slide-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.6s ease-out;
}

.animate-slide-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.6s ease-out;
}

.animate-fade-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.6s ease-out;
}

/* Fallback for browsers without transform support */
@supports not (transform: translateY(30px)) {
  .animate-slide-up,
  .animate-slide-left,
  .animate-slide-right,
  .animate-fade-scale {
    opacity: 1;
    transform: none;
  }
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

/*.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
} */

/*.animate-glow {
  animation: glow 2s ease-in-out infinite;
}*/

/* Triggered animations */
.animate-slide-up.animate-triggered {
  opacity: 1;
  transform: translateY(0);
}

.animate-slide-left.animate-triggered {
  opacity: 1;
  transform: translateX(0);
}

.animate-slide-right.animate-triggered {
  opacity: 1;
  transform: translateX(0);
}

.animate-fade-scale.animate-triggered {
  opacity: 1;
  transform: scale(1);
}

/* Staggered animations */
.animate-stagger-1 { transition-delay: 0.1s; }
.animate-stagger-2 { transition-delay: 0.2s; }
.animate-stagger-3 { transition-delay: 0.3s; }
.animate-stagger-4 { transition-delay: 0.4s; }
.animate-stagger-5 { transition-delay: 0.5s; }

/* Enhanced hover effects */
.enhanced-hover {
  transition: all 0.3s ease;
}

.enhanced-hover:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 10px 25px rgba(0, 0, 0, 0.15),
    0 5px 10px rgba(0, 0, 0, 0.1);
}

.enhanced-hover:active {
  transform: translateY(0) scale(0.98);
  transition: all 0.1s ease;
}

/* 3D Transform effects */
.transform-3d {
  transform-style: preserve-3d;
  transition: transform 0.3s ease;
}

.transform-3d:hover {
  transform: rotateY(5deg) rotateX(5deg) translateZ(10px);
}




.timeline-content {
  display: none;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(169, 214, 138, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  animation: fadeInScale 0.3s ease-out;
}

.timeline-content.active {
  display: block;
}

.timeline-content h4 {
  color: var(--bright);
  margin-bottom: var(--space-lg);
  font-size: 1.3rem;
  text-align: center;
  border-bottom: 2px solid rgba(169, 214, 138, 0.3);
  padding-bottom: var(--space-sm);
}

.timeline-item {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  position: relative;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  width: 12px;
  height: 12px;
  background: var(--bright);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 4px;
  position: relative;
  box-shadow: 0 0 8px rgba(169, 214, 138, 0.5);
}

.timeline-marker::after {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: calc(100% + var(--space-lg));
  background: linear-gradient(to bottom, var(--bright), transparent);
  opacity: 0.6;
}

.timeline-item:last-child .timeline-marker::after {
  display: none;
}

.timeline-details {
  flex: 1;
}

.timeline-details h5 {
  color: var(--bone);
  margin: 0 0 var(--space-xs) 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.timeline-details p {
  color: var(--muted);
  margin: 0 0 var(--space-sm) 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.timeline-duration {
  display: inline-block;
  background: rgba(169, 214, 138, 0.2);
  color: var(--bright);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(169, 214, 138, 0.3);
}

/* Modern Solution Details */
.solution-detail {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(120,120,120,.2);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
}

.solution-detail h3 {
  margin: 0 0 var(--space-sm) 0;
  font-size: 1.1rem;
  color: var(--bone);
}

.solution-detail p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Modern Responsive Adjustments - Enhanced for Dynamic Sizing */
@media (max-width: 768px) {
  .challenge-grid {
    grid-template-columns: 1fr;
    gap: clamp(var(--space-xs), 4vw, var(--space-md));
  }
  
  .resources-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .resource-tile {
    padding: var(--space-md);
  }
  
  .resource-icon {
    font-size: 2rem;
  }
}

/* Solution Link Styles */
.solution-link {
  color: var(--bright);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
  background: rgba(169, 214, 138, 0.1);
}

.solution-link:hover {
  color: var(--muted);
  border-bottom-color: var(--bright);
  text-decoration: none;
  background: rgba(169, 214, 138, 0.2);
  transform: translateY(-1px);
}

.solution-link:focus {
  outline: none;
  color: var(--muted);
  border-bottom-color: var(--bright);
  box-shadow: 0 0 0 2px rgba(169, 214, 138, 0.3);
  background: rgba(169, 214, 138, 0.2);
}

/* Enhanced Footer and Quote Styling */
footer {
  background: rgba(0, 0, 0, 0.3);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin: var(--space-xl) 0;
  border: 1px solid rgba(229, 228, 216, 0.1);
  text-align: center;
  box-shadow: 
    0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: all var(--transition-normal);
}

footer:hover {
  transform: translateY(-1px);
  box-shadow: 
    0 15px 20px -3px rgba(0, 0, 0, 0.12),
    0 6px 8px -2px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* Enhanced Blockquote Styling - Consolidated */

/* Closing quote styling to match mission quote */
.closing-quote {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(169, 214, 138, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin: var(--space-xl) 0;
  position: relative;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 
    0 8px 16px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--bone);
  text-align: center;
  font-style: italic;
}

/* Override quote marks for specific blockquotes */
.closing-quote::before {
  content: '' !important;
}

/* Team Section Styling */
.team-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.team-icon {
  font-size: 2rem;
  opacity: 0.8;
}

.team-intro {
  text-align: center;
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: var(--space-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-lg);
}

.team-grid-two {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.team-member {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(169, 214, 138, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.team-member::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--bright), var(--muted));
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.team-member:hover {
  transform: translateY(-4px);
  border-color: rgba(169, 214, 138, 0.4);
  box-shadow: 
    0 8px 25px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(169, 214, 138, 0.1);
}

.team-member:hover::before {
  opacity: 1;
}

.member-photo {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: var(--space-md);
  position: relative;
  gap: var(--space-md);
}

.photo-placeholder {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2c3e50, #34495e, #2c3e50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
  border: 3px solid rgba(169, 214, 138, 0.4);
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 8px 25px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(169, 214, 138, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all var(--transition-normal);
}

.photo-placeholder::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 50%;
  opacity: 1;
  transition: opacity var(--transition-normal);
  pointer-events: none;
}

.photo-placeholder::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: linear-gradient(45deg, #ffd700, #ffed4e, #ffd700, #ffed4e);
  border-radius: 50%;
  z-index: -1;
  opacity: 0;
  transition: opacity var(--transition-normal);
  animation: rotate 3s linear infinite;
}

.team-member:hover .photo-placeholder {
  transform: scale(1.05);
  border-color: rgba(169, 214, 138, 0.6);
  box-shadow: 
    0 12px 35px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(169, 214, 138, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.team-member:hover .photo-placeholder::after {
  opacity: 0;
}

.team-member:hover .photo-placeholder::before {
  opacity: 1;
}

.team-member:hover .initials {
  transform: scale(1.1);
  text-shadow: 
    0 3px 6px rgba(0, 0, 0, 0.6),
    0 0 15px rgba(169, 214, 138, 0.5);
}

.team-member:hover .member-info h3 {
  transform: scale(1.05);
  text-shadow: 
    0 3px 6px rgba(0, 0, 0, 0.6),
    0 0 15px rgba(169, 214, 138, 0.5);
  color: #ffffff;
}

.team-member:hover .member-photo-img {
  transform: scale(1.05);
  filter: brightness(1.1) contrast(1.1);
}

.initials {
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.5),
    0 0 10px rgba(169, 214, 138, 0.3);
  letter-spacing: 1px;
  transition: all var(--transition-normal);
}

.member-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 50%;
  transition: all var(--transition-normal);
}

.erin-photo {
  object-position: center 20%;
}

.timothy-photo {
  object-position: center 0%;
}

.shayla-photo {
  object-position: center 20%;
}

.member-badge {
  background: rgba(169, 214, 138, 0.2);
  color: var(--bright);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(169, 214, 138, 0.3);
}

.veteran-badge {
  background: linear-gradient(135deg, #ffd700, #ffed4e, #ffd700);
  color: #000;
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid #ffd700;
  box-shadow: 
    0 3px 8px rgba(255, 215, 0, 0.4),
    0 0 15px rgba(255, 215, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  z-index: 10;
  animation: veteranGlow 2s ease-in-out infinite alternate;
  transform: scale(1.02);
}

.veteran-badge::before {
  content: '★';
  margin-right: 4px;
  font-size: 0.8rem;
  text-shadow: 0 0 6px rgba(255, 215, 0, 0.8);
}

@keyframes veteranGlow {
  0% {
    box-shadow: 
      0 4px 12px rgba(255, 215, 0, 0.4),
      0 0 20px rgba(255, 215, 0, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.3);
  }
  100% {
    box-shadow: 
      0 6px 16px rgba(255, 215, 0, 0.6),
      0 0 30px rgba(255, 215, 0, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.5);
  }
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.member-info {
  text-align: center;
}

.member-info h3 {
  color: #ffffff;
  font-size: 1.6rem;
  margin-bottom: var(--space-md);
  font-weight: 900;
  text-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.7),
    0 0 10px rgba(255, 255, 255, 0.2);
  letter-spacing: 1px;
  transition: all var(--transition-normal);
}

.member-role {
  color: var(--bright);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.member-bio {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.member-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  justify-content: center;
}

.credential {
  background: rgba(0, 0, 0, 0.4);
  color: var(--bone);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid rgba(169, 214, 138, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.member-links {
  margin-top: var(--space-sm);
  display: flex;
  justify-content: center;
}

.linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background: rgba(0, 119, 181, 0.1);
  color: #0077b5;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(0, 119, 181, 0.2);
  transition: all var(--transition-normal);
}

.linkedin-link:hover {
  background: rgba(0, 119, 181, 0.2);
  border-color: rgba(0, 119, 181, 0.4);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 119, 181, 0.2);
}

.linkedin-icon {
  font-size: 0.9rem;
}

/* Responsive adjustments for team section */
@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .team-member {
    padding: var(--space-md);
  }
  
  .photo-placeholder {
    width: 60px;
    height: 60px;
  }
  
  .initials {
    font-size: 1.2rem;
  }
}

/* Smaller name just for specific members */
.member-info h3.member-name--sm {
  font-size: 1.2rem;   /* smaller than the default 1.6rem */
  line-height: 1.2;
}

.btn-row {
  display: flex;
  justify-content: center;   /* center the row */
  gap: 0.375rem;                 /* space between buttons */
  flex-wrap: wrap;           /* allow stacking on mobile */
  margin-top: 1rem;
}

.btn-row .learn-more-btn {
  min-width: 160px;          /* optional: keeps sizes consistent */
}

/* Force mission buttons to sit close together */
.card .btn-row {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 0.75rem;  /* ~12px ≈ 1/2 inch at 96dpi */
  row-gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}


/* Neutralize the base button rule inside the row */
.card .btn-row .learn-more-btn {
  margin: 0 !important;          /* kill the auto margins */
  width: auto !important;        /* don't take full width */
  max-width: none !important;
  flex: 0 0 auto !important;     /* don't stretch */
  /* optional for consistency: */
  min-width: 160px;
}
