/* ==========================================================================
   WebKeyIndia — "Need a Consultant" section  (2026-09-15)
   Markup: contact-us-footer.php. Scoped under .wkc so nothing leaks into pages.
   Same brand system as css/wk-hf.css: ink surfaces, orange -> crimson accent,
   Poppins. A light band with a white form card and a dark contact panel, so it
   separates cleanly from the dark footer directly below it.
   ========================================================================== */
.wkc {
  --wkc-ink:     #0E0F12;
  --wkc-ink-2:   #17181D;
  --wkc-text:    #1B1D24;
  --wkc-muted:   #6B7080;
  --wkc-line:    #E4E7EF;
  --wkc-field:   #F7F8FB;
  --wkc-orange:  #FF7A1A;
  --wkc-crimson: #E11D2A;
  --wkc-grad:    linear-gradient(90deg, #FF7A1A 0%, #F0471E 55%, #E11D2A 100%);
  --wkc-font:    "Poppins","Segoe UI",Roboto,-apple-system,BlinkMacSystemFont,Arial,sans-serif;

  position: relative;
  padding: 72px 0;
  font-family: var(--wkc-font);
  color: var(--wkc-text);
  background:
    radial-gradient(700px 320px at 8% 0%, rgba(255,122,26,.10), transparent 65%),
    radial-gradient(640px 320px at 96% 100%, rgba(225,29,42,.08), transparent 65%),
    linear-gradient(180deg, #F4F6FA 0%, #EEF1F6 100%);
}
.wkc *, .wkc *::before, .wkc *::after { box-sizing: border-box; }
.wkc ul { list-style: none; margin: 0; padding: 0; }
.wkc a { text-decoration: none; }

.wkc__in { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.wkc__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;   /* card and panel end on the same line; the card's captcha row sits at its foot */
}

/* ---------- form card ---------- */
.wkc-card {
  display: flex; flex-direction: column; min-width: 0;   /* message box grows to match the panel */
  background: #fff;
  border: 1px solid rgba(14,15,18,.06);
  border-radius: 22px;
  padding: 40px 40px 36px;
  box-shadow: 0 1px 2px rgba(14,15,18,.04), 0 24px 60px -24px rgba(14,15,18,.22);
}
.wkc-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 13px; border-radius: 999px;
  background: rgba(255,122,26,.10); color: #D9480F;
  font-size: 12px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase;
}
.wkc .wkc-title {
  margin: 14px 0 6px; padding: 0;
  font-family: var(--wkc-font); font-size: 34px; font-weight: 700; line-height: 1.15;
  letter-spacing: -.3px; color: var(--wkc-ink);
}
.wkc-sub { margin: 0 0 14px; font-size: 15px; line-height: 1.6; color: var(--wkc-muted); }
.wkc .wkc-trust {   /* .wkc prefix: `.wkc ul { margin:0; padding:0 }` would otherwise win */
  display: flex; flex-wrap: wrap; gap: 8px 20px;
  margin: 0 0 26px; padding: 0 0 22px; list-style: none;
  border-bottom: 1px dashed var(--wkc-line);
}
.wkc-trust li { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 500; color: #3F4350; }
.wkc-trust i { font-size: 16px; color: #16A34A; }

.wkc-alert {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 22px; padding: 13px 16px; border-radius: 12px;
  font-size: 14.5px; font-weight: 500; line-height: 1.45;
}
.wkc-alert i { font-size: 18px; }
.wkc-alert--ok  { background: #EAF8EF; color: #146C34; border: 1px solid #BFE8CC; }
.wkc-alert--err { background: #FDECEC; color: #A61B1B; border: 1px solid #F6C4C4; }

.wkc-eyebrow { align-self: flex-start; }
.wkc-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px 20px;
}
.wkc-field { display: flex; flex-direction: column; min-width: 0; }
.wkc-field--full { grid-column: 1 / -1; }
.wkc .wkc-field label {
  margin: 0 0 7px; font-size: 13.5px; font-weight: 600; color: var(--wkc-text);
}
.wkc-field label em { font-style: normal; color: var(--wkc-crimson); }
.wkc-opt { font-weight: 400; color: var(--wkc-muted); }

.wkc-control { position: relative; }
.wkc-control > i {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  z-index: 2; font-size: 15px; color: #9AA0AE; pointer-events: none;
  transition: color .18s;
}
.wkc-control--area > i { top: 17px; transform: none; }

.wkc .wkc-input {
  position: relative;              /* the validation shake animates `left` */
  display: block; width: 100%; height: 50px; margin: 0;
  padding: 0 16px 0 44px;
  font-family: var(--wkc-font); font-size: 15px; color: var(--wkc-text);
  background: var(--wkc-field);
  border: 1.5px solid var(--wkc-line); border-radius: 12px;
  box-shadow: none; outline: none;
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.wkc textarea.wkc-input {
  height: 120px; min-height: 120px; padding: 13px 16px 13px 44px;
  line-height: 1.55; resize: vertical;
}
.wkc .wkc-input::placeholder { color: #A3A8B5; opacity: 1; }
.wkc .wkc-input:hover { border-color: #CFD4DF; }
.wkc .wkc-input:focus {
  background: #fff; border-color: var(--wkc-orange);
  box-shadow: 0 0 0 4px rgba(255,122,26,.16);
}
.wkc-control:focus-within > i { color: var(--wkc-orange); }

/* validation messages (shown by the existing jQuery validator) */
.wkc #error_style {
  margin-top: 7px; padding: 0; background: none; box-shadow: none; border-radius: 0;
  font-family: var(--wkc-font); font-size: 12.5px; font-weight: 500; color: #D11A2A;
}
.wkc #error_style::before { content: "\f06a"; font-family: FontAwesome; margin-right: 6px; }

/* ---------- captcha + submit ---------- */
.wkc-fields { margin-bottom: 22px; }
.wkc-actions {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px;
  margin-top: auto; padding-top: 22px; border-top: 1px dashed var(--wkc-line);
}
.wkc-captcha__row { display: flex; align-items: center; gap: 10px; }
.wkc .wkc-code {
  width: 110px; height: 50px; margin: 0; padding: 0;
  font-family: "Courier New", Consolas, monospace; font-size: 24px; font-weight: 700;
  letter-spacing: 6px; text-indent: 6px; text-align: center; color: var(--wkc-ink);
  background:
    repeating-linear-gradient(-45deg, rgba(14,15,18,.035) 0 6px, transparent 6px 12px),
    #EEF1F6;
  border: 1.5px dashed #C9CFDB; border-radius: 12px; outline: none; cursor: default;
  user-select: none;
}
.wkc-reload {
  width: 44px; height: 44px; flex: none; display: grid; place-items: center;
  padding: 0; border: 1.5px solid var(--wkc-line); border-radius: 50%;
  background: #fff; color: var(--wkc-muted); font-size: 16px; cursor: pointer;
  transition: color .2s, border-color .2s, transform .45s;
}
.wkc-reload:hover { color: var(--wkc-orange); border-color: var(--wkc-orange); transform: rotate(180deg); }
.wkc .wkc-input--code {
  width: 150px; padding: 0 14px; text-align: center; letter-spacing: 3px; font-weight: 600;
}

.wkc-submit { flex: none; }
.wkc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 32px; border: 0; border-radius: 999px;
  font-family: var(--wkc-font); font-size: 16px; font-weight: 600; color: #fff;
  background: var(--wkc-grad);
  box-shadow: 0 14px 28px -10px rgba(225,29,42,.55);
  cursor: pointer; transition: transform .18s, box-shadow .18s, filter .18s;
}
.wkc-btn i { transition: transform .2s; }
.wkc-btn:hover { transform: translateY(-2px); filter: saturate(1.1); box-shadow: 0 18px 34px -10px rgba(225,29,42,.6); }
.wkc-btn:hover i { transform: translate(3px, -2px); }
.wkc-btn:focus-visible { outline: 3px solid rgba(255,122,26,.45); outline-offset: 3px; }

/* ---------- dark contact panel ---------- */
.wkc-side {
  position: relative; overflow: hidden;
  padding: 34px 32px; border-radius: 22px; color: #C9CDD6;
  background:
    radial-gradient(420px 220px at 100% 0%, rgba(255,122,26,.20), transparent 70%),
    radial-gradient(380px 240px at 0% 100%, rgba(225,29,42,.16), transparent 70%),
    linear-gradient(160deg, #17181D 0%, #0E0F12 100%);
  box-shadow: 0 24px 60px -24px rgba(14,15,18,.45);
}
.wkc-side::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 20px 20px;
}
.wkc-side > * { position: relative; }

.wkc-block { padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.08); }
.wkc-block--last { padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }
.wkc .wkc-h {
  margin: 0 0 14px; padding: 0;
  font-family: var(--wkc-font); font-size: 18px; font-weight: 500; line-height: 1.3;
  color: #fff; text-shadow: none;
}
.wkc .wkc-h strong {
  font-weight: 700;
  background: var(--wkc-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

.wkc-list li { display: flex; align-items: flex-start; gap: 13px; }
.wkc-list li + li { margin-top: 13px; }
.wkc-block:first-child .wkc-list { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.wkc-block:first-child .wkc-list li + li { margin-top: 0; }
.wkc-ic {
  width: 38px; height: 38px; flex: none; display: grid; place-items: center;
  border-radius: 11px; font-size: 16px; color: #fff;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.10);
  transition: background .2s, border-color .2s;
}
.wkc-list li:hover .wkc-ic { background: var(--wkc-grad); border-color: transparent; }
.wkc-list div { min-width: 0; font-size: 14px; line-height: 1.5; }
.wkc-list small {
  display: block; margin-bottom: 1px; font-size: 11px; font-weight: 500;
  letter-spacing: .9px; text-transform: uppercase; color: #8A8F9C;
}
.wkc-list b { font-weight: 500; color: #fff; }
.wkc-list span { color: #D5D8DF; }
.wkc-list a { display: block; color: #fff; overflow-wrap: anywhere; transition: color .16s; }
.wkc-list a:hover, .wkc-offices a:hover { color: var(--wkc-orange); }

.wkc-offices { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.wkc-offices li {
  min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 9px 14px; border-radius: 11px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  transition: border-color .2s, background .2s;
}
.wkc-offices li:hover { border-color: rgba(255,122,26,.40); background: rgba(255,255,255,.06); }
.wkc-offices strong { flex: none; font-size: 12.5px; font-weight: 600; color: #fff; }
.wkc-offices a { min-width: 0; font-size: 13px; color: #B8BDC8; text-align: right; overflow-wrap: anywhere; transition: color .16s; }

.wkc-social { display: flex; flex-wrap: wrap; gap: 6px; }
.wkc-social a {
  width: 35px; height: 35px; display: grid; place-items: center;
  border-radius: 50%; font-size: 14px; color: #fff;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.10);
  transition: transform .18s, background .18s, border-color .18s;
}
.wkc-social a:hover { transform: translateY(-3px); background: var(--wkc-grad); border-color: transparent; color: #fff; }

/* ---------- desktop: compact panel so it matches the form card's height ---------- */
@media (min-width: 1100px) {
  .wkc textarea.wkc-input { height: 150px; min-height: 150px; }
  .wkc-side { padding: 30px 30px; }
  .wkc-block { padding-bottom: 20px; margin-bottom: 20px; }
  .wkc-list--split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
  .wkc-list--split li + li { margin-top: 0; }
  .wkc-list--split .wkc-wide { grid-column: 1 / -1; }
  .wkc-offices { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .wkc-offices li { flex-direction: column; align-items: flex-start; justify-content: center; gap: 1px; padding: 9px 12px; }
  .wkc-offices a { text-align: left; font-size: 12px; }
}

/* ---------- responsive ---------- */
@media (max-width: 1099px) {
  .wkc { padding: 56px 0; }
  .wkc__grid { grid-template-columns: minmax(0, 1fr); }
  .wkc-trust { gap: 8px 16px; }
  .wkc-side { columns: 2; column-gap: 44px; }      /* balanced flow: no gap under a short block */
  .wkc-side .wkc-block { break-inside: avoid; margin: 0; padding: 0 0 28px; border-bottom: 0; }
}
@media (max-width: 767px) {
  .wkc { padding: 40px 0; }
  .wkc__in { padding: 0 16px; }
  .wkc-card { padding: 28px 20px 24px; border-radius: 18px; }
  .wkc .wkc-title { font-size: 27px; }
  .wkc-sub { margin-bottom: 22px; font-size: 14px; }
  .wkc-fields { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; gap: 16px; }
  .wkc-actions { flex-direction: column; align-items: stretch; }
  .wkc-captcha__row { flex-wrap: nowrap; }
  .wkc .wkc-input--code { flex: 1; width: auto; min-width: 0; }
  .wkc-btn { width: 100%; }
  .wkc-side { display: block; padding: 28px 20px; border-radius: 18px; }
  .wkc-side { columns: auto; }
  .wkc-side .wkc-block { margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .wkc-side .wkc-block--last { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
}
@media (max-width: 359px) {
  .wkc-offices li { flex-direction: column; align-items: flex-start; gap: 0; }
  .wkc-offices a { text-align: left; }
  .wkc .wkc-code { width: 92px; letter-spacing: 3px; font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  .wkc *, .wkc *::before, .wkc *::after { transition: none !important; }
}
