/* about.css */

/* اگر فونت رو قبلاً در style.css وارد کردی، نیازی به import دوباره نیست */
/* @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;700&display=swap'); */

/* فقط اگر لازم بود ریست پایه‌ای */
* {
  margin: 10;
  padding: 10;
  box-sizing: border-box;
}

/* استایل اختصاصی برای صفحه about */
body.about-page {
  padding: 100px 20px 80px;
}

main {
  margin: 400px auto;
}


/* کانتینر محتوا */
.container {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
  display: flex;
  flex-wrap: wrap;
  overflow: hidden;
  padding: 40px;
  transition: transform 0.3s ease;
}

.container:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.25);
}

/* بخش‌های محتوا و تصویر */
.content, .image {
  flex: 1 1 500px;
  padding: 20px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* تیتر اصلی */
.content h1 {
  font-weight: 600;
  font-size: 3rem;
  color: #0077ff;
  margin-bottom: 20px;
  letter-spacing: 1.2px;
}

/* متن محتوا */
.content p {
  font-weight: 300;
  font-size: 1.15rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 35px;
}

/* لیست‌ها */
.content ul {
  list-style: none;
  margin-bottom: 40px;
}

.content ul li {
  font-weight: 500;
  font-size: 1.1rem;
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
  color: #333;
  transition: color 0.3s ease;
}

.content ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #0077ff;
  font-weight: 700;
}

.content ul li:hover {
  color: #0077ff;
  cursor: default;
}

/* دکمه تماس */
.btn-contact {
  align-self: flex-start;
  background: linear-gradient(90deg, #0052d4, #4364f7, #6fb1fc);
  color: #fff;
  padding: 15px 40px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(111,177,252,0.6);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.btn-contact:hover {
  box-shadow: 0 20px 40px rgba(111,177,252,0.8);
  transform: scale(1.05);
}

/* تصویر */
.image img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.image img:hover {
  transform: scale(1.05);
  box-shadow:box-shadow: 0 20px 40px rgba(0,0,0,0.8);;
}

/* ریسپانسیو */

/* تبلت */
@media (max-width: 900px) {
  .container {
    flex-direction: column;
    padding: 30px 20px;
  }
  .image img {
    border-radius:16px;
  }
  .content, .image {
    padding: 20px 0;
  }
  .content h1 {
    font-size: 2.5rem;
  }
}

/* موبایل */
@media (max-width: 480px) {
  body.about-page {
    padding: 40px 15px 30px;
  }
  .content h1 {
    font-size: 2rem;
  }
    .image img {
    border-radius:16px;
  }
  .content p {
    font-size: 1rem;
  }
  .btn-contact {
    padding: 12px 30px;
    font-size: 1rem;
  }
}
