/* ══════════════════════════════════════════════════════════
   contact.css — Contact Page Styles
   Path: /assets/css/contact.css
   ══════════════════════════════════════════════════════════ */

/* ── CSS VARIABLES (standalone, no dependency on style.css) */
:root {
  --p:   #1a56db;
  --pl:  #3b82f6;
  --ac:  #06b6d4;
  --nv:  #0f2a5c;
  --bg:  #f0f5ff;
  --sur: #fff;
  --mu:  #64748b;
  --br:  #dbeafe;
  --r:   12px;
  --sm:  0 1px 3px rgba(26,86,219,.10);
  --md:  0 4px 24px rgba(26,86,219,.14);
}

/* ── HERO ──────────────────────────────────────────────── */
.pg-hero {
    background: linear-gradient(135deg, #0f2a5c 0%, #1a3a8f 60%, #1e4bad 100%) !important;
    padding: 44px 16px 52px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.pg-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: .04;
    background: repeating-linear-gradient(45deg, #fff 0, #fff 1px, transparent 1px, transparent 12px);
}
.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 48px;
  background: #f0f5ff;
  clip-path: ellipse(55% 100% at 50% 100%);
  z-index: 0;
}
.pg-hero .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 11px;
  color: #93c5fd;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  margin-bottom: 14px;
  position: relative;
  z-index: 2;
}
.pg-hero h1 {
  font-size: clamp(24px,5vw,34px);
  font-weight: 800;
  color: #fff !important;
  letter-spacing: -.5px;
  margin-bottom: 8px;
  position: relative;
  z-index: 2;
}
.pg-hero p {
  font-size: 13.5px;
  color: #93c5fd !important;
  max-width: 380px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* ── PAGE WRAP ─────────────────────────────────────────── */
.pg-wrap { max-width: 860px; margin: 0 auto; padding: 32px 14px 52px; }

/* ── SECTION HEADING ───────────────────────────────────── */
.sec-head { margin: 32px 0 18px; }
.sec-head .label {
  font-size: 10px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: #1a56db; margin-bottom: 5px;
}
.sec-head h2 { font-size: clamp(18px,3.5vw,22px); font-weight: 800; color: #0f2a5c; }

/* ── CONTACT CARDS ─────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin-bottom: 32px; }
@media (min-width: 600px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .contact-grid { grid-template-columns: repeat(3,1fr); } }

.c-card {
  background: #fff;
  border: 1.5px solid #dbeafe;
  border-radius: 18px;
  padding: 24px 18px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(26,86,219,.10);
  transition: all .25s;
  position: relative;
  overflow: hidden;
}
.c-card::before {

  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  opacity: 0;
  transition: opacity .25s;
}
.blue-card::before   { background: linear-gradient(90deg,#3b82f6,#1a56db); }
.green-card::before  { background: linear-gradient(90deg,#25d366,#128c7e); }
.purple-card::before { background: linear-gradient(90deg,#a78bfa,#7c3aed); }

.c-card:hover { transform: translateY(-5px); box-shadow: 0 4px 24px rgba(26,86,219,.14); }
.c-card:hover::before { opacity: 1; }

.c-icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin: 0 auto 14px;
}
.c-icon.blue   { background: linear-gradient(135deg,#dbeafe,#bfdbfe); color: #1a56db; }
.c-icon.green  { background: linear-gradient(135deg,#dcfce7,#bbf7d0); color: #16a34a; }
.c-icon.purple { background: linear-gradient(135deg,#f3e8ff,#e9d5ff); color: #7c3aed; }

.c-card h3 { font-size: 15px; font-weight: 700; color: #0f2a5c; margin-bottom: 5px; }
.c-card p  { font-size: 12.5px; color: #64748b; margin-bottom: 14px; line-height: 1.55; }
.c-card a  {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13.5px; font-weight: 700; text-decoration: none;
  padding: 10px 20px; border-radius: 999px; transition: all .2s;
}
.c-card a.blue-btn   { background: linear-gradient(135deg,#3b82f6,#1a56db); color: #fff; box-shadow: 0 3px 10px rgba(26,86,219,.3); }
.c-card a.green-btn  { background: linear-gradient(135deg,#25d366,#128c7e); color: #fff; box-shadow: 0 3px 10px rgba(37,211,102,.3); }
.c-card a.purple-btn { background: linear-gradient(135deg,#a78bfa,#7c3aed); color: #fff; box-shadow: 0 3px 10px rgba(124,58,237,.3); }
.c-card a:hover { transform: translateY(-2px); filter: brightness(1.08); }

/* ── INFO CARD ─────────────────────────────────────────── */
.info-card {
  background: #fff;
  border: 1.5px solid #dbeafe;
  border-radius: 18px;
  padding: 6px 22px;
  box-shadow: 0 1px 3px rgba(26,86,219,.10);
  margin-bottom: 34px;
}
.info-row { display: flex; gap: 14px; align-items: center; padding: 15px 0; border-bottom: 1px solid #dbeafe; }
.info-row:last-child { border-bottom: none; }
.info-icon {
  width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg,#dbeafe,#bfdbfe);
  color: #1a56db;
  display: flex; align-items: center; justify-content: center; font-size: 15px;
}
.info-body strong {
  display: block; font-size: 11.5px; font-weight: 700;
  color: #64748b; margin-bottom: 2px;
  text-transform: uppercase; letter-spacing: .5px;
}
.info-body span { font-size: 14px; color: #1e293b; font-weight: 500; }
.info-body a    { font-size: 14px; color: #1a56db; font-weight: 600; text-decoration: none; }

/* ── DIVIDER ───────────────────────────────────────────── */
.section-divider { display: flex; align-items: center; gap: 14px; margin: 0 0 28px; }
.section-divider::before,
.section-divider::after { content: ''; flex: 1; height: 1.5px; background: #dbeafe; }
.section-divider span {
  font-size: 11px; font-weight: 700; color: #64748b;
  letter-spacing: 1.5px; text-transform: uppercase; white-space: nowrap;
}

/* ── FORM CARD ─────────────────────────────────────────── */
.form-card {
  background: #fff;
  border: 1.5px solid #dbeafe;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(26,86,219,.14);
  overflow: hidden;
}
.form-top-bar {
  background: linear-gradient(135deg,#0f2a5c 0%,#1a3a8f 100%);
  padding: 26px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.form-top-icon {
  width: 52px; height: 52px; border-radius: 16px;
  background: rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #fff; flex-shrink: 0;
}
.form-top-text h3 { font-size: 17px; font-weight: 800; color: #fff; margin-bottom: 3px; }
.form-top-text p  { font-size: 12.5px; color: #93c5fd; }

.form-body { padding: 28px 28px 32px; }

/* ── FORM ALERTS ───────────────────────────────────────── */
.form-alert {
  display: none; padding: 13px 16px; border-radius: 10px;
  font-size: 13.5px; font-weight: 600; margin-bottom: 20px;
  align-items: center; gap: 10px;
}
.form-alert.show    { display: flex; }
.form-alert.success { background: #dcfce7; border: 1.5px solid #86efac; color: #15803d; }
.form-alert.error   { background: #fee2e2; border: 1.5px solid #fca5a5; color: #dc2626; }

/* ── FORM GRID ─────────────────────────────────────────── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 599px) { .form-grid { grid-template-columns: 1fr; } }

.fg { display: flex; flex-direction: column; gap: 7px; }
.fg.full { grid-column: 1 / -1; }

.fg label {
  font-size: 12.5px; font-weight: 700; color: #0f2a5c;
  display: flex; align-items: center; gap: 7px;
}
.fg label i    { font-size: 13px; color: #1a56db; }
.fg label .req { color: #ef4444; font-size: 14px; }

.form-ctrl {
  width: 100%;
  padding: 11px 15px;
  border: 1.5px solid #dbeafe;
  border-radius: 10px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: #1e293b;
  background: #f8faff;
  outline: none;
  transition: all .25s;
  -webkit-appearance: none;
}
.form-ctrl::placeholder        { color: #a0aec0; font-size: 13px; }
.form-ctrl:focus                { border-color: #3b82f6; background: #fff; box-shadow: 0 0 0 3px rgba(59,130,246,.12); }
.form-ctrl:hover:not(:focus)   { border-color: #93c5fd; }
textarea.form-ctrl { resize: vertical; min-height: 120px; max-height: 320px; line-height: 1.6; }

.char-hint { font-size: 11.5px; color: #64748b; text-align: right; margin-top: 4px; }

/* ── FORM FOOTER ───────────────────────────────────────── */
.form-footer {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1.5px solid #dbeafe;
  gap: 14px;
  flex-wrap: wrap;
}
.form-note { font-size: 12px; color: #64748b; display: flex; align-items: center; gap: 6px; }
.form-note i { color: #16a34a; font-size: 14px; }

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 30px;
  background: linear-gradient(135deg,#3b82f6,#1a56db);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all .25s;
  box-shadow: 0 4px 16px rgba(26,86,219,.35);
}
.btn-submit:hover    { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(26,86,219,.45); }
.btn-submit:active   { transform: translateY(0); }
.btn-submit i        { font-size: 14px; transition: transform .2s; }
.btn-submit:hover i  { transform: translateX(4px); }
.btn-submit:disabled { opacity: .65; cursor: not-allowed; transform: none; }

/* ── MOBILE ────────────────────────────────────────────── */
@media (max-width: 599px) {
  .form-top-bar { padding: 20px 18px; }
  .form-body    { padding: 22px 18px 26px; }
  .form-footer  { flex-direction: column; align-items: flex-start; }
  .btn-submit   { width: 100%; justify-content: center; }
}