* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Projects Section */
.projects-container {
  display: flex;
  flex-direction: column;
  align-items: end;
  margin: 0 20px;
  padding: 3rem 2rem;
}

/* Project Card */
.project-card {
  max-width: 900px;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 4rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  position: relative;
}

.project-gallery {
  position: relative;
  height: 450px;
  overflow: hidden;
}

.project-images {
  display: flex;
  transition: transform 0.5s ease;
  height: 100%;
}

.project-image {
  min-width: 100%;
  height: 100%;
  position: relative;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Carousel Navigation Arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: background 0.3s, transform 0.3s;
  z-index: 10;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.carousel-arrow:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
}

.carousel-arrow.prev {
  left: 15px;
}

.carousel-arrow.next {
  right: 15px;
}

/* Side Thumbnails */
.project-thumbnails {
  /* position: absolute;
  left: 20px;
  top: 20px; */
  display: flex;
  justify-content: end;
  padding: 10px 10px;
  gap: 10px;
  /* z-index: 5; */
}

.thumbnail {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 3px solid transparent;
}

.thumbnail.active {
  border-color: #f39c12;
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Project Info */
.project-info {
  padding: 2rem;
  background: white;
}

.project-info h3 {
  font-size: 1.5rem;
  color: #1a1a6e;
  margin-bottom: 0.5rem;
}

.project-info p {
  color: #666;
  margin-bottom: 1rem;
}

/* Dots Navigation */
.dots-container {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 1.5rem;
  background: white;
}

.dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 3px solid transparent;
}

.dot:hover {
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.dot.active {
  border-color: #333;
  transform: scale(1.15);
}

.dot.gray {
  background: #808080;
}

.dot.yellow {
  background: #f39c12;
}

.dot.dark {
  background: #333;
}

/* Page Navigation Dots */
.page-dots {
  position: fixed;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 100;
}

.page-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: all 0.3s;
}

.page-dot.active {
  background: #f39c12;
  transform: scale(1.5);
}

.page-dot:hover {
  background: #f39c12;
  transform: scale(1.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  .project-gallery {
    height: 300px;
  }

  .project-thumbnails {
    flex-direction: row;
    left: 50%;
    transform: translateX(-50%);
    top: auto;
    bottom: 20px;
  }

  .thumbnail {
    width: 50px;
    height: 50px;
  }

  .page-dots {
    display: none;
  }
}
