@charset "utf-8";
@import url("https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;700&display=swap");

::selection { background-color: #4f46e5; color: #fff; }

body {
  font-family: 'Vazirmatn', sans-serif;
  margin: 0;
  background: #f9fafc;
  color: #2C2C2C;
  font-size: 18px;
  line-height: 1.8;
  text-align: center;
}


.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #4f46e5;
  color: #fff;
  padding: 15px 30px;
}

.logo {
  font-size: 26px;
  font-weight: bold;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
}

.navbar a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.navbar a:hover {
  color: dodgerblue;
  transform: scale(1.1);
}


.hero {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  color: #fff;
  animation: fadeIn 2s ease-in-out;
}

.hero h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 20px;
  margin-bottom: 30px;
}

.hero button {
  background: #fff;
  color: #4f46e5;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.hero button:hover {
  background: #e0e7ff;
}

.intro {
  background: #E0F7FA;
  padding: 40px 20px;
  margin: 40px auto;
  border-radius: 12px;
  max-width: 800px;
}

.intro h3 {
  font-size: 24px;
  color: #4f46e5;
  margin-bottom: 20px;
}

.intro p {
  font-size: 18px;
  color: #333;
}

.cards {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 60px 20px;
  flex-wrap: wrap;
}

.card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  width: 260px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
  transition: transform 0.3s;
  text-align: center;
}

.card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 12px;
}

.card:hover {
  transform: translateY(-8px);
}

.card h3 {
  color: #4f46e5;
  margin-bottom: 10px;
}
.footer {
  text-align: center;
  background: #4f46e5;
  color: #fff;
  padding: 30px 20px;
  font-size: 16px;
  margin-top: 50px;
}


.footer .copy {
  color: #e0e0e0;
  font-size: 14px;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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


