body {
  font-family: 'Vazir', 'Tahoma', sans-serif;
  direction: rtl;
 background: linear-gradient(to bottom right, #d0e1f4, #6cb7f0);
  margin: 0;
  padding: 40px;
  color: #2c3e50;
}

.container {
  max-width: 800px;
  margin: auto;
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

h1 {
  text-align: center;
  margin-bottom: 30px;
  color: #34495e;
}

.profile {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 40px;
}

.profile img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.info h2 {
  margin: 0;
  font-size: 1.5rem;
  color: #2c3e50;
}

.info p {
  margin: 6px 0;
  font-size: 1rem;
}

.info a {
  color: #3498db;
  text-decoration: none;
}

.info a:active {
  color: #1c7fb6;
}

.social a {
  display: inline-block;
  margin-right: 10px;
  margin-top: 10px;
  background-color: #3498db;
  color: white;
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.social a:hover {
  background-color: #2980b9;
}

.social a:active {
  background-color: #1c7fb6;
}

.contact-form {
  margin-top: 20px;
}

.contact-form h2 {
  margin-bottom: 20px;
  color: #34495e;
  text-align: center;
}

label {
  display: block;
  margin-top: 15px;
  font-weight: bold;
  font-size: 1rem;
}

input, select, textarea {
  width: 100%;
  padding: 12px;
  margin-top: 6px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 1rem;
  box-sizing: border-box}

  button {
  width: 100%;
  background-color: #2ecc71; /* سبز روشن‌تر */
  color: white;
  font-weight: bold;
  border: none;
  padding: 18px; /* بزرگ‌تر از قبل */
  margin-top: 30px;
  margin-bottom: 15px;
  border-radius: 12px;
  font-size: 1.2rem; /* فونت بزرگ‌تر */
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover {
  background-color: #27ae60; /* سبز تیره‌تر هنگام هاور */
  transform: scale(1.02); /* کمی بزرگ‌تر هنگام هاور */
}
/* 📱 گوشی‌های کوچک تا متوسط: 360px تا 480px */
@media (max-width: 480px) {
  body {
    padding: 20px;
  }

  .container {
    padding: 20px;
  }

  .profile {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .profile img {
    width: 120px;
    height: 120px;
  }

  .info h2 {
    font-size: 1.2rem;
  }

  .info p {
    font-size: 0.9rem;
  }

  button {
    font-size: 1rem;
    padding: 14px;
  }
}

/* 📱 گوشی‌های 6 اینچی: 481px تا 767px */
@media (min-width: 481px) and (max-width: 767px) {
  .profile {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .profile img {
    width: 130px;
    height: 130px;
  }

  .info h2 {
    font-size: 1.3rem;
  }

  button {
    font-size: 1.1rem;
    padding: 16px;
  }
}

/* 💻 تبلت و لپ‌تاپ کوچک: 768px تا 1199px */
@media (min-width: 768px) and (max-width: 1199px) {
  .container {
    padding: 25px;
  }

  .profile img {
    width: 140px;
    height: 140px;
  }

  .info h2 {
    font-size: 1.4rem;
  }

  button {
    font-size: 1.2rem;
    padding: 18px;
  }
}

/* 🖥️ دسکتاپ بزرگ و تلویزیون: 1200px تا 3840px */
@media (min-width: 1200px) {
  .container {
    max-width: 1000px;
  }

  .profile img {
    width: 160px;
    height: 160px;
  }

  .info h2 {
    font-size: 1.6rem;
  }

  button {
    font-size: 1.3rem;
    padding: 20px;
  }
}
/* __________________________________________________________________ */
/* سربرگ و فوتر  */
/* 🔹 ناوبری */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgb(17, 46, 80);
  padding: 12px 0;
  direction: rtl;
  font-family: 'Tahoma', sans-serif;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}


.nav-menu {
  display: flex;
  justify-content: center;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li a {
  background-color: #84abd5;
  color: #333;
  padding: 8px 10px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.nav-menu li a:hover {
  background-color: #dcdcdc;
  color: #000;
}

/* 🔹 فوتر */
.site-footer {
  background-color: #0b2139;
  color: #fff;
  padding: 30px 20px 15px;
  margin-top: 40px;
  font-size: 0.95rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.footer-section {
  flex: 1;
  min-width: 220px;
}

.footer-section h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #84abd5;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #84abd5;
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  border-top: 1px solid #4470a1;
  padding-top: 10px;
  font-size: 0.9rem;
  color: #ccc;
}


