.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    overflow-y: auto;
  }

  .modal-content {
    background-color: #fff;
    margin: 50px auto;
    padding: 30px;
    border-radius: 15px;
    max-width: 600px;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
  }

  @keyframes modalSlideIn {
    from {
      transform: translateY(-100px);
      opacity: 0;
    }

    to {
      transform: translateY(0);
      opacity: 1;
    }
  }

  .close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    color: var(--dark-color);
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
  }

  .close-modal:hover {
    background-color: var(--primary-color);
    color: white;
  }

  .modal-header {
    text-align: center;
    margin-bottom: 30px;
  }

  .modal .contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .modal .form-group {
    margin-bottom: 0;
  }

  .modal .form-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
  }

  .modal .form-input:focus {
    border-color: var(--primary-color);
    outline: none;
  }

  .modal .primary-btn {
    width: 100%;
    margin-top: 10px;
  }

  @media (max-width: 768px) {
    .modal-content {
      margin: 20px;
      padding: 20px;
    }
  }