/* Team Page Styles */

/* Hero Section */
.about-hero-section {
  position: relative;
  padding: 6rem 0 4rem;
  color: var(--color-white);
  overflow: hidden;
  background-color: var(--color-black);

}

.about-content{
  padding: 120px 20px;
  background-color: var(--color-black);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 120px;
}

.founders-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.7;
}

.founder-bio h3{
  color: var(--color-white);
}

.hero-bg-gif {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--color-black) 40%, var(--color-accent) 100%);
  mix-blend-mode: multiply;
  opacity: 0.9;
}

.founders-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin: 1.5rem auto;
  max-width: 600px;
  color: var(--color-white-80);
  line-height: 1.6;
}

/* Founders Section */
.founders-avatars {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.founder-avatar-circle,
.bio-avatar-circle {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--color-accent);
  display: inline-block;
  border: 2px solid var(--color-white-20);
  margin-bottom: 1rem;
}

/* Manifesto Section */
.manifesto-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0px;
  background-color: var(--color-black);
}

.manifesto-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}



.manifesto-container h2 {
  text-align: left;
  margin: 0;
}

.manifesto-subheading {
  width: 100%;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 140%;
  color: var(--color-white);
  opacity: 0.8;
  text-align: left;
  margin: 0;
}

.manifesto-separator {
  width: 100%;
  height: 0;
  opacity: 0.25;
  border-bottom: 2px solid var(--color-white);
}

.manifesto-paragraph {
  width: 100%;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 140%;
  color: var(--color-white);
  opacity: 0.8;
  text-align: left;
  margin: 0;
}

/* Founders Bios Section */
.founders-section-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  width: 100%;
}

.founder-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
  
  margin: 0 auto; /* Center the card */
}




.founder-image-wrapper {
  width: 100%;
  padding-bottom: 100%; /* This creates a 1:1 aspect ratio */
  position: relative; /* For positioning the decoration and image */
  overflow: hidden; /* To contain the rotated decoration */
  border-radius: 10px;
  align-self: center; /* Center the wrapper */
}

.founder-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
}

.founder-image-decoration-svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg); /* Maintain rotation, adjust as needed */
  /* The SVG's height and width are set inline, but you can override or adjust here if necessary */
  /* Example: width: 50%; height: 50%; to make it relative to the parent */
  pointer-events: none; /* Ensure clicks pass through to the image */
  width: 100%;
    height: 100%;

}

.founder-ellipse {
  cx: 50%; /* (165/330)*100 */
  cy: 50%; /* (90/180)*100 */
  rx: 42.42%; /* (140/330)*100 */
  ry: 41.67%; /* (75/180)*100 */
  fill: transparent;
  stroke: var(--color-accent);
  stroke-width: 4; /* This will scale with the SVG's overall size */
}

.founder-info-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  align-self: stretch;
}

.founder-name {
  font-family: 'Trap', sans-serif;
  font-weight: 600;
  font-size: 30px;
  line-height: 120%;
  color: var(--color-white);
  align-self: stretch;
}

.founder-role {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 140%;
  color: var(--color-accent);
  align-self: stretch;
}

.founder-description {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 140%;
  color: var(--color-white);
  opacity: 0.8;
  align-self: stretch;
}


