/* ============================================================
   Vijas — Contact page redesign (light glassmorphism + video)
   Loaded last: overrides legacy vijasCONTACT/style.css
   ============================================================ */

:root {
  --c-navy: #0f1b3d;
  --c-navy-2: #1e3a5f;
  --c-blue: #3b6fa0;
  --c-ice: #e8edf3;
}

/* ---------- Section shell ---------- */
.contact {
  position: relative;
  isolation: isolate;
  background: linear-gradient(160deg, #f7f9fc 0%, #eaf1f8 45%, #dfe9f4 100%);
}

/* Full-bleed ambient video behind the whole hero */
.contact-bgvideo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.5;
  filter: saturate(1.05) contrast(1.02);
  pointer-events: none;
}

.contact-bgveil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 15% 20%, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.72) 38%, rgba(255, 255, 255, 0.18) 70%),
    linear-gradient(115deg, rgba(232, 237, 243, 0.92) 0%, rgba(232, 237, 243, 0.35) 55%, rgba(15, 27, 61, 0.12) 100%);
}

/* soft floating blobs */
.contact-bgveil::after {
  content: "";
  position: absolute;
  width: 42vw;
  height: 42vw;
  max-width: 620px;
  max-height: 620px;
  left: -8vw;
  bottom: -14vw;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(59, 111, 160, 0.28), rgba(59, 111, 160, 0) 68%);
  animation: vjFloat 16s ease-in-out infinite alternate;
}

@keyframes vjFloat {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(4vw, -3vw, 0) scale(1.12); }
}

.contact .container {
  min-height: auto;
  height: auto;
  padding-bottom: 40px;
  align-items: start;
}

.contact .container > div { position: relative; z-index: 3; }

/* ---------- Left / form ---------- */
.left {
  max-width: 84rem;
  padding: 120px 1.5rem 40px;
  align-items: start;
  gap: 2.5rem;
}

.form-wrapper {
  background: rgba(255, 255, 255, 0.62);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 28px;
  padding: 2.4rem 2.2rem;
  box-shadow: 0 30px 70px -30px rgba(15, 27, 61, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  animation: vjRise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes vjRise {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}

.contact-heading h1,
body.glass-light .contact-heading h1 {
  opacity: 1 !important;
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  overflow-wrap: break-word;
  white-space: normal;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--c-navy) !important;
  background: linear-gradient(96deg, #0f1b3d 0%, #1e3a5f 45%, #3b6fa0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-heading h1 span { color: #3b6fa0; -webkit-text-fill-color: #3b6fa0; }

.contact-heading .text,
body.glass-light .contact-heading .text {
  color: #43506b !important;
  font-size: 1rem;
  margin-top: 0.9rem;
  opacity: 1 !important;
}

.contact-heading .text a { color: var(--c-blue); font-weight: 600; }

/* eyebrow chip */
.contact-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--c-navy-2);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(30, 58, 95, 0.14);
}

.contact-eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2dd4a8;
  box-shadow: 0 0 0 0 rgba(45, 212, 168, 0.6);
  animation: vjPulse 2s infinite;
}

@keyframes vjPulse {
  70%  { box-shadow: 0 0 0 10px rgba(45, 212, 168, 0); }
  100% { box-shadow: 0 0 0 0 rgba(45, 212, 168, 0); }
}

/* phone cards */
.phone-numbers { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.1rem; }

