/* portfolio.css */

.hero-section img {
  width: 100%;
  height: auto;
  margin-top: 5em;
}

.portfolio-section {
  display: flex;
  flex-wrap: wrap;
  padding: 4em 2em;
  align-items: center;
  justify-content: space-between;
  background-color: #ffffff;
}

.text-content {
  flex: 1;
  min-width: 300px;
  padding: 1em;
}

.image-content {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.image-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.text-content h3 {
  color: var(--accent, #00bfa6);
  text-transform: uppercase;
  font-size: 1em;
  margin-bottom: 0.5em;
}

.text-content h2 {
  font-size: 2.5em;
  margin-bottom: 1em;
  color: #000;
}

.text-content p {
  font-size: 1.1em;
  margin-bottom: 1em;
  color: #333;
}

.text-content ul {
  list-style-type: square;
  padding-left: 1.2em;
  line-height: 1.8;
  font-size: 1em;
}

.back-button-container {
  text-align: center;
  margin: 3em 0;
}

.back-button {
  background-color: var(--accent, #0b3d91);
  color: white;
  padding: 0.8em 1.6em;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.back-button:hover {
  background-color: #327eff;
}

/* Animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards;
}

.fade-in:nth-of-type(2) {
  animation-delay: 0.4s;
}

.fade-in:nth-of-type(3) {
  animation-delay: 0.8s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .portfolio-section {
    flex-direction: column;
    text-align: center;
  }

  .text-content,
  .image-content {
    padding: 1em 0;
  }

  .text-content h2 {
    font-size: 2em;
  }
}

