/* === Team Page Styling === */
.page-main {
  padding-top: 120px; /* Adjust depending on your header height */
}

.founders-section {
  padding: 40px 5%;
  background-color: #f9f9f9;
  text-align: center;
}

.founders-section h1 {
  color: #2d4d3a;
  margin-bottom: 30px;
  font-size: 2rem;
}

.founders-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

/* === Team Member Card === */
.founder-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  padding: 20px;
  text-align: center;
  width: 100%;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.founder-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid #2d4d3a;
}

.founder-card h2 {
  font-size: 1.2rem;
  margin: 5px 0;
  color: #2d4d3a;
}

.founder-card h3 {
  font-size: 1rem;
  font-weight: normal;
  color: #666;
  margin-top: 5px;
}

.founder-card .description {
  font-size: 0.95rem;
  color: #444;
  margin-top: 10px;
}

.founder-card .toggle-more,
.founder-card .toggle-less {
  display: inline-block;
  margin-top: 8px;
  font-weight: bold;
  color: #2c7a7b;
  cursor: pointer;
}

/* === Contact Toggle === */
.contact-toggle {
  margin-top: 10px;
}

.contact-toggle a {
  font-size: 0.9rem;
  color: #2c7a7b;
  font-weight: bold;
}

.contact-info {
  font-size: 0.9rem;
  color: #333;
  margin-top: 5px;
}

.contact-info a {
  color: #2d4d3a;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* === Button: Show All / Show Less === */
#toggle-all-founders {
  background-color: #2d4d3a;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  padding: 10px 20px;
  cursor: pointer;
  margin: 30px auto 0;
  display: block;
}

#toggle-all-founders:hover {
  background-color: #24412e;
}

/* === Responsive Adjustments === */
@media (max-width: 1024px) {
  .founders-section {
    padding: 30px 3%;
  }
}

@media (max-width: 768px) {
  .founders-grid {
    gap: 20px;
    flex-direction: column;
    align-items: center;
  }

  .founder-card {
    width: 100%;
    max-width: 90%;
  }

  #toggle-all-founders {
    width: 90%;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .founders-section h1 {
    font-size: 1.6rem;
  }

  .founder-card {
    padding: 16px;
  }

  .founder-card img {
    width: 100px;
    height: 100px;
  }

  .founder-card h2 {
    font-size: 1.1rem;
  }

  .founder-card h3 {
    font-size: 0.95rem;
  }

  .founder-card .description {
    font-size: 0.9rem;
  }
}