.phone-card {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.05rem;
  border-radius: 14px;
  font-weight: 600;
  color: var(--c-navy) !important;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(30, 58, 95, 0.12);
  box-shadow: 0 10px 24px -16px rgba(15, 27, 61, 0.6);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.phone-card i { color: var(--c-blue); }

.phone-card:hover {
  transform: translateY(-3px);
  background: #fff;
  box-shadow: 0 18px 34px -18px rgba(15, 27, 61, 0.55);
}

/* inputs */
.contact-input,
body.glass-light .contact-input {
  background: rgba(255, 255, 255, 0.7) !important;
  border: 1px solid rgba(30, 58, 95, 0.14) !important;
  border-radius: 14px !important;
  color: var(--c-navy) !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.contact-input:focus,
.input-wrap.focus .contact-input {
  background: #fff !important;
  border-color: var(--c-blue) !important;
  box-shadow: 0 0 0 4px rgba(59, 111, 160, 0.14) !important;
}

.input-wrap label { color: #5b6780; }
.input-wrap .icon { color: var(--c-blue); }

.btn,
.contact-buttons .btn {
  border-radius: 14px !important;
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

#signupbtn {
  background: linear-gradient(120deg, #0f1b3d, #3b6fa0) !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 16px 30px -16px rgba(15, 27, 61, 0.8);
}

#signupbtn:hover { transform: translateY(-2px); filter: brightness(1.08); }

/* ---------- Right / video card ---------- */
.right { pointer-events: none; }

.image-wrapper {
  position: relative;
  grid-column: 2;
  align-self: center;
  height: min(70vh, 600px);
  margin: 130px 1.5rem 0 0;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 40px 80px -40px rgba(15, 27, 61, 0.7);
  animation: vjRise 1.1s 0.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.image-wrapper .video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: none;
  transition: transform 8s ease;
}

.image-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 27, 61, 0) 35%, rgba(15, 27, 61, 0.55) 100%);
}

.image-wrapper .wave-wrap,
.image-wrapper .dashed-wave { display: none; }

.video-caption {
  position: absolute;
  left: 1.4rem;
  right: 1.4rem;
  bottom: 1.3rem;
  z-index: 2;
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.45;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.video-caption strong { display: block; font-size: 1.15rem; letter-spacing: -0.01em; }

/* ---------- Trust strip ---------- */
.contact-strip {
  position: relative;
  z-index: 3;
  max-width: 84rem;
  margin: -10px auto 0;
  padding: 0 1.5rem 70px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.contact-strip .strip-card {
  background: rgba(255, 255, 255, 0.68);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 20px;
  padding: 1.15rem 1.25rem;
  box-shadow: 0 22px 45px -30px rgba(15, 27, 61, 0.6);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-strip .strip-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 55px -28px rgba(15, 27, 61, 0.55);
}

.strip-card i { color: var(--c-blue); font-size: 1.25rem; }
.strip-card h5 { margin: 0.55rem 0 0.25rem; color: var(--c-navy); font-size: 1.02rem; font-weight: 700; }
.strip-card p { margin: 0; color: #5b6780; font-size: 0.88rem; line-height: 1.5; }

/* ---------- Location section ---------- */
.location-map { background: linear-gradient(180deg, #0f1b3d 0%, #16264f 100%); }

.contact-map img { border-radius: 0; }

@media (max-width: 900px) {
  .contact .container { min-height: auto; }
  .left { grid-template-columns: 1fr; padding-top: 110px; }
  .image-wrapper { display: none; }
  .contact-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
  .contact-strip { grid-template-columns: 1fr; }
  .form-wrapper { padding: 1.6rem 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  .contact-bgveil::after, .contact-eyebrow .dot { animation: none; }
}


/* attachment button */
.contact-buttons .btn.upload {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.2rem;
  background: rgba(255, 255, 255, 0.85) !important;
  border: 1px dashed rgba(30, 58, 95, 0.3) !important;
  color: var(--c-navy) !important;
  font-weight: 600;
  cursor: pointer;
}
.contact-buttons .btn.upload span { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--c-navy); }
.contact-buttons .btn.upload input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.contact-buttons .btn.upload:hover { border-color: var(--c-blue) !important; transform: translateY(-2px); }
.contact-buttons { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; margin-top: 1.4rem; }
#signupbtn { padding: 0.9rem 1.6rem; font-weight: 700; cursor: pointer; }
