/* ═══════════════════════════════════════════════
   ELITE TECH-INNOVATIONS — contact.css
   Contact page specific styles
═══════════════════════════════════════════════ */


/* PAGE HERO — identical background to home hero */
.page-hero {
  min-height: min(100vh, 860px);
  padding: 0 48px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-bottom: 80px;
  position: relative; z-index: 2;
  background: var(--bg);
  overflow: hidden;
}

/* Same grid lines as home */
.page-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border2) 1px, transparent 1px),
    linear-gradient(90deg, var(--border2) 1px, transparent 1px);
  background-size: 64px 64px;
}

/* Animated neural nodes — same as home */
.hero-nodes { position: absolute; inset: 0; pointer-events: none; }

/* Orb rings — exact copy from home */
.page-hero-orb {
  position: absolute;
  right: -120px; top: 50%; transform: translateY(-50%);
  width: 700px; height: 700px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.page-hero-orb::before {
  content: '';
  width: 500px; height: 500px;
  border-radius: 50%; border: 1px solid var(--border);
  position: absolute;
}
.page-hero-orb::after {
  content: '';
  width: 300px; height: 300px;
  border-radius: 50%; border: 1px solid var(--border);
  position: absolute;
}
.orb-core {
  width: 120px; height: 120px; border-radius: 50%;
  background: var(--blue); opacity: 0.07;
  animation: pulse-orb 4s ease-in-out infinite;
}
@keyframes pulse-orb { 0%,100%{transform:scale(1);opacity:0.07} 50%{transform:scale(1.2);opacity:0.14} }

/* Floating dot nodes — animated like home */
.hero-node {
  position: absolute; width: 5px; height: 5px;
  background: var(--blue); border-radius: 50%;
  opacity: 0; animation: nodeAppear 4s ease-in-out infinite;
}
@keyframes nodeAppear { 0%,100%{opacity:0;transform:scale(0)} 50%{opacity:0.55;transform:scale(1)} }
.hero-conn {
  position: absolute; height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: 0; transform-origin: left;
  animation: lineFlow 3s ease-in-out infinite;
}
@keyframes lineFlow { 0%,100%{opacity:0;transform:scaleX(0)} 40%,60%{opacity:0.22;transform:scaleX(1)} }

.page-hero-inner {
  position: relative; z-index: 1;
  max-width: 820px;
}

/* Breadcrumb floats at top like the home hero-badge */
.breadcrumb {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); border: 1px solid var(--border);
  padding: 6px 14px; border-radius: 100px;
  font-size: 12px; color: var(--muted2);
  font-weight: 500;
  position: absolute; top: 80px; left: 48px;
}
.breadcrumb a { color: var(--muted2); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb-sep { color: var(--muted2); opacity: 0.4; }
.breadcrumb span { color: var(--ink2); font-weight: 600; }

.section-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600;
  color: var(--blue); letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 20px;
}
.section-tag::before { content:''; width:20px; height:1.5px; background:var(--blue); }

/* h1 — exact same as home */
.page-hero h1 {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: clamp(56px, 7vw, 108px);
  font-weight: 900; line-height: 0.92;
  letter-spacing: -4px; color: var(--ink);
  margin-bottom: 0;
}
.page-hero h1 .line2 { color: var(--blue); }
.page-hero h1 .line3 {
  -webkit-text-stroke: 1.5px var(--ink);
  color: transparent;
}

/* Bottom bar — desc + scroll hint like home */
.page-hero-bottom {
  position: relative; z-index: 1;
  margin-top: 40px;
  display: flex; align-items: flex-end; justify-content: space-between;
}
.page-hero p {
  font-size: 15px; color: var(--muted);
  line-height: 1.7; max-width: 400px; font-weight: 400;
}
.scroll-hint {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; color: var(--muted2);
  letter-spacing: 2px; text-transform: uppercase;
}
.scroll-hint::before { content:''; width:32px; height:1px; background:var(--blue); opacity:0.5; }

/* MAIN CONTENT */
.contact-wrap {
  position: relative; z-index: 2;
  padding: 80px 48px 100px;
  background: rgba(245,244,240,0.72);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

/* ── INFO COLUMN ── */
.contact-info { display: flex; flex-direction: column; gap: 20px; }

.info-card {
  background: var(--white);
  border: 1px solid var(--border2);
  border-radius: 18px;
  padding: 28px 32px;
  display: flex; align-items: flex-start; gap: 20px;
  transition: all 0.3s;
  text-decoration: none; color: inherit;
}
.info-card:hover {
  border-color: var(--border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.07);
  transform: translateY(-2px);
}
.info-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: var(--blue-pale);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  transition: all 0.3s;
}
.info-card:hover .info-icon { background: var(--blue); }
.info-card:hover .info-icon svg path { fill: #fff; }
.info-body {}
.info-label {
  font-size: 11px; font-weight: 700;
  color: var(--muted2); text-transform: uppercase;
  letter-spacing: 1.2px; margin-bottom: 6px;
}
.info-value {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 17px; font-weight: 700;
  color: var(--ink); letter-spacing: -0.3px;
  line-height: 1.3;
}
.info-sub { font-size: 13px; color: var(--muted); margin-top: 3px; }

/* Map embed */
.map-card {
  background: var(--white);
  border: 1px solid var(--border2);
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.3s;
}
.map-card:hover { border-color: var(--border); box-shadow: 0 8px 32px rgba(0,0,0,0.07); }
.map-card iframe {
  width: 100%; height: 220px;
  display: block; border: none; filter: saturate(0.7) contrast(1.05);
}
.map-footer {
  padding: 16px 20px;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--border2);
}
.map-addr {
  font-size: 13px; color: var(--muted); font-weight: 500;
  display: flex; align-items: center; gap: 6px;
}
.map-link {
  font-size: 12px; font-weight: 600;
  color: var(--blue); text-decoration: none;
  display: flex; align-items: center; gap: 4px;
  transition: gap 0.2s;
}
.map-link:hover { gap: 7px; }

