/* MAIN WRAPPER */
.social-media-post {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 40px;
  background: url("Assets/BG/Cubitrek UI Background Design-02 1.png") center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

/* TOP ICONS */
.left-arrow {
  position: absolute;
  top: 25px;
  left: 25px;
  width: 40px;
}

.favicon {
  position: absolute;
  top: 25px;
  right: 25px;
  width: 40px;
}

.expand-icon {
  position: absolute;
  right: 25px;
  bottom: 25px;
  width: 55px;
}

/* FLEX LAYOUT */
.content-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  width: 100%;
  flex-wrap: nowrap; /* keep side by side on desktop */
}

.left-side {
  flex: 1;
  min-width: 320px;
  max-width: 600px;
}

/* Add this to your existing CSS */

.right-side {
  flex: 1;
  min-width: 320px;
  display: flex;
  justify-content: center;
  margin-top: 60px; /* Adjust this value as needed */
}


.ai-news {
  width: 100%;
  max-width: 500px;
  object-fit: contain;
}

/* TEXT */
.AI-automation {
  font-family: "Unbounded", sans-serif;
  font-weight: 600;
  font-size: 50px;
  color: white;
  line-height: 1.1;
}

.divider {
  width: 230px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #34ff9d, transparent);
  margin: 20px 0;
}

.description {
  font-family: "Unbounded", sans-serif;
  font-weight: 300;
  font-size: 18px;
  color: white;
  line-height: 28px;
  max-width: 500px;
}

/* WORKFLOW ROW */
.workflow-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 25px;
}

.workflow-icon {
  width: 45px;
}

.workflow-text {
  font-family: "Unbounded", sans-serif;
  font-weight: 500;
  font-size: 20px;
  color: white;
}

/* 5 ICONS ROW */
.icons-row {
  display: flex;
  gap: 18px;
  margin-top: 30px;
}

.icons-row img {
  width: 55px;
  height: 55px;
  object-fit: contain;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .AI-automation {
    font-size: 35px;
  }

  .ai-news {
    max-width: 380px;
  }

  .icons-row img {
    width: 45px;
  }
}

@media (max-width: 600px) {
  .content-container {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  /* Reverse order so right-side image goes below left-side content */
  .right-side {
    order: 2;
  }
  .left-side {
    order: 1;
  }

  .AI-automation {
    font-size: 30px;
  }

  .workflow-row {
    justify-content: center;
  }

  .icons-row {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .right-side {
    margin-top: 0;
  }
}