/*
 * Contact Page - Premium Redesign
 * Smaller, pleasant, experiential, fun to fill
 * Dark backgrounds, animations, high-level UX
 */

/* Dark wrapper - full section background */
.contact-section {
  background: linear-gradient(160deg, #0f172a 0%, #1e3a5f 40%, #1e40af 100%) !important;
  padding: 50px 0 70px !important;
  position: relative;
  overflow: hidden;
}

/* Subtle pattern overlay */
.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

/* Compact container - smaller max-width */
.contact-section .container {
  max-width: 900px;
  position: relative;
  z-index: 1;
}

/* Form + Info card - single compact card */
.contact-section .row {
  align-items: stretch;
}

/* Form wrap - compact, glass effect */
.contact-form-wrap {
  background: rgba(255, 255, 255, 0.97) !important;
  border-radius: 20px !important;
  padding: 32px 36px !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255,255,255,0.1) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form-wrap:hover {
  transform: translateY(-2px);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.45) !important;
}

.contact-form-wrap h2 {
  font-size: 1.5rem !important;
  color: var(--dark-color) !important;
  margin-bottom: 0.5rem !important;
}

.contact-form-wrap .text-muted {
  font-size: 0.9rem;
  margin-bottom: 1.25rem !important;
}

/* Form inputs - pleasant, animated focus */
.contact-form .form-control,
.contact-form .form-select {
  border: 2px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 12px 16px !important;
  transition: all 0.25s ease !important;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15) !important;
  transform: translateY(-1px);
}

.contact-form .form-control:hover,
.contact-form .form-select:hover {
  border-color: #cbd5e1;
}

/* Textarea */
.contact-form textarea.form-control {
  min-height: 100px !important;
  resize: vertical;
}

/* Submit button - fun, animated */
.contact-form .custom-btn {
  border-radius: 12px !important;
  padding: 14px 24px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
  position: relative;
  overflow: hidden;
}

.contact-form .custom-btn:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.4) !important;
}

.contact-form .custom-btn:active {
  transform: translateY(-1px);
}

/* Contact info wrap - compact cards */
.contact-info-wrap {
  background: rgba(255, 255, 255, 0.97) !important;
  border-radius: 20px !important;
  padding: 32px 36px !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255,255,255,0.1) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-wrap:hover {
  transform: translateY(-2px);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.45) !important;
}

.contact-info-wrap h2 {
  font-size: 1.5rem !important;
  margin-bottom: 0.5rem !important;
}

.contact-info-wrap .text-muted {
  font-size: 0.9rem;
  margin-bottom: 1.25rem !important;
}

/* Contact cards - compact, animated */
.contact-info-cards {
  gap: 12px !important;
}

.contact-info-card {
  padding: 14px 18px !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease !important;
}

.contact-info-card:hover {
  transform: translateX(6px) !important;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%) !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15) !important;
  border-color: rgba(37, 99, 235, 0.3);
}

.contact-info-icon {
  width: 44px !important;
  height: 44px !important;
  border-radius: 12px !important;
  transition: transform 0.3s ease;
}

.contact-info-card:hover .contact-info-icon {
  transform: scale(1.08);
}

/* Quick CTA - compact, eye-catching */
.quick-contact-cta {
  margin-top: 20px;
  padding: 18px 20px;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-radius: 14px;
  border: 1px solid #fcd34d;
  transition: all 0.3s ease;
}

.quick-contact-cta:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.25);
}

.quick-contact-cta h5 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.quick-contact-cta p {
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.quick-contact-cta .custom-btn {
  padding: 10px 18px;
  font-size: 0.9rem;
}

/* Map section - darker background */
.map-section {
  background: #0f172a !important;
  padding: 50px 0 !important;
}

.map-section h2 {
  color: #ffffff !important;
}

.map-section .text-muted {
  color: rgba(255, 255, 255, 0.7) !important;
}

.map-container.contact-map {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Responsive - even more compact on mobile */
@media (max-width: 991px) {
  .contact-section .container {
    max-width: 100%;
  }
  
  .contact-form-wrap,
  .contact-info-wrap {
    padding: 24px 20px !important;
  }
}

@media (max-width: 768px) {
  .contact-section {
    padding: 30px 0 50px !important;
  }
  
  .contact-form-wrap,
  .contact-info-wrap {
    padding: 20px 16px !important;
  }
  
  .contact-form-wrap h2,
  .contact-info-wrap h2 {
    font-size: 1.25rem !important;
  }
}
