@font-face {
  font-family: Vazirmatn;
  src: local("Vazirmatn");
}

* {
  box-sizing: border-box;
  font-family: Vazirmatn, sans-serif;
  direction: rtl;
}

body {
  background: #f6f7fb;
}


.container-card {
  margin: 0 auto;
  background: none;
  width: 92%;
  border: 1px solid lightgray;
  box-shadow: 0 5px 15px 0 lightgray;
  border-radius: 15px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  overflow-x: scroll;
  scrollbar-width: none;

}

.card-items {
  background: none;
  width: 100%;
  border-radius: 15px;
  padding: 5px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  overflow-x: scroll;
  scrollbar-width: none;
}

.card {
  min-width: 300px;
  background: #fff;
  border-radius: 25px;
  padding: 24px;
  border: 1.8px solid #ededed;
}

.card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);

}

.card-header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 40px;
}

.card-header h2 {
  font-size: 18px;
  margin: 0 0 6px;
}


.status {
  margin-top: 8px;
  font-size: 13px;
}

.badge {
  background: #ffe7d0;
  color: #d97706;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  margin-right: 6px;
}

.icon-box {
  width: 100px;
  height: 100px;
  background: #e6fffa;
  border-radius: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 36px;
  border: 1px solid gray;
}

.icon-box img {
  width: 100%;
  height: 100%;
}

.price {
  margin: 24px 0;
  font-size: 20px;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
}

.price span {
  font-size: 14px;
  font-weight: normal;
  color: #666;
}

.specs {
  display: flex;
  text-align: center;
  gap: 7px;
  margin-bottom: 20px;
  width: 100%;
}

.spec {
  flex: 1;
  background: #f5f7fb;
  border-radius: 16px;
  padding: 14px;
  text-align: center;

  display: flex;
  flex-direction: column;


}

.spec strong {

  font-size: 13px;
  font-weight: 900;
  /* white-space: nowrap; */
}

.spec span {
  font-size: 10px;
  font-weight: 900;
  color: rgb(115, 115, 115);
  padding-top: 10px;

}