/* Social row */
.social-row { display: flex; gap: 10px; }
.social-btn {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--white); border: 1px solid var(--border2);
  border-radius: 12px; padding: 14px;
  font-size: 13px; font-weight: 600; color: var(--muted);
  text-decoration: none; transition: all 0.25s; cursor: pointer;
}
.social-btn:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-pale); }

/* ── FORM COLUMN ── */
.form-card {
  background: var(--white);
  border: 1px solid var(--border2);
  border-radius: 20px;
  padding: 48px;
  position: sticky; top: 84px;
}
.form-header { margin-bottom: 36px; }
.form-header .section-tag { margin-bottom: 14px; }
.form-header h2 {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 32px; font-weight: 900;
  letter-spacing: -1.2px; color: var(--ink);
  line-height: 1.1; margin-bottom: 10px;
}
.form-header p { font-size: 14px; color: var(--muted); line-height: 1.6; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; display: flex; flex-direction: column; gap: 7px; }
.form-group.full { grid-column: 1 / -1; }
.form-label {
  font-size: 12px; font-weight: 600;
  color: var(--ink2); letter-spacing: 0.3px;
  text-transform: uppercase;
}
.form-input, .form-select, .form-textarea {
  background: var(--bg);
  border: 1.5px solid var(--border2);
  border-radius: 10px;
  padding: 13px 16px;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 14px; color: var(--ink);
  transition: all 0.25s;
  outline: none; width: 100%;
  -webkit-appearance: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--muted2); }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(26,59,204,0.08);
}
.form-textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.form-select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237A7971' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }

/* Subject chips */
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 7px 16px; border-radius: 100px;
  border: 1.5px solid var(--border2);
  font-size: 13px; font-weight: 500; color: var(--muted);
  cursor: pointer; transition: all 0.2s; background: var(--bg);
  user-select: none;
}
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.selected { background: var(--blue); border-color: var(--blue); color: #fff; }

/* Submit */
.btn-submit {
  width: 100%; padding: 16px;
  background: var(--ink); color: var(--white);
  border: none; border-radius: 100px;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 15px; font-weight: 600;
  cursor: pointer; transition: all 0.25s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 8px;
}
.btn-submit:hover { background: var(--blue); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(26,59,204,0.25); }
.btn-submit .arrow { transition: transform 0.2s; }
.btn-submit:hover .arrow { transform: translateX(4px); }

/* Success state */
.form-success {
  display: none; text-align: center; padding: 40px 20px;
}
.form-success.show { display: block; }
.success-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(26,59,204,0.08);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; font-size: 28px;
}
.success-title {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 24px; font-weight: 800;
  color: var(--ink); margin-bottom: 10px; letter-spacing: -0.5px;
}
.success-sub { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* Divider */
.form-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 20px 0;
}
.form-divider::before, .form-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border2);
}
.form-divider span { font-size: 12px; color: var(--muted2); font-weight: 500; white-space: nowrap; }

/* FOOTER */
footer {
  position: relative; z-index: 2;
  background: rgba(15,15,13,0.95);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 64px 48px 36px;
}
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 56px; margin-bottom: 52px; }
.footer-logo {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 900; font-size: 17px; color: #fff;
  letter-spacing: -0.5px; margin-bottom: 14px;
  display: flex; align-items: center; gap: 6px;
}
.footer-about { font-size: 13.5px; color: rgba(255,255,255,0.4); line-height: 1.7; margin-bottom: 22px; }
.footer-contact-row { display: flex; flex-direction: column; gap: 8px; }
.footer-contact-item { font-size: 13px; color: rgba(255,255,255,0.4); display: flex; align-items: flex-start; gap: 10px; }
.footer-contact-item .contact-icon { flex: 0 0 16px; width: 16px; text-align: center; line-height: 1.7; }
.footer-contact-item span { color: rgba(255,255,255,0.7); }
.footer-col-h { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.3); margin-bottom: 18px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 13.5px; color: rgba(255,255,255,0.45); text-decoration: none; transition: color 0.2s; font-weight: 500; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.2); }

/* ANIMATIONS */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

/* ═══ RESPONSIVE ═══ */
@media (max-width:1100px) {
  .contact-wrap { padding:64px 32px 80px; }
  .contact-grid { grid-template-columns:1fr; gap:40px; }
  .form-card { position:static; padding:36px; }
  .breadcrumb { left: 32px; }
}
@media (max-width:860px) {
  .page-hero { min-height:auto; padding:130px 20px 48px; justify-content:flex-start; }
  .breadcrumb { left: 20px; }
  .page-hero-orb { display:none; }
  .page-hero-bottom { flex-direction:column; align-items:flex-start; gap:20px; }
  .contact-wrap { padding:56px 20px 64px; }
  .info-card { padding:22px 20px; gap:16px; }
  .social-row { flex-wrap:wrap; }
  .social-btn { min-width:calc(50% - 5px); flex:none; }
  .form-card { padding:28px 22px; border-radius:16px; }
  .form-row { grid-template-columns:1fr; gap:0; }
  footer { padding:48px 20px 24px; }
  .footer-top { grid-template-columns:1fr; gap:32px; }
  .footer-bottom { flex-direction:column; gap:12px; text-align:center; }
}
@media (max-width:480px) {
  .breadcrumb { left: 16px; top: 76px; font-size: 11px; padding: 5px 12px; }
  .form-header h2 { font-size:26px; }
  .info-icon { width:42px; height:42px; }
}