.lawyer-modal-btn-opener {
  border-radius: 12px;
  width: 140px;
  height: 45px;
  margin: 10px;
  display: inline-block;
  cursor: pointer;
  background-color: #2563eb;
  color: #fff;
  border: none;
  font-size: 16px;
  transition: all 0.3s ease;
}

.lawyer-modal-btn-opener:hover {
  background-color: #1e40af;
}

.lawyer-modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  z-index: 1000;
}

.lawyer-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lawyer-modal-content {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  width: 90%;
  max-width: 700px;
  max-height: 85vh;
  overflow-y: auto;
  text-align: right;
  position: relative;
  animation: fadeInUp 0.4s ease;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  scrollbar-width: none;
}

.lawyer-modal-content::-webkit-scrollbar {
  display: none;
}

.lawyer-modal-close {
  position: absolute;
  top: 15px;
  left: 15px;
  font-size: 28px;
  cursor: pointer;
  color: #6b7280;
  transition: color 0.3s ease;
}

.lawyer-modal-close:hover {
  color: #111827;
}

.lawyer-modal-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e5e7eb;
}

.lawyer-modal-header img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #e5e7eb;
}

.lawyer-modal-header h3 {
  font-size: 24px;
  color: #111827;
  margin-bottom: 5px;
}

.lawyer-modal-header p {
  font-size: 16px;
  color: #6b7280;
}

.lawyer-modal-section {
  margin-bottom: 18px;
  line-height: 1.8;
  font-size: 16px;
  color: #374151;
}

.lawyer-modal-section b {
  color: #1e3a8a;
  font-weight: 600;
}

.lawyer-modal-section a {
  color: #2563eb;
  text-decoration: none;
  transition: color 0.3s ease;
}

.lawyer-modal-section a:hover {
  color: #1e40af;
  text-decoration: underline;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 15px;
  font-size: 14px;
}

.social-links i {
  font-size: 18px;
  color: #2563eb;
}

.cta-button {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background-color: #1e3a8a;
  color: #fff;
  border-radius: 12px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: #1e40af;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

@keyframes fadeInUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ریسپانسیو */
@media (max-width: 768px) {
  .lawyer-modal-content {
    width: 95%;
    padding: 20px;
  }

  .lawyer-modal-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .lawyer-modal-header img {
    width: 80px;
    height: 80px;
  }

  .lawyer-modal-header h3 {
    font-size: 20px;
  }

  .lawyer-modal-section {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .lawyer-modal-content {
    padding: 15px;
    max-height: 90vh;
  }

  .lawyer-modal-header img {
    width: 60px;
    height: 60px;
  }

  .lawyer-modal-header h3 {
    font-size: 18px;
  }

  .lawyer-modal-section {
    margin-bottom: 12px;
    font-size: 13px;
  }

  .cta-button {
    width: 100%;
    text-align: center;
  }
}
