/* Navbar Book a Demo Modal */
.demo-btn {
  background: #2f5db3;
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.demo-btn:hover {
  background: #1f4fa3;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(47,93,179,0.3);
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  background: #fff;
  padding: 30px;
  width: 400px;
  max-width: 90%;
  border-radius: 12px;
  margin: 10% auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from { 
    opacity: 0; 
    transform: translateY(20px); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

.close {
  position: absolute;
  right: 15px;
  top: 15px;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover {
  color: #1f4fa3;
}

.modal h2 {
  color: #1f4fa3;
  margin-bottom: 20px;
  text-align: center;
}

.modal input,
.modal button.submit {
  width: 100%;
  padding: 14px;
  margin-bottom: 15px;
  border-radius: 8px;
  border: 2px solid #e2e8f0;
  font-size: 15px;
  font-family: inherit;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.modal input:focus {
  outline: none;
  border-color: #1f4fa3;
  box-shadow: 0 0 0 3px rgba(31,79,163,0.1);
}

.modal button.submit {
  background: #2f5db3;
  color: white;
  border: none;
  font-weight: 600;
  cursor: pointer;
}

.modal button.submit:hover {
  background: #1f4fa3;
  transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 480px) {
  .modal-content {
    margin: 20% auto;
    padding: 25px;
  }
  
  .modal h2 {
    font-size: 22px;
  }
}
