body{
  background: radial-gradient(
    circle at top right,
    rgba(175, 6, 164, 0.02),
    transparent 32%
  ),
  linear-gradient(180deg, #fcfafc 0%, #f9f6f9 100%);
}

.container {
  max-width: 1200px;
  margin: 130px auto 130px auto;
  padding: 0 20px;
  direction: rtl;
}
.page-title {
  text-align: center;
  margin-bottom: 50px;
  color: #333;
  font-size: 2.5rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.project-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #eee;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(175, 6, 164, 0.2);
}

.image-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}
.project-card:hover .image-wrapper img {
  transform: scale(1.1);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(49, 38, 48, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: 0.4s;
}
.project-card:hover .overlay {
  opacity: 1;
}

.btn-view {
  padding: 10px 25px;
  background: #fff;
  color: #A3238e;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
}

.project-info {
  padding: 20px;
  text-align: center;
}
.project-info h3 {
  margin: 0 0 10px;
  color: #222;
}
.project-info p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 768px){
  .container{
    margin: 60px auto 60px auto;
  }
}