.features {
  width: 100%;
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.features li {

  padding-bottom: 5px;
  margin-bottom: 12px;
  position: relative;
  font-size: 14px;
  border-bottom: 1px solid lightgray;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.done {
  width: 20px;
  height: 20px;
}

.btn {
  width: 100%;
  border: none;
  background: #eef4ff;
  color: #2563eb;
  padding: 14px;
  font-size: 16px;
  border-radius: 16px;
  cursor: pointer;
}

.btn:hover {
  background: #dbeafe;
}









/* استایل علیرضا */

.modal-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.modal-overlay.active {
  display: flex;
}

.modal-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-container2 {
  display: none;


}

.modal-content2 {
  background: white;
  padding: 30px;
}

.modal-right2 {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.modal-content {
  display: flex;
  flex-direction: row !important;
  gap: 25px;
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  position: relative;
  width: 0;
  height: 0;
  opacity: 0;
  transform: translateY(100px) scale(0.5);
  padding: 0;
  transform-origin: center bottom;
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-content.active {
  width: 800px;
  height: auto;
  max-height: 80vh;
  opacity: 1;
  transform: translateY(0) scale(1);
  padding: 30px;
}

.modal-content.closing {
  width: 0;
  height: 0;
  opacity: 0;
  transform: translateY(100px) scale(0.5);
  padding: 0;
}



.modal-title {
  color: #4a6fa5;
  font-size: 20px;
  font-weight: bold;
}

.modal-title2 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  color: #4a6fa5;
  font-size: 20px;
  font-weight: bold;
}

.close-btn {
  background: #f8f9fa;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 20px;
  color: #666;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease 0.4s;
}

.modal-content.active .close-btn {
  opacity: 1;
  transform: scale(1);
}

.modal-content.closing .close-btn {
  opacity: 0;
  transform: scale(0.8);
  transition-delay: 0s;
}

.close-btn:hover {
  background: #ff6b6b;
  color: white;
  transform: rotate(90deg) scale(1.1);
}

.form-row {
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.modal-content.active .form-row {
  opacity: 1;
  transform: translateY(0);
}

.modal-content.closing .form-row {
  opacity: 0;
  transform: translateY(20px);
  transition-delay: 0s;
}

.modal-content.active .form-row:nth-child(1) {
  transition-delay: 0.35s;
}

.modal-content.active .form-row:nth-child(2) {
  transition-delay: 0.4s;
}

.modal-content.active .form-row:nth-child(3) {
  transition-delay: 0.45s;
}

.modal-content.active .form-row:nth-child(4) {
  transition-delay: 0.5s;
}

.form-label {
  display: block;
  color: #333;
  font-size: 14px;
  margin-bottom: 8px;
  font-weight: bold;
}

.form-input {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-size: 14px;
  background: white;
  transition: all 0.3s;
}

.form-input:focus {
  outline: none;
  border-color: #4a6fa5;
  box-shadow: 0 0 0 3px rgba(74, 111, 165, 0.1);
}

.time-options {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.time-option {
  flex: 1;
  display: flex;
  align-items: center;
}

.time-option input {
  display: none;
}

.time-option label {
  display: block;
  width: 100%;
  padding: 12px;
  text-align: center;
  background: #f8f9fa;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
  font-weight: 500;
}

.time-option input:checked+label {
  background: #4a6fa5;
  color: white;
  border-color: #4a6fa5;
}

.time-option label:hover {
  border-color: #4a6fa5;
}

.contact-box {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  margin-top: 30px;
  border-right: 4px solid #4a6fa5;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease 0.55s;
}

.modal-content.active .contact-box {
  opacity: 1;
  transform: translateY(0);
}

.modal-content.closing .contact-box {
  opacity: 0;
  transform: translateY(20px);
  transition-delay: 0s;
}

.contact-title {
  color: #4a6fa5;
  font-size: 16px;
  margin-bottom: 15px;
  font-weight: bold;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  font-size: 14px;
  color: #555;
}

.contact-item i {
  margin-left: 12px;
  color: #4a6fa5;
  width: 20px;
  text-align: center;
  font-size: 16px;
}

.submit-btn {
  background: #4a6fa5;
  color: white;
  border: none;
  width: 100%;
  padding: 16px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 25px;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(74, 111, 165, 0.3);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease 0.6s;
}

.modal-content.active .submit-btn {
  opacity: 1;
  transform: translateY(0);
}

.modal-content.closing .submit-btn {
  opacity: 0;
  transform: translateY(20px);
  transition-delay: 0s;
}

.submit-btn:hover {
  background: #3a5a8a;
}

/* برای موبایل */
@media (max-width: 600px) {
  .modal-content {
    padding: 25px 20px;
  }

  .modal-content.active {
    width: 90%;
  }


  .time-options {
    flex-direction: column;
  }

  .modal-title {
    font-size: 18px;
  }
}

/* افکت موج */
.modal-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at bottom, rgba(74, 111, 165, 0.1) 0%, transparent 70%);
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease 0.2s;
}

.modal-content.active::before {
  opacity: 1;
  animation: wave 0.8s ease-out;
}

@keyframes wave {
  0% {
    transform: scale(0.5);
    opacity: 0.5;
  }

  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.topic {
  font-size: 17px;
  font-weight: 600;
  padding: 5px 5px;
  color: #333;
}

.free {
  font-size: 13px;
  font-weight: 600;
  padding: 8px 8px;
  border-radius: 8px;
  height: 24px;
  min-width: 24px;
  color: #333;
  background-color: #c7fef7 !important;
  border-color: #05dbc1 !important;

}

.free2 {
  font-size: 13px;
  font-weight: 600;
  padding: 8px 8px;
  border-radius: 8px;
  height: 24px;
  min-width: 24px;
  color: #333;
  background-color: #c7fef7 !important;
  border-color: #05dbc1 !important;
  display: flex;
  justify-content: center;
  align-items: center;
}

.input-container {
  position: relative;
  margin-bottom: 30px;
}

.form-input {
  width: 100%;
  padding: 18px 15px 10px 15px;

  border: 2px solid #e0e0e0;
  border-radius: 16px;
  font-size: 16px;
  background: white;
  transition: all 0.3s;
  outline: none;
  color: #333;
  height: 50px;
}

/* لیبل شناور */
.form-label {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 13px;
  transition: all 0.3s;
  pointer-events: none;
  padding: 0 5px;
  background-color: white;
}

.form-input:focus+.form-label,
.form-input:not(:placeholder-shown)+.form-label {
  top: 0;
  font-size: 14px;
  color: #4a6fa5;
  transform: translateY(-8px);
}

/* تغییر استایل اینپوت در فوکوس */
.form-input:focus {
  border-color: #4a6fa5;
  box-shadow: 0 0 0 3px rgba(74, 111, 165, 0.1);
}

/* حالت پر شده */
.form-input:not(:placeholder-shown) {
  border-color: #4a6fa5;
}

.modal-right {
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.radio-row {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
}

.buttons {
  display: flex;
  gap: 30px;
  margin-top: 30px;
}

.buttons .button {
  padding: 15px;
  width: 226px;
  height: 48px;
  border-radius: 15px;
}

.buttons .type-2 {
  width: 126px;
  background-color: #e9f4ff;
  color: #036;
  border-color: #cce6ff;

}

.modal-left {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.modal-left .logo {
  width: 321px;
  height: 432px;
  background-color: #fff1d7;
  border: 1px solid #ffdd9b;
  border-radius: 20px;
}

.logo2 {
  width: 100px;
  height: 100px;
  background-color: #fff1d7;
  border: 1px solid #ffdd9b;
  border-radius: 20px;
}

.logo2 img {
  width: 100%;
  height: 100%;
  border-radius: 20px;
}

.modal-left .logo img {
  width: 100%;
  height: 100%;
  border-radius: 20px;
}

.modal-left .box-contact {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 320px;
  height: 144px;
  /* border: 1px solid blue; */
  padding: 16px;
  color: #515151;
  background-color: #f4f6fb;
  border-radius: 24px;
}

.modal-left .box-contact .box-row {
  width: 100%;
  display: flex;
  justify-content: space-between;
}


.consult-box {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 50px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  margin: 0 auto;
  width: 99%;

}

.consult-content {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;

}

.consult-content h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: #1f2937;
}

.consult-content p {
  font-size: 15px;
  line-height: 1.9;
  color: #4b5563;
  margin-bottom: 20px;
}

.consult-btn {
  background: #ffd98e;
  border: none;
  padding: 12px 26px;
  border-radius: 12px;
  font-size: 15px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: 0.3s;
  white-space: nowrap;
}

.consult-btn:hover {
  background: #ffcc70;
}

.consult-avatar {
  width: 120px;
  height: 120px;
  background: #ffe1a8;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eeeee {
  width: 100%;
  height: 100%;
  border-radius: 15px;
}

/* Tablet */
@media (max-width: 1024px) {
  .consult-content {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .onvan p {
    display: none;
  }

  .modal-container {
    display: none;
  }

  .modal-container2 {
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .modal-content2 {
    border-radius: 15px;
  }
}

@media (max-width: 768px) {
  .consult-box {
    padding: 20px;
  }

  .consult-content {

    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .consult-content h3 {
    font-size: 18px;
    margin-bottom: 12px;
  }

  /* مخفی شدن پاراگراف */
  .consult-content p {
    display: none;
  }

  /* دکمه بیاد زیر h2 */
  .consult-btn {
    order: 2;
    margin-top: 4px;
    padding: 10px 18px;
    font-size: 14px;
  }

  .consult-avatar {
    width: 150px;
    height: 100px;
  }


}

/* موبایل خیلی کوچیک */
@media (max-width: 480px) {

  .onvan h3 {
    font-weight: 400;
  }

  .consult-content {

    max-width: 65%;
  }

  .consult-btn {
    width: fit-content;
  }


  .container-card {
    width: 100%;
  }

  .modal-content2 {
    width: 82%;
  }

  button {
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
  }

}