/* Additional styles for the about section layout */
.icon-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 80px;
}

.text-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.details-container:last-child {
  border-bottom: none;
}

/* New styles for horizontal layout of Experience and Education */
.about-contain {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 40px;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.details-container {
  flex: 1;
  border-bottom: none;
  padding: 20px;
  position: relative;
  min-width: 230px;
  /* Added min-width to ensure text fits on one line */
}

.details-container:first-child::after {
  content: "";
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background-color: rgba(255, 255, 255, 0.8);
}

/* Skills details styles */
.skills-details {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding: 20px;
  position: relative;
}

@media (max-width: 768px) {
  .about-contain {
    flex-direction: column;
    padding: 15px;
  }

  .details-container {
    flex-direction: column;
    text-align: center;
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .details-container:first-child::after {
    display: none;
  }

  .text-wrapper {
    align-items: center;
  }

  .skills-details {
    flex-direction: column;
    text-align: center;
    padding: 15px;
  }
}