/* Consultation Page Specific Styles */

/* Form Styling */
.consultation-form {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.consultation-form .card {
  border: none;
  border-radius: 15px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}

.form-control {
  border: 2px solid #e9ecef;
  border-radius: 10px;
  padding: 12px 15px;
  font-size: 16px;
  transition: all 0.3s ease;
  background-color: rgba(255, 255, 255, 0.9);
}

.form-control:focus {
  border-color: #bfa14c;
  box-shadow: 0 0 0 0.2rem rgba(191, 161, 76, 0.25);
  background-color: #fff;
  transform: translateY(-2px);
}

.form-label {
  font-weight: 600;
  color: #1d3557;
  margin-bottom: 8px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Enhanced Button Styling */
.cta-btn {
  background: linear-gradient(135deg, #bfa14c 0%, #a7893b 100%);
  border: none;
  border-radius: 10px;
  padding: 15px 30px;
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(191, 161, 76, 0.3);
  position: relative;
  overflow: hidden;
}

.cta-btn:hover {
  background: linear-gradient(135deg, #a7893b 0%, #8f6f2a 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(191, 161, 76, 0.4);
}

.cta-btn:active {
  transform: translateY(-1px);
}

/* Contact Info Sidebar */
.contact-sidebar {
  background: linear-gradient(135deg, #1d3557 0%, #2c5282 100%);
  border-radius: 15px;
  color: white;
  box-shadow: 0 10px 30px rgba(29, 53, 87, 0.3);
}

.contact-sidebar h5 {
  color: #bfa14c;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.contact-sidebar p {
  margin-bottom: 15px;
  line-height: 1.6;
}

.contact-sidebar a {
  color: #bfa14c;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.contact-sidebar a:hover {
  color: #fff;
  text-shadow: 0 0 10px rgba(191, 161, 76, 0.5);
}

/* Page Banner Enhancement */
.page-banner {
  background: linear-gradient(135deg, #1d3557 0%, #2c5282 50%, #3182ce 100%);
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.hero-title {
  position: relative;
  z-index: 2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  position: relative;
  z-index: 2;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Form Validation Styling */
.form-control.is-invalid {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.form-control.is-valid {
  border-color: #28a745;
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.invalid-feedback {
  color: #dc3545;
  font-size: 14px;
  margin-top: 5px;
}

.valid-feedback {
  color: #28a745;
  font-size: 14px;
  margin-top: 5px;
}

/* Loading Animation */
.btn-loading {
  position: relative;
  color: transparent !important;
}

.btn-loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  top: 50%;
  left: 50%;
  margin-left: -10px;
  margin-top: -10px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Success Message */
.success-message {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
  padding: 20px;
  border-radius: 10px;
  margin-top: 20px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  .consultation-form {
    margin: 0 10px;
  }
  
  .form-control {
    font-size: 16px; /* Prevents zoom on iOS */
  }
  
  .cta-btn {
    width: 100%;
    padding: 18px 30px;
  }
}

/* Professional Animations */
.fade-in {
  animation: fadeIn 0.8s ease-in-out;
}

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

.slide-in-left {
  animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-in-right {
  animation: slideInRight 0.8s ease-out;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
