
/* Contact Section */
.contact-info {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 15px;
  height: 100%;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  border-left: 4px solid var(--primary);
}

.contact-info h3 {
  color: var(--primary);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.contact-info h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--secondary);
  border-radius: 2px;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-item i {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 5px 15px rgba(46,125,50,0.2);
}

.contact-item div {
  flex: 1;
}

.contact-item h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0 0 0.3rem 0;
}

.contact-item p {
  margin: 0;
  color: #555;
}

.quick-contact-form {
  background: #fff;
  border-radius: 15px;
  height: 100%;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  border-left: 4px solid var(--secondary);
}

.quick-contact-form h3 {
  color: var(--primary);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.quick-contact-form h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--secondary);
  border-radius: 2px;
}

.form-control, .form-select {
  padding: 0.8rem 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.25rem rgba(46,125,50,0.15);
}

.form-control.is-invalid, .form-select.is-invalid {
  border-color: #dc3545;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control.is-invalid:focus, .form-select.is-invalid:focus {
  box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

.invalid-feedback {
  display: none;
  width: 100%;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: #dc3545;
  animation: fadeIn 0.3s;
}

.is-invalid ~ .invalid-feedback {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Validation success state */
.form-control.is-valid, .form-select.is-valid {
  border-color: #198754;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  padding: 0.8rem 2rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover, .btn-primary:focus {
  background-color: #1e8e3e;
  border-color: #1e8e3e;
  box-shadow: 0 5px 15px rgba(46,125,50,0.2);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
}

.alert {
  border-radius: 8px;
  padding: 1rem 1.25rem;
  border: none;
}

.alert-success {
  background-color: rgba(25, 135, 84, 0.1);
  color: #198754;
  border-left: 4px solid #198754;
}

.alert-danger {
  background-color: rgba(220, 53, 69, 0.1);
  color: #dc3545;
  border-left: 4px solid #dc3545;
}

.alert i {
  margin-right: 0.5rem;
}

/* Form Processing Effects */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(46,125,50,0.4); }
  70% { box-shadow: 0 0 0 10px rgba(46,125,50,0); }
  100% { box-shadow: 0 0 0 0 rgba(46,125,50,0); }
}

.btn-primary:disabled {
  background-color: #4caf50;
  border-color: #4caf50;
  opacity: 0.7;
}

/* Spinner button style */
.spinner-border-sm {
  width: 1rem;
  height: 1rem;
  margin-right: 0.5rem;
}

@media (max-width: 991.98px) {
  .intro-banner {
    flex-direction: column;
  }
  
  .intro-image {
    min-height: 200px;
    order: -1;
  }
  
  .client-card-modern {
    margin-bottom: 2rem;
  }
  
  .contact-info, .quick-contact-form {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .intro-content {
    padding: 1.5rem;
  }
  
  .client-icon-circle {
    width: 60px;
    height: 60px;
  }
  
  .client-icon-circle i {
    font-size: 1.8rem;
  }
  
  .client-card-header {
    padding: 1.5rem;
  }
  
  .client-card-body {
    padding: 1.5rem;
  }
  
  .cta-title {
    font-size: 1.5rem;
  }
  
  .cta-text {
    font-size: 1rem;
  }
}