* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f9f7f1;
  color: #333;
  line-height: 1.6;
  padding: 2rem;
}

.portfolio-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid #eaeaea;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #6c63ff;
}

.social-nav {
  display: flex;
  gap: 1.2rem;
}

.social-nav a {
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, opacity 0.3s ease;
}

.social-nav a:hover {
  transform: scale(1.2);
  opacity: 0.8;
}

.social-icon {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  stroke: #6c63ff;
}

.container {
  max-width: 900px;
  margin: auto;
  background-color: #fff;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  gap: 10px;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.tab {
  background-color: #e0e7ff;
  padding: 0.6rem 1rem;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab:hover,
.tab.active {
  background-color: #6c63ff;
  color: white;
}

.content {
  display: none;
  padding: 1rem;
  border-left: 4px solid #6c63ff;
  background-color: #f3f0ff;
  border-radius: 8px;
}

.content.active {
  display: block;
}

.toggle-carousel-btn {
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background-color: #ffe0ec;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.toggle-carousel-btn:hover {
  background-color: #ffb3c6;
  transform: scale(1.05);
}

.carousel {
  overflow: hidden;
  margin-top: 1rem;
  position: relative;
  height: auto;
  max-height: 500px;
  display: none;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

.carousel img {
  width: 100%;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 10px;
  max-height: 500px;
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 1;
  font-size: 1.5rem;
}

.carousel-prev {
  left: 10px;
}

.carousel-next {
  right: 10px;
}

footer {
  text-align: center;
  margin-top: 2rem;
}

.download-btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  background-color: #ffe0ec;
  color: #333;
  text-decoration: none;
  border-radius: 25px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.download-btn:hover {
  background-color: #ffb3c6;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

@media (max-width: 600px) {
  .logo {
    font-size: 1.5rem;
  }

  .tab {
    font-size: 0.9rem;
    padding: 0.5rem 0.8rem;
  }

  .carousel {
    height: auto;
  }

  .download-btn {
    font-size: 0.95rem;
    padding: 0.6rem 1.2rem;
  }
}