/* Reset and base */
* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}
body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Unbounded', sans-serif;
  background: url('Assets/BG/Cubitrek UI Background Design-02 1.png') no-repeat center center fixed;
  background-size: cover;
  color: white;
  overflow-x: hidden;
}

/* Main container */
.SMM-PORTFOLIO {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 80px 20px; /* Extra bottom padding for si-expand-more */
  /* background: rgba(0, 0, 0, 0.55); */
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* Icons - left arrow on left, favicon on right */
.component {
  position: fixed;
  top: 20px;
  left: 20px;
  width: 39px;
  height: 39px;
  z-index: 1000;
}

.asset {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  aspect-ratio: 1;
  object-fit: cover;
  z-index: 1000;
}

/* si-expand-more fixed bottom right, spaced away from content */
.si-expand-more {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 57px;
  height: 58px;
  aspect-ratio: 1;
  z-index: 1000;
  /* background: rgba(0,0,0,0.6); */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  /* box-shadow: 0 0 10px rgba(0,0,0,0.7); */
}

/* Leadership heading */
.leadership-heading {
  font-size: clamp(28px, 5vw, 50px);
  font-weight: 500;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 1) 43%,
    rgba(153, 153, 202, 0.79) 81%
  );
  -webkit-background-clip: text !important;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 0 40px 0;
  user-select: none;
  text-align: center;
  white-space: nowrap;
  width: 100%;
  padding-top: 60px; /* To ensure no overlap with fixed icons */
}

/* Leaders container */
.leaders-container {
  display: flex;
  flex-direction: column;
  gap: 50px;
  width: 100%;
  max-width: 1200px;
  align-items: center;
  padding-bottom: 80px; /* Extra bottom space for si-expand-more */
}

/* Individual leader card */
.leader {
  max-width: 360px;
  text-align: center;
  position: relative;
}

.leader img {
  width: 100%;
  max-width: 240px;
  aspect-ratio: 0.74;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 15px;
  /* box-shadow: 0 8px 15px rgba(0,0,0,0.5); */
}

.name {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 5px;
  user-select: none;
}

.role {
  font-size: 14px;
  color: #34ff9d;
  font-weight: 400;
  margin-bottom: 15px;
  user-select: none;
}

.description {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
  color: #e0e0e0;
  user-select: text;
}

/* Desktop layout */
@media (min-width: 768px) {
  .SMM-PORTFOLIO {
    flex-direction: column;
    align-items: center;
    padding-top: 60px;
  }

  .leadership-heading {
    width: 100%;
    text-align: center;
    margin-bottom: 40px;
    padding-top: 0; /* Remove extra padding for desktop */
  }

  .leaders-container {
    flex-direction: row;
    justify-content: center;
    gap: 40px;
    width: 100%;
    max-width: 1200px;
    padding-bottom: 80px;
  }

  .leader {
    max-width: 300px;
    text-align: center;
  }
}

/* Mobile layout */
@media (max-width: 767px) {
  .SMM-PORTFOLIO {
    padding-top: 80px; /* space from top so heading is not flush with header/menu */
  }

  .leaders-container {
    flex-direction: column;
    gap: 40px;
    padding-bottom: 80px;
  }

  .leader {
    max-width: 100%;
  }
}