/* Old Founders Bios - to be removed or refactored */
.founders-bios-section {
  padding: 5rem 0;
  background-color: var(--color-black);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.founder-bio {
  padding: 2.5rem;
  border-radius: 12px;
  background-color: var(--color-black-secondary);
  border: 1px solid var(--color-white-10);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.founder-bio:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px var(--color-black-20);
}

.bio-role {
  color: var(--color-accent);
  font-weight: 500;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.bio-text {
  color: var(--color-white-70);
  line-height: 1.6;
}


/* Team Section */
.team-section {
  padding: 4rem 1rem;
}

.team-member {
  padding: 2rem;
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
}

.acid-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-color: #D1EE51;
  margin: 0 auto 1rem;
}

/* Mission Section */
.mission-section {
  padding: 4rem 1rem;
  background: #1D1C1E;
  color: #fff;
  text-align: center;
}

.mission-text {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

/* NEW Philosophy Section Styles */
.philosophy-section {
 
  
  width: 100%;
  
}

.philosophy-content-container {
  position: relative; /* To contain the absolute positioned video */
  overflow: hidden; /* To clip the video to the container's bounds */
  display: flex;
  flex-direction: column;
  align-items: center; /* Center text content horizontally */
  justify-content: center; /* Center text content vertically if needed, or use padding */
  gap: 16px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  border-radius: 10px;
  padding: 40px 20px; /* Add padding here for the text content */
  /* background-color: var(--color-dark-grey, #121212); /* Removed as video is background */ 
}

.philosophy-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cover the entire container, cropping if necessary */
  z-index: 0; /* Behind the text content */
  opacity: 1; /* Optional: to make text more readable over video */
}

.philosophy-text-content {
  position: relative;
  z-index: 1; /* Responsive breakpoints for the SVG ellipse */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
}
  

.philosophy-section h2 {
  font-family: 'Trap', sans-serif;
  font-style: normal;
  font-weight: 600;
  line-height: 1.2; /* 120% */
  color: var(--color-white, #FFFFFF);
}

.philosophy-description {
  font-family: 'DM Sans', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.4; /* 140% */
  color: var(--color-white, #FFFFFF);
  opacity: 0.8;

  /* Flex item properties */
  /* Order is implicitly handled by source order matching spec (1, 3, 5, 7) */
  align-self: stretch;
  flex-grow: 0;
  flex-shrink: 0;
  width: auto; /* Override fixed width from spec for responsiveness */
}

.philosophy-details-wrapper{
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.philosophy-separator {
  width: 100%; /* Stretches due to align-self: stretch on parent or this */
  height: 0px;
  opacity: 0.25;
  border: none;
  border-top: 2px solid var(--color-white, #FFFFFF);
  /* margin-top: 8px; /* Gap property on container should handle this */
  /* margin-bottom: 8px; /* Gap property on container should handle this */

  /* Flex item properties */
  /* Order is implicitly handled by source order matching spec (2, 4, 6) */
  align-self: stretch;
  flex-grow: 0;
  flex-shrink: 0;
}

/* Philosophy Section Two-Column Layout at 1024px+ */
@media (min-width: 1024px) {
  .philosophy-section {
    max-width: 1200px;
  }

  .philosophy-content-container {
    
    padding: 60px 40px
  }

  .philosophy-text-content {
    display: flex;
    flex-direction: row;
    gap: 80px;       /* Space between heading and details */
    align-items: flex-start; /* Align items to the top */
  }

  .philosophy-heading-wrapper {
    flex: 1; /* Heading column takes 1 part of the space */
    min-width: 45%; /* Prevent heading from becoming too narrow */
    text-align: center !important;
  }
  
  .philosophy-heading-wrapper h2 {
    margin-top: 0; /* Remove any default top margin from h2 */
    /* If you want the h2 to be sticky: */
    /* position: sticky; */
    /* top: 2rem; */ /* Adjust top offset as needed */
  }

  .philosophy-details-wrapper {
    flex: 2; /* Details column takes 2 parts of the space */
  }

  .manifesto-section {
    flex-direction: row;
    gap: 80px;
  }

  .about-content {
    padding: 120px 40px;
  }

  .manifesto-heading-wrapper {
    min-width: 45%;
    margin: 0 auto;
    display: block;
    
  }


  
}


/* Team-specific styles end here */

@media (min-width: 768px) {
  .founders-bios-section {
    flex-direction: row;
    gap: 20px;
  }

  .founders-section-container {
    flex-direction: row;
    align-items: baseline;
    max-width: 1200px;
  }

  .manifesto-section {
    max-width: 1200px;
  }

  .founder-card {
    width: 100%;
  }
}

 


  