
.about-section {
  position: relative;
  background:
    rgba(20, 20, 20, 0.68),
    url("../../images/content/about-background.jpg") no-repeat left center;
  background-size: cover;
  background-color: var(--color-ink);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 100%;
  margin: auto;
  padding: 30px 5%;
  min-height: 280px;

}

.inner-container {
  flex: 1;
  background: rgba(255, 255, 255, 0.25);
  padding: 25px;

  text-align: center;
  box-shadow: 0px 5px 14px rgba(0, 0, 0, 0.2);
  max-width: 69%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  backdrop-filter: blur(4px);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  min-height: 280px;

}

.titleab {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: bold;
  color: #ffffff;
  padding-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
}

.inner-container p {
  font-size: clamp(16px, 1.5vw, 17px);

  line-height: 1.6;
  color: #ffffff;
  text-align: center;
  margin-bottom: 10px;
  font-weight: 400;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

@media (max-width: 1024px) {
  .about-section {
    flex-direction: column;
    background-size: cover;
    background-position: center;
    padding: 20px 5%;
    min-height: auto;
  }

  .inner-container {
    max-width: 90%;
    padding: 20px;
    min-height: auto;
  }

  .titleab {
    font-size: clamp(18px, 2.3vw, 24px);
  }

  .inner-container p {
    font-size: clamp(15px, 1.3vw, 16px);
  }
}

@media (max-width: 650px) {
  .about-section {
    background-size: cover;
    background-position: center;
  }

  .inner-container {
    width: 100%;
    padding: 15px;
  }

  .titleab {
    font-size: 18px;
  }

  .inner-container p {
    font-size: 15px;
  }
}

.containertree {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
  background: var(--color-surface-soft);
}

.tree-title {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: clamp(14px, 2.0vw, 22px);
  font-weight: bold;
  color: var(--color-primary-dark);
  padding: 10px 20px;
  background: var(--color-surface-soft);
  border: 2px solid var(--color-primary-dark);
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  width: fit-content;
  margin: 0 auto 20px auto;
}

.tree .top-row,
.tree .bottom-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 10px;
  gap: 25px;

  max-width: 100%;
}

.tree li a {
  border: 2px solid var(--highlight);
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
  width: min(180px, 30vw);
  height: auto;
  text-align: center;
}

.tree .top-row a:first-child {
  background: rgba(232, 199, 93, 0.55) !important;

  border: 2px solid var(--highlight);
  transition: all 0.2s ease-in-out;
}

.tree .top-row a:first-child:hover {
  background: var(--highlight);
  color: white !important;

  border-color: var(--highlight);
  transform: scale(1.05);

  box-shadow: 0px 6px 18px rgba(0, 0, 0, 0.25);
}

.tree li a img {
  width: 100%;
  max-width: 110px;
  height: auto;
  border-radius: 8px;
  border: 2px solid var(--highlight);
  margin-bottom: 8px;
  transition: transform 0.2s ease-in-out;
}

.tree li a span {
  border: 2px solid var(--highlight);
  border-radius: 6px;
  color: var(--text-color);
  padding: 5px;
  font-size: clamp(10px, 2vw, 12px);
  text-transform: uppercase;
  font-weight: bold;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
  width: 90%;
  min-height: 30px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  word-wrap: break-word;
}

.tree li a:hover {
  background: var(--highlight);
  color: white;
  transform: scale(1.04);
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
}

.tree li a:hover img {
  transform: scale(1.06);
}

@media screen and (max-width: 950px) {
  .tree li a {
    width: min(150px, 35vw);
  }
}

@media screen and (max-width: 650px) {
  .tree ul {
    gap: 15px;
  }

  .tree .top-row,
  .tree .bottom-row {
    flex-wrap: wrap;
    justify-content: center;
  }

  .tree li a {
    width: min(140px, 40vw);
  }

  .tree li a img {
    max-width: 85px;
  }

  .tree li a span {
    font-size: clamp(9px, 2vw, 11px);
    padding: 4px;
    min-height: 28px;
  }
}

.membership-container {
  background: rgba(248, 228, 162, 0.397);

  padding: 40px 0;

  display: flex;
  justify-content: center;
  align-items: center;
}

.membership-section {
  background: var(--color-surface-soft);

  padding: 40px;
  text-align: center;
  border-radius: 12px;
  max-width: 820px;
}

.membership-section:hover {
  transform: scale(1.02);
}

.membership-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--color-primary-dark);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.membership-text {
  font-size: 18px;
  line-height: 1.7;
  color: var(--color-primary-dark);
  font-weight: 500;
}

@media (max-width: 1024px) {
  .membership-section {
    max-width: 90%;
    padding: 35px;
  }

  .membership-title {
    font-size: 20px;
  }

  .membership-text {
    font-size: 17px;
  }
}

@media (max-width: 650px) {
  .membership-container {
    padding: 30px 0;
  }

  .membership-section {
    max-width: 95%;
    padding: 30px;
  }

  .membership-title {
    font-size: 18px;
  }

  .membership-text {
    font-size: 16px;
  }
}
