/* ===============================
   CONTACT FORM PAGE - PROFESSIONAL STYLE
   =============================== */

/* Hero Section - Contact */
.hero {
  position: relative;
  padding: 140px 20px 100px;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #1e5cb3 100%);
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 15% 85%, rgba(30, 92, 179, 0.4) 0%, transparent 40%),
    radial-gradient(circle at 85% 15%, rgba(14, 165, 233, 0.25) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 60%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

/* Kicker - Small label above title */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.kicker-dot {
  width: 8px;
  height: 8px;
  background: #0ea5e9;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

.hero h1 {
  font-size: 52px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.15;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.hero-lead {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  max-width: 550px;
  margin: 0 auto;
}

/* Section Surface - Form Container */
.section.surface {
  padding: 80px 20px 120px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.section.surface .container {
  max-width: 900px;
  margin: 0 auto;
}

/* Form Styling */
.form.contact-form {
  background: #ffffff;
  padding: 50px 60px;
  border-radius: 20px;
  box-shadow: 
    0 25px 80px rgba(15, 23, 42, 0.08),
    0 10px 30px rgba(30, 92, 179, 0.06);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

/* Field Styling */
.field {
  display: flex;
  flex-direction: column;
}

.field label {
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}

.field input,
.field select,
.field textarea {
  padding: 16px 20px;
  border: 2px solid #e5eaf2;
  border-radius: 14px;
  font-size: 16px;
  font-family: "Inter", Arial, sans-serif;
  background: #fafbfc;
  color: #1e293b;
  transition: all 0.3s ease;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: #cbd5e1;
  background: #ffffff;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: #1e5cb3;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(30, 92, 179, 0.12);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #94a3b8;
}

.field select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 18px;
  padding-right: 50px;
}

.field textarea {
  min-height: 160px;
  resize: vertical;
  line-height: 1.7;
}

/* Multi-Select Custom Styling */
.multi-select {
  position: relative;
}

.multi-select-trigger {
  padding: 16px 20px;
  border-radius: 14px;
  border: 2px solid #e5eaf2;
  background: #fafbfc;
  cursor: pointer;
  font-size: 16px;
  font-family: "Inter", Arial, sans-serif;
  color: #1e293b;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.multi-select-trigger::after {
  content: "";
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  transition: transform 0.3s ease;
}

.multi-select:hover .multi-select-trigger {
  border-color: #cbd5e1;
  background: #ffffff;
}

.multi-select.open .multi-select-trigger {
  border-color: #1e5cb3;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(30, 92, 179, 0.12);
}

.multi-select.open .multi-select-trigger::after {
  transform: rotate(180deg);
}

.multi-select-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  background: #ffffff;
  border-radius: 14px;
  border: 2px solid #e5eaf2;
  box-shadow: 
    0 20px 50px rgba(15, 23, 42, 0.12),
    0 8px 20px rgba(30, 92, 179, 0.08);
  padding: 12px 16px;
  display: none;
  z-index: 100;
}

.multi-select.open .multi-select-dropdown {
  display: block;
  animation: dropdownFade 0.2s ease-out;
}

@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.multi-select-dropdown label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  cursor: pointer;
  border-radius: 10px;
  transition: all 0.2s ease;
  font-size: 15px;
  color: #334155;
  font-weight: 500;
}

.multi-select-dropdown label:hover {
  background: #f1f5f9;
}

.multi-select-dropdown input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #1e5cb3;
  cursor: pointer;
}

/* Form Actions */
.form-actions {
  margin-top: 40px;
  text-align: center;
}

.btn.btn-primary.btn-audit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 48px;
  background: linear-gradient(135deg, #1e5cb3 0%, #174a91 100%);
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 
    0 8px 25px rgba(30, 92, 179, 0.3),
    0 4px 10px rgba(30, 92, 179, 0.2);
  text-transform: none;
  letter-spacing: 0.3px;
}

.btn.btn-primary.btn-audit:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 15px 40px rgba(30, 92, 179, 0.35),
    0 8px 20px rgba(30, 92, 179, 0.25);
  background: linear-gradient(135deg, #2563eb 0%, #1e5cb3 100%);
}

.btn.btn-primary.btn-audit:active {
  transform: translateY(-1px);
}

/* Success Message */
.success-message {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border: 2px solid #6ee7b7;
  color: #065f46;
  padding: 20px 28px;
  border-radius: 14px;
  margin-bottom: 30px;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.success-message::before {
  content: "";
  width: 24px;
  height: 24px;
  background: #10b981;
  border-radius: 50%;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ===============================
   RESPONSIVE DESIGN
   =============================== */

@media (max-width: 768px) {
  .hero {
    padding: 100px 20px 70px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-lead {
    font-size: 17px;
  }

  .kicker {
    font-size: 12px;
    padding: 6px 16px;
  }

  .section.surface {
    padding: 50px 15px 80px;
  }

  .form.contact-form {
    padding: 35px 25px;
    border-radius: 16px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .field[style*="grid-column"] {
    grid-column: auto !important;
  }

  .field input,
  .field select,
  .field textarea,
  .multi-select-trigger {
    padding: 14px 16px;
    font-size: 15px;
  }

  .btn.btn-primary.btn-audit {
    width: 100%;
    padding: 16px 32px;
    font-size: 16px;
  }

  .form-actions {
    margin-top: 30px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 80px 15px 50px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero-lead {
    font-size: 15px;
  }

  .form.contact-form {
    padding: 25px 18px;
  }

  .field label {
    font-size: 13px;
  }

  .field input,
  .field select,
  .field textarea,
  .multi-select-trigger {
    padding: 12px 14px;
    font-size: 14px;
    border-radius: 10px;
  }

  .multi-select-dropdown label {
    padding: 10px 12px;
    font-size: 14px;
  }
}
