* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Vazir", Arial, sans-serif;
}

body {
  background: linear-gradient(135deg, #192e54, #2a5298);
  color: #fff;
  direction: ltr;
  line-height: 1.6;
}

header {
  text-align: center;
  padding: 50px 20px;
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

header p {
  font-size: 1.2rem;
  opacity: 0.8;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.project-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  backdrop-filter: blur(5px);
}

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

.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.project-info {
  padding: 20px;
}

.project-info h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.project-info p {
  font-size: 1rem;
  opacity: 0.7;
  margin-bottom: 15px;
}

.project-info a {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  background: #e94560;
  padding: 10px 20px;
  border-radius: 5px;
  transition: background 0.3s;
}

.project-info a:hover {
  background: #d32f2f;
}

footer {
  text-align: center;
  padding: 20px;
  margin-top: 100px;
  background: rgba(0, 0, 0, 0.2);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  background: #0288d1;
  padding: 10px 20px;
  border-radius: 5px;
  transition: background 0.3s;
}

.footer-links a:hover {
  background: #01579b;
}

@media (max-width: 768px) {
  header h1 {
    font-size: 2rem;
  }

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

  .footer-links {
    flex-direction: column;
    gap: 10px;
  }
}

@font-face {
  font-family: "Vazir";
  src: url("https://cdn.fontcdn.ir/Fonts/Vazir/Vazir.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
