/* Reset and basic styles */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  font-family: "Unbounded-Light", Helvetica, sans-serif;
  overflow-x: hidden;
  background-color: #000; /* fallback */
}

.mission-vision {
  width: 100%;
  min-width: 320px;
  min-height: 100vh;
  position: relative;
  background-image: url('Assets/BG/Cubitrek UI Background Design-02 1.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  padding-top: 100px;
}

/* Top-left back button */
.back-link {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 10;
}
.back-icon {
  width: 39px;
  height: 39px;
}

/* Top-right company favicon */
.favicon {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  z-index: 10;
}

/* Bottom-right expand more icon */
.expand-more {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 10;
}
.expand-icon {
  width: 58px;
  height: 57px;
}

/* Main content wrapper */
.content-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 50px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Stars container */
.stars-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  flex-shrink: 0;
}

.star {
  display: block;
  margin: 0;
  mix-blend-mode: screen;
}

.star-1 {
  width: 100%; /* adjust as needed */
  height: auto;
}

.star-2 {
  width: 250px; /* adjust as needed */
  height: auto;
}

/* Text container */
.text-container {
  display: flex;
  flex-direction: column;
  max-width: 600px;
}

.mission, .vision {
  font-family: "Unbounded-Medium", Helvetica, sans-serif;
  font-weight: 500;
  font-size: 60px;
  line-height: normal;
  background: linear-gradient(180deg, rgba(255,255,255,1) 43%, rgba(153,153,202,0.79) 81%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
}

.divider {
  width: 500px;
  max-width: 100%;
  height: auto;
  margin: 10px 0 30px 0;
}

.text {
  font-family: "Unbounded-Light", Helvetica, sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 28px;
  color: #ffffff;
  margin-bottom: 50px;
}

/* Responsive layout */
@media (max-width: 1024px) {
  .content-wrapper {
    flex-direction: column;
    align-items: center;
    padding-top: 50px;
    gap: 30px;
  }

  .stars-container {
    flex-direction: row;
    justify-content: center;
    gap: 20px;
  }

  .text-container {
    max-width: 90%;
    text-align: center;
  }

  .mission, .vision {
    font-size: 48px;
  }

  .text {
    font-size: 16px;
    line-height: 24px;
  }

  .star-1 {
    width: 20%;
  }

  .star-2 {
    width: 25%;
  }
}

@media (max-width: 600px) {
  .mission, .vision {
    font-size: 36px;
  }

  .text {
    font-size: 14px;
    line-height: 22px;
  }

  .star-1 {
    width: 30%;
  }

  .star-2 {
    width: 35%;
  }

  .expand-icon {
    width: 50px;
    height: 50px;
  }
}

/* Responsive layout */
@media (max-width: 1024px) {
  .content-wrapper {
    flex-direction: column; /* stack items vertically */
    align-items: center;
    padding-top: 50px;
    gap: 30px;
  }

  /* Stars below text */
  .stars-container {
    order: 2; /* push stars below text-container */
    flex-direction: row; /* stars in a row */
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
  }

  .text-container {
    order: 1; /* text comes first */
    max-width: 90%;
    text-align: center;
  }

  .mission, .vision {
    font-size: 48px;
  }

  .text {
    font-size: 16px;
    line-height: 24px;
  }

  .star-1 {
    width: 20%;
  }

  .star-2 {
    width: 25%;
  }
}

@media (max-width: 600px) {
  .mission, .vision {
    font-size: 36px;
  }

  .text {
    font-size: 14px;
    line-height: 22px;
  }

  .star-1 {
    width: 30%;
  }

  .star-2 {
    width: 35%;
  }

  .expand-icon {
    width: 50px;
    height: 50px;
  }
}
