/* ===========================================
   Contact Page — Nightfall+FX Theme
   =========================================== */

body.dark {
  --bg:#0b1220;
  --card:#0f172a;
  --ink:#e9f1ff;
  --muted:#9fb2d7;
  --line:rgba(255,255,255,.1);

  margin:0;
  background: linear-gradient(180deg, var(--bg), #0d1628);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* ---------- Header ---------- */
.vc-header {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:12px 20px;
  background:var(--card);
  border-bottom:1px solid var(--line);
}

.vc-header .logo {
  font-weight:700;
  font-size:18px;
  color:var(--ink);
}

/* remove nav since we now use Back button only */
.vc-header nav { display:none; }

/* ---------- Hero ---------- */
.hero {
  text-align:center;
  padding:48px 20px 32px;
}
.hero h1 {
  font-size:clamp(26px,4.5vw,40px);
  margin:0 0 10px;
  font-weight:800;
}
.hero p {
  color:var(--muted);
  margin:0;
}

/* ---------- Contact Grid ---------- */
.contact-grid {
  max-width:1000px;
  margin:32px auto;
  padding:0 20px;
  display:grid;
  gap:22px;
}
@media (min-width:860px){
  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
  }
}

/* ---------- Info Card ---------- */
.info-card {
  background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  border:1px solid var(--line);
  border-radius:14px;
  padding:20px;
  box-shadow:0 18px 40px rgba(0,0,0,.35);
}
.info-card h2 {
  margin:0 0 14px;
  font-size:20px;
  font-weight:700;
}
.info-list {
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:12px;
  font-size:15px;
}
.info-list li {
  display:grid;
  grid-template-columns:100px 1fr;
  gap:8px;
}
.info-list .tl { color:var(--muted); font-weight:600; }
.info-list .tr a { color:var(--ink); text-decoration:none; }
.info-list .tr a:hover { text-decoration:underline; }

/* Map Embed */
.map.shell {
  margin-top:16px;
  border-radius:12px;
  overflow:hidden;
  border:1px solid var(--line);
}
.map iframe {
  width:100%;
  height:220px;
  border:0;
}

/* ---------- Form Card ---------- */
.form-card {
  background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  border:1px solid var(--line);
  border-radius:14px;
  padding:20px;
  box-shadow:0 18px 40px rgba(0,0,0,.35);
}
.form-card h2 {
  margin:0 0 14px;
  font-size:20px;
  font-weight:700;
}

.form-card .row {
  display:grid;
  gap:16px;
  margin-bottom:16px;
}
@media(min-width:600px){
  .form-card .row {
    grid-template-columns:1fr 1fr;
  }
}

label.fl {
  display:flex;
  flex-direction:column;
  gap:6px;
  font-size:14px;
  color:var(--muted);
}
label.fl input,
label.fl textarea {
  padding:10px;
  border-radius:8px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.02);
  color:var(--ink);
  font-size:15px;
}
label.fl textarea { resize:vertical; min-height:120px; }

.meta {
  display:flex;
  justify-content:space-between;
  font-size:12px;
  color:var(--muted);
}
.err {
  color:#ef4444;
  font-size:12px;
  height:14px;
}

/* ---------- Form Actions ---------- */
.actions {
  margin-top:12px;
  display:flex;
  align-items:center;
  gap:12px;
}
.btn-primary {
  all:unset;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 18px;
  border-radius:8px;
  font-size:14px;
  font-weight:700;
  background:linear-gradient(90deg,#5b9dff,#22d3ee);
  color:#032133;
  cursor:pointer;
  box-shadow:0 8px 18px rgba(34,211,238,.25);
  transition:.2s;
}
.btn-primary:hover { transform:translateY(-1px); box-shadow:0 10px 22px rgba(34,211,238,.35); }
.btn-primary:disabled { filter:grayscale(1) brightness(.7); cursor:not-allowed; }

.form-msg { font-size:14px; color:var(--muted); }

/* ---------- Toast ---------- */
.toast {
  position:fixed;
  bottom:20px;
  right:20px;
  background:var(--card);
  color:var(--ink);
  padding:10px 14px;
  border-radius:8px;
  border:1px solid var(--line);
  box-shadow:0 6px 18px rgba(0,0,0,.35);
  display:none;
}
.toast.show { display:block; animation:fadeInOut 3s ease forwards; }
.toast .tick { color:var(--ok,#22c55e); margin-right:6px; font-weight:bold; }
@keyframes fadeInOut {
  0%{ opacity:0; transform:translateY(10px);}
  10%{ opacity:1; transform:translateY(0);}
  90%{ opacity:1;}
  100%{ opacity:0; transform:translateY(10px);}
}

/* ---------- Footer ---------- */
.vc-footer {
  text-align:center;
  padding:16px 12px;
  font-size:14px;
  color:var(--muted);
  border-top:1px solid var(--line);
}

/* ===========================================
   Back Button (vinodjangid07 style)
   =========================================== */
.button {
  width: 110px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  cursor: pointer;
  border: 2px solid rgb(255, 239, 94);
  background-color: rgb(255, 239, 94);
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.15);
  border-radius: 6px;
  transition: transform 0.2s ease;
}

.button .text {
  width: 70%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgb(27, 27, 27);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px 0 0 4px;
}

.button .arrow path {
  fill: rgb(19, 19, 19);
}

.button:hover .arrow {
  animation: slide-in-left 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@keyframes slide-in-left {
  0% {
    transform: translateX(-8px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.button:active {
  transform: scale(0.96);
}
