/* ============================================
   Contact Hero
   ============================================ */
.contact-hero {
  padding: 100px 0 40px;
  background: linear-gradient(180deg, #0a0c10 0%, #111318 100%);
  text-align: center;
}

.contact-title {
  font-size: 42px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.contact-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   Contact Section
   ============================================ */
.contact-section {
  padding: 40px 0 80px;
  background: #111318;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
}

/* ============================================
   Contact Form
   ============================================ */
.contact-form-wrapper {
  background: #1a1d24;
  border-radius: 16px;
  padding: 40px;
}

.form-title {
  font-size: 24px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 8px;
}

.form-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 32px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}

.form-group .required {
  color: #ef4444;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #ffffff;
  font-size: 14px;
  font-family: inherit;
  transition: all 0.3s ease;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #2563EB;
  background: rgba(37, 99, 235, 0.1);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23ffffff' viewBox='0 0 256 256'%3E%3Cpath d='M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,170.69l74.34-80.35a8,8,0,0,1,11.32,11.32Z'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group select option {
  background: #1a1d24;
  color: #ffffff;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

.contact-form .btn-primary {
  background: #2563EB;
  border-color: #2563EB;
}

.contact-form .btn-primary:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
}

.contact-form .btn-primary iconify-icon {
  font-size: 20px;
}

/* ============================================
   Contact Info
   ============================================ */
.contact-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-card,
.qrcode-card {
  background: #1a1d24;
  border-radius: 16px;
  padding: 28px;
}

.info-title {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 24px;
}

.info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.info-item:last-child {
  margin-bottom: 0;
}

.info-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.15);
  border-radius: 10px;
  flex-shrink: 0;
}

.info-icon iconify-icon {
  font-size: 22px;
  color: #2563EB;
}

.info-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
}

.info-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.info-value {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}

/* QRCode Card */
.qrcode-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 20px;
}

.qrcode-wrapper {
  display: flex;
  justify-content: center;
}

.qrcode-image {
  width: 160px;
  height: 160px;
  border-radius: 12px;
  object-fit: contain;
}

.qrcode-placeholder {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 160px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.15);
}

.qrcode-icon {
  font-size: 48px;
  color: rgba(255, 255, 255, 0.2);
  margin-bottom: 8px;
}

.qrcode-placeholder span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

/* ============================================
   Map Section
   ============================================ */
.map-section {
  padding: 0 0 80px;
  background: #111318;
}

.map-placeholder {
  height: 300px;
  background: linear-gradient(135deg, #1a1d24 0%, #252a33 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.map-content {
  text-align: center;
}

.map-icon {
  font-size: 64px;
  color: rgba(255, 255, 255, 0.15);
  margin-bottom: 16px;
}

.map-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
}

.map-content p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
}

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

  .contact-info-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .contact-title {
    font-size: 32px;
  }

  .contact-form-wrapper {
    padding: 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-info-wrapper {
    grid-template-columns: 1fr;
  }

  .qrcode-card {
    grid-column: span 1;
  }

  .map-placeholder {
    height: 200px;
  }
}
