/* Heading Styles */
#heading-container {
  margin-bottom: 3rem;
}

#heading {
  font-size: 2.8rem;
  color: #2d3748;
  font-weight: 700;
  margin-bottom: 1rem;
}

.subtitle {
  color: #718096;
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Project Categories */
.project-categories {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.category-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  background: #f7fafc;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #4a5568;
  font-weight: 500;
}

.category-item i {
  font-size: 1.2rem;
}

.category-item:hover {
  background: #edf2f7;
  transform: translateY(-2px);
}

.category-item.active {
  background: #4299e1;
  color: white;
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 1rem;
}

/* Project Cards */
.project-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.project-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(66, 153, 225, 0.9);
  padding: 0.5rem 1rem;
  border-radius: 20px;
}

.project-tag {
  color: white;
  font-size: 0.9rem;
  font-weight: 500;
}

.project-content {
  padding: 1.5rem;
}

.project-content h3 {
  font-size: 1.3rem;
  color: #2d3748;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.project-content p {
  color: #718096;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.project-footer {
  border-top: 1px solid #edf2f7;
  padding-top: 1rem;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #4299e1;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.project-link:hover {
  color: #2b6cb0;
}

.project-link i {
  transition: transform 0.3s ease;
}

.project-link:hover i {
  transform: translateX(5px);
}

/* Scroll Top Button */
.scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #4299e1;
  color: white;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: 0;
  transition: all 0.3s ease;
  font-size: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.scroll-top.visible {
  opacity: 1;
}

.scroll-top:hover {
  background: #2b6cb0;
  transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
  #heading {
    font-size: 2.2rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .project-categories {
    gap: 0.8rem;
  }

  .category-item {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-image {
    height: 180px;
  }

  .project-content h3 {
    font-size: 1.2rem;
  }
} 