/* ========================================
   CONTACT FORM - STUNNING EFFECTS
======================================== */

/* Contact Section Animations */
#contact-form {
  overflow: hidden;
  position: relative;
}

#contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.98) 100%);
  z-index: 1;
}

/* Contact Info Icons */
.contact-info-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.contact-info-icon i {
  font-size: 20px;
  color: white;
  transition: all 0.3s ease;
}

.contact-info-icon:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.4);
}

.contact-info-icon:hover i {
  transform: rotate(10deg);
}

/* Form Card Effects */
.card {
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15) !important;
}

/* Form Inputs */
.form-control, select {
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 20px;
  font-size: 1rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}

.form-control:focus, select:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.15);
  transform: translateY(-2px);
  background: white;
  outline: none;
}

.form-control::placeholder {
  color: #94a3b8;
  font-weight: 500;
}

/* Labels */
.form-label {
  position: relative;
  color: #1e293b;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-label::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.form-label:hover::after {
  width: 60px;
}

/* Submit Button */
.submit-btn {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.submit-btn::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: left 0.6s;
}

.submit-btn:hover::before {
  left: 100%;
}

.submit-btn:hover .btn-text {
  transform: translateX(8px);
}

.submit-btn:active {
  transform: scale(0.98);
}

/* Floating Animation Elements */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.contact-info-icon {
  animation: float 6s ease-in-out infinite;
}

/* Scroll Reveal Animations */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.contact-left {
  animation: slideInLeft 0.8s ease-out;
}

.contact-right {
  animation: slideInRight 0.8s ease-out 0.2s both;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-info-icon {
    margin-bottom: 15px;
    margin-right: 0;
  }
  
  .d-flex {
    flex-direction: column;
    text-align: center;
  }
}

/* Loading Animation */
.spinner-border {
  width: 1.2rem;
  height: 1.2rem;
}

.btn-loading {
  transition: all 0.3s ease;
}

/* Success/Error Messages */
.alert {
  border: none;
  border-radius: 12px;
  animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}