.container.my-5 {
  perspective: 1000px;
}

/* Floating card wrapper */
.card {
  border: 2.5px dashed #ff1cc2;   /* 🎀 pink dashed border */
  border-radius: 1.5rem;
  background: linear-gradient(145deg, #ffffff, #ffd8e1);
  box-shadow: -10px 10px 0px #94daff;
  transform-style: preserve-3d;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  padding: 2.5rem;
  max-width: 720px;
  margin: 1.5rem auto;
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-10px) rotateX(5deg);
  box-shadow: -15px 15px 0px #94daff;
}

.card::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background:  #fffef8;
  z-index: -1;
  border-radius: 15px;
}

/* Float animation */
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(2deg); }
}

/* Heading */
h2 {
  color: #7259b6 !important;   /* purple heading */
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 2rem !important;
  position: relative;
  display: inline-block;
}

/* Labels */
.form-label {
  color: #574f7d;
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 0.7rem;
  transition: color 0.3s ease;
}

/* Inputs */
.form-control {
  border-radius: 0.75rem;
  border: 2px solid #ddd;       /* neutral solid by default */
  padding: 0.75rem 1rem;
  font-size: 1.1rem;
  background-color: hsl(0, 0%, 100%);    /* 🌼 soft off-white */
  transition: all 0.3s ease;
  box-shadow: inset 2px 2px 5px rgba(0,0,0,0.05);
}

.form-control:focus {
  border: 2px solid #417ac3;    /* 🔵 solid blue focus */
  box-shadow: 0 0 0 3px rgba(65, 122, 195, 0.25);
  transform: scale(1.02);
}

/* Textarea gets pure white background */
textarea.form-control {
  min-height: 180px;
  background-color: #ffffff;
}
textarea.form-control:focus {
  min-height: 200px;
}

/* Buttons */
.btn-primary {
  background: #6bb9ff;          /* 🌊 light blue */
  color: #ffffff;               /* white text for contrast */
  border: none;
  border-radius: 0.75rem;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(107, 185, 255, 0.4);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  background: #4a9eff;          /* darker blue hover */
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(107, 185, 255, 0.6);
}

.btn-primary:active {
  transform: translateY(0) scale(0.95);
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: all 0.6s ease;
}

.btn-primary:hover::before {
  left: 100%;
}
