/* ================================================================
   PSIR Contact Page – Stylesheet
   ================================================================ */



    :root{
      /* Logo palette mix */
      --blue:#0068BA;
      --green:#138A3D;
      --orange:#F59E0B;

      --brand: var(--blue);      /* accents/links */
      --brand-2: var(--green);   /* primary buttons */
      --ink:#0b1220;
      --muted:#5b6b7a;

      --glass: rgba(255,255,255,.70);
      --glass-2: rgba(255,255,255,.55);
      --stroke: rgba(255,255,255,.75);
      --shadow: 0 20px 60px rgba(16, 24, 40, .12);
      --radius: 22px;
    }

    html{ scroll-behavior: smooth; }
    body{ font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; color:var(--ink); }

    /* Liquid glass background */
    .liquid-bg{
      background:
        radial-gradient(900px 520px at 50% 20%, rgba(170, 215, 255, .55), transparent 60%),
        radial-gradient(780px 520px at 15% 75%, rgba(175, 170, 255, .35), transparent 62%),
        radial-gradient(820px 560px at 90% 80%, rgba(140, 205, 255, .30), transparent 62%),
        linear-gradient(180deg, #ffffff 0%, #eef7ff 45%, #ffffff 100%);
      position: relative;
    }

    .blob{
      position:absolute;
      filter: blur(60px);
      opacity:.55;
      pointer-events:none;
      transform: translateZ(0);
    }
    .blob.b1{ width:420px; height:420px; left:-140px; top:120px; background: rgba(120, 190, 255, .42); border-radius: 50%; }
    .blob.b2{ width:520px; height:520px; right:-220px; top:60px; background: rgba(170, 175, 255, .34); border-radius: 50%; }
    .blob.b3{ width:560px; height:560px; right:80px; bottom:-260px; background: rgba(120, 205, 255, .32); border-radius: 50%; }

    /* Glass card */
    .glass{
      background: var(--glass);
      border: 1px solid var(--stroke);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
    }
    .glass-soft{
      background: var(--glass-2);
      border: 1px solid rgba(255,255,255,.65);
      border-radius: var(--radius);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
    }

    .nav-link{ color:#1f2a37; font-weight:600; }
    .nav-link:hover{ color:var(--brand); }

    .btn-brand{
      background: var(--brand-2);
      border-color: var(--brand-2);
      color:#fff;
      font-weight:800;
      border-radius: 14px;
      padding: .75rem 1.1rem;
    }
    .btn-brand:hover{ background: #0f7a35; border-color:#0f7a35; color:#fff; }

    .btn-outline-brand{
      border-color: rgba(0,104,186,.35);
      color: var(--brand);
      font-weight:800;
      border-radius: 14px;
      padding: .75rem 1.1rem;
      background: rgba(255,255,255,.35);
      backdrop-filter: blur(10px);
    }
    .btn-outline-brand:hover{ border-color: var(--brand); background: rgba(0,104,186,.08); color: var(--brand); }

    .kpi{
      padding: 14px 16px;
      border-radius: 16px;
      background: rgba(255,255,255,.55);
      border: 1px solid rgba(255,255,255,.75);
    }

    .section-pad{ padding: 80px 0; }
    .section-title{ font-weight: 900; letter-spacing: -.02em; }
    .section-lead{ color: var(--muted); font-size: 1.05rem; }

    .feature-icon{
      width: 44px; height: 44px;
      display:flex; align-items:center; justify-content:center;
      border-radius: 14px;
      background: rgba(0,104,186,.10);
      border: 1px solid rgba(0,104,186,.18);
      color: var(--brand);
      flex: 0 0 auto;
    }

    .badge-soft{
      background: rgba(0,104,186,.10);
      color: var(--brand);
      border: 1px solid rgba(0,104,186,.18);
      font-weight: 800;
    }

    .divider{
      height:1px;
      background: linear-gradient(90deg, transparent, rgba(15,23,42,.12), transparent);
    }

    footer a{ color: rgba(255,255,255,.85); text-decoration:none; }
    footer a:hover{ color:#fff; text-decoration:underline; }



/* ── Alert banners ───────────────────────────────────────────────── */
.alert {
  width: 100%; max-width: 900px;
  padding: 14px 20px;
  border-radius: 12px;
  margin-bottom: 20px;
  font-size: .9rem;
  font-weight: 500;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
}
.alert-success { background: #e6faf2; color: #1a7a50; border: 1px solid #a3e6c8; }
.alert-error   { background: #fdeef0; color: #9b1c2a; border: 1px solid #f5b8be; }
.alert-close {
  background: none; border: none; cursor: pointer;
  font-size: 1rem; color: inherit; opacity: .6; flex-shrink: 0;
}
.alert-close:hover { opacity: 1; }




/* ── Form ────────────────────────────────────────────────────────── */
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.field { margin-bottom: 13px; display: flex; flex-direction: column; gap: 5px; }

label {
  font-size: .72rem; font-weight: 600;
  color: var(--slate-mid); text-transform: uppercase; letter-spacing: .07em;
}
.req { color: #ff0000; }

input, textarea, select {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid #d8e4f0; border-radius: 11px;
  font-family: 'DM Sans', sans-serif; font-size: .92rem;
  color: var(--slate); background: #f7fafd;
  outline: none; transition: border-color .2s, box-shadow .2s;
  resize: none;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--blue-light);
  box-shadow: 0 0 0 3px rgba(59,142,232,.12);
  background: white;
}

input.error, textarea.error, select.error { border-color: #ff0000; }

.field-error {
  font-size: .72rem; color: #ff0000;
  margin-top: 2px; display: none;
}
.field-error.visible { display: block; }

.btn-submit {
  width: 100%; padding: 14px;
  background: linear-gradient(120deg, var(--blue-dark), var(--blue-light));
  color: white; border: none; border-radius: 11px;
  font-family: 'Manrope', sans-serif; font-size: .95rem; font-weight: 800;
  cursor: pointer; transition: opacity .2s, transform .15s; margin-top: 4px;
  box-shadow: 0 4px 16px rgba(26,111,196,.25);
}
.btn-submit:hover  { opacity: .92; transform: translateY(-1px); }
.btn-submit:active { transform: scale(.98); }
.btn-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }
