/* SVG Connecting Lines System */
.connecting-lines-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.connecting-lines-svg path {
  stroke: var(--line);
  stroke-width: var(--line-w);
  fill: none;
  vector-effect: non-scaling-stroke;
}

/* Mobile-friendly connecting lines text */
.connecting-lines-txt {
  position: relative;
}

.connecting-lines-txt::before {
  color: var(--line);
  font-weight: bold;
  margin-right: 8px;
}

.founding-members-section h3 { 
  margin-bottom: 32px;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .connecting-lines-svg {
    display: none; /* Hide SVG lines on mobile */
  }
  
  /* Reset grid layout for mobile */
  #vision-grid {
    grid-template-rows: auto !important;
    gap: 24px;
  }
  
  /* Stack content vertically on mobile */
  #vision-grid > * {
    grid-row: auto !important;
    grid-column: 1 / -1 !important;
  }
  
  /* Add spacing between text blocks */
  .connecting-lines-txt {
    margin-top: 16px;
  }
  
  .connecting-lines-txt::before {
    color: var(--line);
    font-weight: bold;
    margin-right: 8px;
  }
  
  /* Ensure proper spacing for the goal paragraph */
  #vision-grid p:first-of-type {
    margin-bottom: 32px;
  }
  
  /* Founding Members Mobile Styles */
  .founding-members-section {
    gap: 32px;
  }
  
  .founding-members-section > * {
    grid-column: 1 / -1 !important;
  }
  
  /* Stack member categories vertically */
  .founding-members-section .col-2-start-2,
  .founding-members-section .col-2-start-5,
  .founding-members-section .col-2-start-8 {
    grid-column: 1 / -1 !important;
    margin-bottom: 24px;
  }
  
  /* Full width paragraphs on mobile */
  .founding-members-section .col-4-start-2,
  .founding-members-section .col-4-start-6 {
    grid-column: 1 / -1 !important;
    margin-bottom: 16px;
  }
  
  /* Reduce spacing on mobile */
  .founding-members-section .spacer-64 {
    height: 24px;
  }
}

/* Desktop spacing adjustments for founding members */
.founding-members-section {
  gap: 16px; /* Reduce overall gap */
}

/* Extra spacing between specific paragraphs */
.extra-right-margin {
  margin-right: 34px;
}

/* Reduce space after the title */
.founding-members-section h2.technical-text {
  margin-bottom: 16px;
}

/* Reduce space between member categories and paragraphs */
.founding-members-section .col-2-start-2,
.founding-members-section .col-2-start-5,
.founding-members-section .col-2-start-8 {
  margin-bottom: 16px;
}

/* Member Boxes Styles */
.member-boxes-section {
  gap: 32px;
}

.member-box {
  border: 1px solid var(--line);
  padding: 32px;
  background: transparent;
  position: relative;
}

.member-box h3 {
  margin-bottom: 24px;
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}


.member-box li {
  margin-bottom: 16px;
  line-height: 1.6;
  font-size: clamp(14px, 1.4vw, 16px);
}

.member-box li:last-child {
  margin-bottom: 0;
}

/* Mobile responsive for member boxes */
@media (max-width: 768px) {
  .member-boxes-section {
    gap: 24px;
  }
  
  .member-box {
    grid-column: 1 / -1 !important;
    padding: 24px;
  }
  
  .member-box h3 {
    margin-bottom: 20px;
  }
  
  .member-box li {
    margin-bottom: 12px;
  }
}
