/* Projects Section */
.projects-section {
  padding: 6rem 0;
  background: var(--dark-bg);
}

/* Badge Wrapper */
.badge-wrapper {
  text-align: center;
  margin-bottom: 2rem;
}

/* .section-badge {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 50px;
  color: var(--primary-color);
  font-size: 0.95rem;
  font-weight: 600;
  animation: fadeIn 0.6s ease-out;
} */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-title-pr {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  animation: fadeIn 0.8s ease-out;
}
.section-subtitle-pr {
  text-align: center;
  animation: fadeIn 1s ease-out;
}
/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
  margin-left: 140px;
  margin-right: 140px;
  align-items: stretch;
}

/* Project Card */
.project-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  animation: fadeInUp 0.8s ease-out;
  flex-direction: column;
  height: 100%;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.project-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
}

/* Project Image */
.project-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
}

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

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

/* Project Content */
.project-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.project-category {
  /* display: inline-block; */
  font-size: 0.85rem;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: left;
}

.project-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--text-primary);
  line-height: 1.3;
  text-align: left;
}

.project-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.2rem;
  text-align: left;
}

/* Project Tags */
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: auto;
}

.project-tag {
  padding: 0.4rem 0.9rem;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  transition: all 0.3s;
}

.project-tag:hover {
  background: rgba(139, 92, 246, 0.2);
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: scale(1.05);
}

/* CTA Section */
.cta-section {
  text-align: center;
  margin-top: 4rem;
  padding: 3rem 0;
}

.cta-text11 {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.cta-button11 {
  padding: 1rem 2.5rem;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}

.cta-button11:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(139, 92, 246, 0.4);
}

/* Staggered Animations */
.project-card:nth-child(1) {
  animation-delay: 0.1s;
}

.project-card:nth-child(2) {
  animation-delay: 0.2s;
}

.project-card:nth-child(3) {
  animation-delay: 0.3s;
}

.project-card:nth-child(4) {
  animation-delay: 0.4s;
}

.project-card:nth-child(5) {
  animation-delay: 0.5s;
}

.project-card:nth-child(6) {
  animation-delay: 0.6s;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

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

  .project-image {
    height: 200px;
  }
}
/* .container {
max-width: 1400px;
margin: 0 auto;
padding: 0 2rem;
} */
/* css of template link related */
.project-link {
  text-decoration: none;
  color: inherit;
  display: block;
}