body {
  font-family: sans-serif;
  margin: 20px;
  background-color: #f4f4f4;
  color: #333;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.profile-header {
  text-align: center;
  margin-bottom: 20px;
}

.profile-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
  border: 5px solid #ddd;
}

h1 {
  margin-top: 0;
  color: #555;
}

p {
  line-height: 1.6;
  color: #666;
}

.section {
  margin-top: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.section:last-child {
  border-bottom: none;
}

h2 {
  color: #777;
  border-bottom: 2px solid #ddd;
  padding-bottom: 5px;
  margin-bottom: 15px;
}

ul {
  list-style: none;
  padding: 0;
}

ul li {
  margin-bottom: 8px;
}

a {
  color: #007bff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.social-links {
  margin-top: 15px;
}

.social-links a {
  margin-right: 10px;
  font-size: 1.2em;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill {
  background-color: #e9ecef;
  color: #495057;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.9em;
}

/* Carousel Styles */
.carousel-container {
  position: relative;
  overflow: hidden;
  margin: 15px 0;
  width: 50%;
}

.carousel-slide {
  display: none;
  width: 100%;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  display: block; /* Prevent extra space below image */
}

.carousel-slide.active {
  display: block;
}

.prev-btn,
.next-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
  font-size: 1.2em;
}

.prev-btn {
  left: 10px;
}

.next-btn {
  right: 10px;
}
