body {
  margin: 0;
  padding: 0;
  font-family: "Tahoma", sans-serif;
  background: #f5f0fa; /* یاسی خیلی کمرنگ */
  direction: rtl;
}

.header {
  margin: 20px auto;
  width: 90%;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 8px 8px 16px #d9d4e0, -8px -8px 16px #ffffff;
  text-align: center;
  padding: 20px;
}

.logo {
  height: 60px;
}

.search-bar {
  width: 90%;
  margin: 20px auto;
  display: flex;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 8px 8px 16px #d9d4e0, -8px -8px 16px #ffffff;
  overflow: hidden;
}

.search-bar input {
  flex: 1;
  border: none;
  padding: 15px;
  font-size: 16px;
  outline: none;
  background: transparent;
}

.search-bar button {
  width: 50px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
}

.intro {
  width: 90%;
  margin: 30px auto;
  padding: 20px;
  background: #f7f2fc;
  border-radius: 20px;
  box-shadow: inset 4px 4px 10px #ddd5eb, inset -4px -4px 10px #ffffff;
  text-align: center;
}

.cards {
  width: 90%;
  margin: 20px auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 8px 8px 16px #d9d4e0, -8px -8px 16px #ffffff;
  padding: 20px;
}

.card h3 {
  font-weight: bold;
  color: #000;
}

.card img {
  width: 100%;
  height: auto;
  margin-top: 10px;
}

.card .full {
  display: none;
  margin-top: 10px;
}

.toggle-btn {
  margin-top: 10px;
  background-color: #eee;
  border: none;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
}

.footer {
  width: 80%;
  margin: 40px auto 20px auto;
  padding: 20px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;

  background: linear-gradient(to bottom, #ffffff, #e5d8f5); /* از سفید به یاسی خیلی ملایم */
  box-shadow: 8px 8px 16px #d1c3e3, -8px -8px 16px #f9f3ff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  height: 50px;
}

.footer-text {
  position: absolute;
  left: 50%;
  top: 60%;
  transform: translate(-50%, -50%);
  font-size: 15px;
  color: #555;
  text-align: center;
}

.social-icons {
  display: flex;
  gap: 5px;
  align-items: rtl;
  margin-right: 5px;
}

.social-icons img {
  width: 25px;
  height: 25px;
}