/* ============================================================
   contact.css Page-specific styles for Contact Us
   DARPA SOLUTIONS LLC
   ============================================================ */

/* ── Contact Hero ─────────────────────────────────────────── */
.con-hero {
  background: #1e3a8a;
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}

.con-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.3;
}

.con-hero .hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.con-hero .section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: #93c5fd;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.con-hero h1 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 16px;
}

.con-hero p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 32px;
  line-height: 1.7;
}

.con-hero .contact-highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-highlight-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  gap: 14px;
  align-items: center;
  color: white;
  transition: var(--transition);
}

.contact-highlight-card:hover {
  background: rgba(255, 255, 255, 0.13);
}

.contact-highlight-card .h-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-highlight-card h4 {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
  font-weight: 600;
}

.contact-highlight-card p {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0;
}

/* ── Main Contact Layout ──────────────────────────────────── */
.con-layout {
  padding: 80px 0;
  background: #fff;
}

.con-layout .inner {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 48px;
  align-items: start;
}

/* Form Card */
.form-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.form-card h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}

.form-card > p {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 28px;
  line-height: 1.6;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
  outline: none;
  color: var(--text);
  background: #fff;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.10);
}

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

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' 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 12px center;
  padding-right: 40px;
}

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

.btn-submit {
  width: 100%;
  padding: 14px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  margin-top: 8px;
  cursor: pointer;
  border: none;
}

/* Info Sidebar */
.info-sidebar h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 24px;
}

.info-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  border-radius: 12px;
  border: 1px solid var(--border);
  margin-bottom: 12px;
  transition: var(--transition);
}

.info-card:hover {
  border-color: var(--primary-light);
  background: var(--bg-blue);
}

.info-icon-wrap {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--bg-blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.info-card h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
}

.info-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 0;
}

.office-blocks {
  margin-top: 24px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.office-block {
  padding: 16px 0;
}

.office-block + .office-block {
  border-top: 1px solid var(--border);
}

.office-block h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.office-block p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ── FAQ Section ──────────────────────────────────────────── */
.faq-section {
  background: var(--bg-light);
  padding: 80px 0;
}

.faq-section .sec-header {
  text-align: center;
  margin-bottom: 48px;
}

.faq-section .sec-header h2 {
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
}

.faq-section .sec-header p {
  font-size: 16px;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.faq-card {
  background: white;
  border-radius: 12px;
  padding: 24px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.faq-card:hover {
  border-color: var(--primary-light);
  box-shadow: 0 2px 12px rgba(30, 64, 175, 0.08);
}

.faq-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.4;
}

.faq-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 0;
}

.faq-q-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--bg-blue);
  color: var(--primary);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
  margin-right: 8px;
  flex-shrink: 0;
}

.faq-card h3 {
  display: flex;
  align-items: flex-start;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .con-hero .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .con-layout .inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .faq-grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-card {
    padding: 28px 20px;
  }
}

@media (max-width: 480px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .con-hero {
    padding: 56px 0;
  }

  .con-layout {
    padding: 56px 0;
  }

  .faq-section {
    padding: 56px 0;
  }
}
