/* Reset and base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Unbounded", Helvetica, Arial, sans-serif;
  background: #000; /* fallback */
  color: #fff;
  overflow-x: hidden; /* prevent horizontal overflow */
}

/* Main container with Cubitrek UI as background */
.SEO-ACHIEVEMENTS {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background: url("Asset/BG/Cubitrek UI Background Design-02 1.png") no-repeat center center;
  background-size: cover;
  width: 100%;
  max-width: 1440px;
  min-height: 810px;
  margin: 0 auto;
  padding: 80px 80px 80px 80px; /* Added padding to avoid overlaps */
  position: relative;
  color: #fff;
  overflow: hidden; /* clip overflow to prevent scroll */
}

/* Hide the original cubitrek-UI img */
.SEO-ACHIEVEMENTS .cubitrek-UI {
  display: none;
}

/* Icons positioning with safe spacing */
.asset {
  position: absolute;
  top: 40px;
  right: 40px;
  width: 36px;
  height: 36px;
  aspect-ratio: 1;
  object-fit: cover;
  z-index: 10;
}

.component {
  position: absolute;
  top: 40px;
  left: 40px;
  width: 39px;
  height: 39px;
  z-index: 10;
}

.si-expand-more {
  position: absolute;
  bottom: 40px;
  right: 40px;
  width: 58px;
  height: 57px;
  transform: rotate(-90deg);
  aspect-ratio: 1;
  z-index: 10;
}

.vector {
  position: absolute;
  width: 75%;
  height: 75%;
  top: 10%;
  left: 11%;
  transform: rotate(90deg);
  z-index: 1;
}

/* Content container (left side) */
.content-container {
  flex: 1 1 50%;
  max-width: 600px;
  margin-right: 40px;
  padding-left: 10px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 5;
  min-width: 0; /* prevent flex overflow */
  overflow-wrap: break-word;
}

/* Social media heading */
.social-media {
  font-family: "Unbounded-Medium", Helvetica, Arial, sans-serif;
  font-weight: 500;
  font-size: 50px;
  line-height: 1.1;
  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;
  color: transparent;
  transform: rotate(-0.22deg);
  max-width: 100%;
  word-break: break-word;
}

/* Decorative horizontal line */
.div-user-select-none {
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(52, 255, 157, 1) 50%,
    rgba(0, 0, 0, 0) 100%
  );
}

/* Paragraph text */
.div {
  font-family: "Unbounded-Light", Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 28px;
  color: #ffffff;
  max-width: 100%;
  word-break: break-word;
}

/* Frame image */
.frame {
  width: 298px;
  height: auto;
  object-fit: contain;
  margin-top: 10px;
}

/* Frame-2 container */
.frame-2 {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-top: 10px;
}

/* Small icon inside frame-2 */
.img {
  width: 56.44px;
  height: 53.06px;
  object-fit: contain;
  margin-left: -20px;
}

/* Text inside frame-2 */
.beyond-likes {
  font-family: "Unbounded-Medium", Helvetica, Arial, sans-serif;
  font-weight: 500;
  font-size: 20px;
  color: #ffffff;
  transform: rotate(-0.22deg);
  white-space: nowrap;
}

/* Images container (right side) */
.images-container {
  flex: 1 1 40%;
  display: flex;
  flex-direction: column;
  gap: 30px;
  justify-content: flex-start;
  align-items: flex-end;
  max-width: 350px;
  z-index: 5;
  min-width: 0; /* prevent flex overflow */
}

/* Individual images */
.aaa,
.ccc {
  width: 100%;
  height: auto;
  max-width: 320px;
  aspect-ratio: 0.81;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

/* Responsive styles */
@media (max-width: 1024px) {
  .SEO-ACHIEVEMENTS {
    flex-direction: column;
    padding: 60px 40px 60px 40px;
    max-width: 100%;
    min-height: auto;
  }

  .content-container {
    max-width: 100%;
    margin-right: 0;
    padding-left: 0;
  }

  .images-container {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
    max-width: 100%;
    margin-top: 30px;
  }

  .aaa,
  .ccc {
    max-width: 45vw;
  }

  .asset {
    top: 20px;
    right: 20px;
  }

  .component {
    top: 20px;
    left: 20px;
  }

  .si-expand-more {
    bottom: 20px;
    right: 20px;
  }
}

@media (max-width: 768px) {
  .content-container {
    padding: 0 10px;
  }

  .social-media {
    font-size: 35px;
  }

  .div {
    font-size: 15px;
  }

  .images-container {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .aaa,
  .ccc {
    max-width: 90vw;
  }
}
  