
/* Projects */
.projects-section {
  padding: 80px 5%;
  background: #050716;
  color: #fff;
  font-family: "Inter", sans-serif;
    background: 
    radial-gradient(circle at 10% 45%, rgba(68,113,245,0.2), transparent 30%),
    radial-gradient(circle at 80% 60%, rgba(68,113,245,0.15), transparent 25%),
    #06071B;

}

.container {
  width: 90%;
  max-width: 1300px;
  margin: auto;
}

.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.projects-header h2 {
  font-size: 2rem;
  font-weight: 600;
}

.projects-header p {
  font-size: 1.1rem;
  margin-top: 6px;
}

.view-all-btn {
  padding: 10px 24px;
  background: linear-gradient(90deg,#447bff,#3469ff);
  color: #fff;
  font-size: 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.2s;
}

.view-all-btn:hover {
  opacity: 0.85;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 40px;
}

.project-card{
  margin-bottom: 20px;
}

.project-img {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
}

.project-img img {
  width: 100%;
  display: block;
  border-radius: 12px;
  transition: 0.4s ease;
}

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

.project-card h3 {
  margin-top: 20px;
  font-size: 20px;
  margin-bottom: 8px;
  font-weight: 600;
}

.project-card p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 14px;
}

.learn-more {
  font-size: 13px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  
  width: fit-content;
  transition: 0.2s;
  text-decoration: none;
}

.learn-more:hover {
  border-bottom: 1px solid #fff;
}
.project-img {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.project-img img {
  width: 100%;
  display: block;
  transition: transform .4s ease;
  border-radius: 12px;
}

/* Overlay */
.project-img .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.65);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: 0.4s ease;
}

/* Content inside overlay */
.overlay-content {
  text-align: center;
  color: white;
  opacity: 0;
  transform: translateY(10px);
  transition: .4s ease;
  z-index: 1000;
}

/* Circle icon */
.overlay-content .circle {
  width: 50px;
  height: 50px;
  background: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 22px;
  color: #000;
  margin: 0 auto 8px;
  font-weight: bold;
  cursor: pointer;
}

.overlay-content p {
  font-size: 14px;
  font-weight: 600;
}

/* Hover effects */
.project-img:hover .overlay {
  opacity: 1;
}

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

.project-img:hover .overlay-content {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */

@media (max-width: 992px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .projects-header {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  .project-card p {
  font-size: 16px;
}
}
@media (max-width: 500px) {
  .projects-header h2 {
  font-size: 25px;
}


}
