/* ============================================================
   DAC Contact Us — CSS
   Depends on: driver.css (--dac-* variables & base classes)
   ============================================================ */

/* ============================================================
   Hero Section
   ============================================================ */
.dac-driver-section .contact-hero {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 32px;
}

.dac-driver-section .contact-hero-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--dac-light);
  color: var(--dac);
  font-size: 26px;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.dac-driver-section .contact-hero h2 {
  color: var(--dac-text) !important;
  font-size: 28px !important;
  font-weight: 800 !important;
  margin: 0 0 8px !important;
  letter-spacing: -0.4px !important;
}

.dac-driver-section .contact-hero p {
  color: var(--dac-muted) !important;
  font-size: 15px !important;
  margin: 0 0 24px !important;
  max-width: 800px;
}

/* ============================================================
   Contact Grid Layout
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
  margin-bottom: 40px;
}

/* Info Card */
.contact-info-card {
  background: linear-gradient(135deg, #1449a5 0%, #0d3478 100%);
  color: #fff;
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 12px 32px rgba(20, 73, 165, 0.25);
  display: flex;
  flex-direction: column;
}

.contact-info-card h3 {
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
}

.contact-info-card p.text-muted {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 14px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 24px;
}

.info-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  transition: background 0.2s;
}

.info-item:hover .info-icon {
  background: rgba(255, 255, 255, 0.2);
}

.info-text {
  display: flex;
  flex-direction: column;
}

.info-text strong {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.info-text span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

/* Form Card */
.contact-form-card {
  background: #fff;
  border: 1px solid var(--dac-border);
  border-radius: 20px;
  padding: 32px 36px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

.contact-form-card h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--dac-text);
  margin-bottom: 24px;
  border-bottom: 2px solid #f0f2f7;
  padding-bottom: 16px;
}

.contact-form .form-label {
  color: #4a5568;
  font-size: 14px;
}

.contact-form .input-group-text {
  background: #f8fafc;
  border: 1px solid #eaedf4;
  border-right: 0;
  color: var(--dac-muted);
}

.contact-form .form-control {
  background: #f8fafc;
  border: 1px solid #eaedf4;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--dac-text);
  box-shadow: none !important;
  transition: border-color 0.2s, background 0.2s;
}

.contact-form .input-group .form-control {
  border-left: 0;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  padding-left: 0;
}

.contact-form .form-control:focus {
  background: #fff;
  border-color: var(--dac);
}

.contact-form .input-group-text.focused {
  background: #fff;
  border-color: var(--dac);
  color: var(--dac);
}

.contact-submit-btn {
  padding: 12px 28px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  border-radius: 12px !important;
  background: var(--dac) !important;
  border: none !important;
  box-shadow: 0 4px 12px rgba(36, 83, 166, 0.2) !important;
  transition: all 0.2s !important;
}

.contact-submit-btn:hover {
  background: var(--dac-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(36, 83, 166, 0.3) !important;
}

.contact-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.contact-submit-btn .spinner-border {
  width: 1rem;
  height: 1rem;
  border-width: 0.2em;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 991px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .contact-form-card {
    padding: 24px 20px;
  }
  
  .contact-info-card {
    padding: 24px 20px;
  }
}
