
:root {
  --nav-bg: #020817;
  --bg: #050b19;
  --card: #0b1220;
  --accent: #f97316;
  --accent2: #38bdf8;
  --text: #e5e7eb;
  --muted: #9ca3af;
}
* { box-sizing: border-box; }
body {
  margin:0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #0f172a 0, #020617 50%, #020617 100%);
  color: var(--text);
}
a { color: inherit; }

header {
  position: fixed;
  top:0; left:0; right:0;
  z-index:50;
  background: linear-gradient(to right, rgba(15,23,42,.96), rgba(30,64,175,.96));
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 6vw;
  backdrop-filter: blur(18px);
}
header img.logo {
  height:80px;
  max-height:80px;
}
nav a {
  margin-left:24px;
  text-decoration:none;
  color: #e5e7eb;
  font-weight:500;
  position:relative;
  font-size:14px;
}
nav a::after {
  content:"";
  position:absolute;
  left:0; bottom:-4px;
  width:0; height:2px;
  background: linear-gradient(to right,#f97316,#38bdf8);
  transition:width .2s;
}
nav a:hover::after { width:100%; }

main { margin-top:96px; }

/* Hero */
.hero {
  position:relative;
  min-height:72vh;
  overflow:hidden;
}
.hero-bg {
  position:absolute;
  inset:0;
  background:url('images/hero.jpg') center/cover fixed no-repeat;
}
.hero-overlay {
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at top left, rgba(248,250,252,.15), transparent 50%),
    linear-gradient(to bottom, rgba(15,23,42,.9), rgba(15,23,42,.98));
}
.hero-inner {
  position:relative;
  padding:10vh 8vw 14vh;
  max-width:1120px;
  display:grid;
  grid-template-columns:minmax(0,3fr) minmax(0,2.4fr);
  gap:40px;
  align-items:center;
}
.hero-copy { max-width:640px; }
.hero-art { justify-self:end; }
.hero-art img {
  max-width:420px;
  width:100%;
  height:auto;
  border-radius:24px;
  box-shadow:0 30px 80px rgba(0,0,0,0.6);
}

.hero-kicker {
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:4px 10px;
  border-radius:999px;
  border:1px solid rgba(148,163,184,.5);
  background:rgba(15,23,42,.8);
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:var(--muted);
}
.hero-kicker span.dot {
  width:8px;height:8px;border-radius:999px;
  background:radial-gradient(circle,#22c55e,transparent);
}
.hero h1 {
  margin-top:18px;
  font-size:44px;
  line-height:1.08;
}
.hero h1 span.accent {
  background: linear-gradient(to right,#f97316,#fb7185,#38bdf8);
  -webkit-background-clip:text;
  color:transparent;
}
.hero p.lead {
  margin-top:14px;
  max-width:640px;
  color:var(--muted);
}
.hero-cta {
  margin-top:26px;
  display:flex;
  flex-wrap:wrap;
  gap:16px;
}
.hero-cta a.primary {
  padding:11px 22px;
  border-radius:999px;
  border:none;
  background:linear-gradient(to right,#f97316,#fb923c);
  color:#111827;
  font-weight:600;
  text-decoration:none;
}
.hero-cta a.outline {
  padding:10px 20px;
  border-radius:999px;
  border:1px solid rgba(148,163,184,.7);
  color:var(--text);
  text-decoration:none;
}
.hero-metrics {
  margin-top:34px;
  display:flex;
  gap:24px;
  flex-wrap:wrap;
  color:var(--muted);
  font-size:13px;
}
.hero-metrics div strong {
  font-size:24px;
  color:#e5e7eb;
  display:block;
}

/* Sections */
.section {
  padding:70px 8vw;
  background: radial-gradient(circle at top, rgba(15,23,42,.85), #020617 60%);
}
.section.alt {
  background: radial-gradient(circle at top, #020617, #020617 60%);
}
.section-header {
  max-width:900px;
  margin:0 auto 34px;
  text-align:center;
}
.section-header h2 {
  font-size:28px;
  margin-bottom:8px;
}
.section-header p {
  color:var(--muted);
  margin:0;
}

/* Cards, grids */
.grid-3 {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
}
.card {
  background: radial-gradient(circle at top left, rgba(148,163,184,.14), rgba(15,23,42,1));
  border-radius:18px;
  padding:20px 20px 22px;
  border:1px solid rgba(148,163,184,.22);
  box-shadow:0 18px 45px rgba(15,23,42,.8);
}
.card h3 { margin-top:4px; margin-bottom:6px; font-size:18px; }
.card p { margin:0; color:var(--muted); font-size:14px; }
.card span.tag {
  display:inline-block;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:var(--accent2);
  margin-bottom:6px;
}

/* Social strip */
.social-strip {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}
.social-tile {
  border-radius:18px;
  overflow:hidden;
  position:relative;
  background:#020617;
  border:1px solid rgba(148,163,184,.35);
  box-shadow:0 18px 40px rgba(15,23,42,.9);
}
.social-tile iframe {
  width:100%; height:210px; border:0;
}
.social-label {
  position:absolute;
  inset:auto 12px 10px 12px;
  padding:4px 9px;
  border-radius:999px;
  background:rgba(15,23,42,.9);
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.16em;
  color:var(--muted);
}

/* Page hero */
.page-hero {
  padding:70px 8vw 40px;
  background: radial-gradient(circle at top left, rgba(37,99,235,.4), transparent 55%),
              linear-gradient(to bottom, #020617, #020617);
  border-bottom:1px solid rgba(30,64,175,.6);
}
.page-hero h1 {
  font-size:32px;
  margin:0 0 10px;
}
.page-hero p {
  margin:0;
  color:var(--muted);
  max-width:640px;
}

/* Layouts */
.two-col {
  display:grid;
  grid-template-columns: minmax(0,3fr) minmax(0,2.2fr);
  gap:32px;
  align-items:flex-start;
}
.panel {
  background:radial-gradient(circle at top left, rgba(148,163,184,.1), rgba(15,23,42,1));
  border-radius:18px;
  padding:20px 22px;
  border:1px solid rgba(148,163,184,.25);
  box-shadow:0 16px 36px rgba(15,23,42,.9);
}
.panel h2 { margin-top:0; }
.badge-row {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:10px;
}
.badge {
  padding:4px 9px;
  border-radius:999px;
  border:1px solid rgba(148,163,184,.4);
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.14em;
  color:var(--muted);
}
.list {
  margin:0;
  padding-left:18px;
  color:var(--muted);
  font-size:14px;
}
.list li { margin-bottom:5px; }

/* Contact form */
.contact-wrap {
  max-width:760px;
  margin:26px auto 0;
}
.contact-form {
  display:grid;
  gap:14px;
}
.contact-form label {
  font-size:13px;
  color:var(--muted);
}
.contact-form input,
.contact-form textarea {
  width:100%;
  padding:10px 11px;
  border-radius:10px;
  border:1px solid rgba(148,163,184,.5);
  background:#020617;
  color:var(--text);
  font-size:14px;
}
.contact-form textarea { resize:vertical; min-height:120px; }
.contact-form button {
  padding:11px 20px;
  border-radius:999px;
  border:none;
  background:linear-gradient(to right,#f97316,#fb923c);
  color:#111827;
  font-weight:600;
  cursor:pointer;
}

/* Upload Cases */
.upload-wrap {
  max-width: 780px;
  margin: 30px auto 0;
}
.upload-box {
  background: radial-gradient(circle at top left, rgba(148,163,184,.14), rgba(15,23,42,1));
  border-radius: 18px;
  padding: 22px 22px 24px;
  border: 1px solid rgba(148,163,184,.22);
  box-shadow: 0 18px 45px rgba(15,23,42,.9);
}
.upload-box p { color: var(--muted); font-size:14px; }

.upload-row {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 18px;
  margin-top: 16px;
}
.upload-row:nth-of-type(2) {
  grid-template-columns: minmax(0,2fr) minmax(0,1.5fr) minmax(0,1fr);
}

.upload-field label {
  font-size: 13px;
  color: var(--muted);
  display:block;
  margin-bottom:4px;
}
.upload-field input[type="file"],
.upload-field input[type="password"],
.upload-field input[type="text"] {
  width: 100%;
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid rgba(148,163,184,.5);
  background: #020617;
  color: var(--text);
  font-size: 14px;
}
.upload-field textarea {
  width: 100%;
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid rgba(148,163,184,.5);
  background: #020617;
  color: var(--text);
  font-size: 14px;
  min-height: 90px;
  resize: vertical;
}

/* Full-width upload button */
.upload-field button {
  width: 100%;
  padding: 14px 26px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(to right,#f97316,#ea580c);
  color: #111827;
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  cursor: pointer;
  box-shadow: 0 6px 22px rgba(249,115,22,.45);
  transition: transform .18s ease, opacity .18s ease;
}
.upload-field button:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}
.upload-field button:active {
  transform: translateY(0);
  opacity: 1;
}

/* Drag & drop */
.drop-zone {
  position: relative;
  padding: 22px 16px;
  border-radius: 14px;
  border: 1px dashed rgba(148,163,184,.7);
  background: rgba(15,23,42,.85);
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}
.drop-zone span {
  font-size: 13px;
  color: var(--muted);
}
.drop-zone .drop-or {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: rgba(148,163,184,.9);
}
.drop-zone.dragover {
  border-color: var(--accent);
  background: radial-gradient(circle at top, rgba(249,115,22,.15), rgba(15,23,42,.95));
  box-shadow: 0 0 0 1px rgba(248,250,252,.12), 0 18px 38px rgba(15,23,42,.9);
  transform: translateY(-1px) scale(1.02);
}

/* Circular progress centered */
.progress-shell {
  margin-top: 18px;
  display:flex;
  flex-direction:column;
  align-items:center;
}
.circle-progress {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 10px;
}
.circle-progress svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.circle-progress circle {
  fill: none;
  stroke-width: 10;
  stroke-linecap: round;
}
.circle-progress circle.bg {
  stroke: rgba(30,64,175,.5);
}
.circle-progress circle.fg {
  stroke: url(#progressGradient);
  stroke-dasharray: 339.292;
  stroke-dashoffset: 339.292;
  transition: stroke-dashoffset .15s linear;
}
.circle-label {
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
}
.circle-label span { display:block; }
#progressPercent {
  font-size: 20px;
  font-weight: 600;
}
.circle-label .small {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--muted);
}
.upload-status {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}

/* Warning + HIPAA + icons */
.upload-warning, .upload-warning strong {
  color: #ff3b3b !important;
}
.upload-warning a {
  color: inherit !important;
  text-decoration: underline;
}
.field-icon {
  margin-right: 6px;
  font-size: 15px;
  opacity: 0.9;
}
.hipaa-note {
  margin-top: 6px;
  font-size: 11px;
  color: var(--muted);
}

/* Footer */
footer {
  padding:26px 8vw 32px;
  border-top:1px solid rgba(51,65,85,.8);
  background:#020617;
  color:var(--muted);
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:12px;
  font-size:13px;
}

/* Responsive */
@media (max-width:960px) {
  .hero-inner {
    grid-template-columns:1fr;
    gap:28px;
  }
  .hero h1 { font-size:32px; }
  .grid-3 { grid-template-columns:1fr; }
  .social-strip { grid-template-columns:1fr 1fr; }
  .two-col { grid-template-columns:1fr; }
  .upload-row,
  .upload-row:nth-of-type(2) {
    grid-template-columns:1fr;
  }
}
@media (max-width:640px) {
  header { padding:10px 16px; }
  nav a { margin-left:12px; font-size:13px; }
  .hero-inner { padding:9vh 5vw 11vh; }
  .social-strip { grid-template-columns:1fr; }
  .section { padding:54px 6vw; }
}

.upload-row.wide {
  grid-template-columns: 2fr 1.5fr;
}
.upload-field.full { grid-column: 1 / -1; }
.drop-col .drop-zone {
  min-height: 200px;
  font-size: 14px;
}
.memo-col textarea {
  min-height: 200px;
}

/* Decorative flag ribbon in hero */
  position:absolute;
  top:16%;
  right:-120px;
  width:260px;
  height:170px;
  background:
    repeating-linear-gradient(
      to bottom,
      #ef4444 0,
      #ef4444 16px,
      #f9fafb 16px,
      #f9fafb 32px
    );
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 24px 60px rgba(0,0,0,.9);
  transform:skewX(-12deg);
  opacity:0.9;
}
  content:"";
  position:absolute;
  inset:-40%;
  background:radial-gradient(circle at 0 0, rgba(15,23,42,.65), transparent 55%);
  mix-blend-mode:multiply;
}
  position:absolute;
  top:0;
  left:0;
  width:42%;
  height:56%;
  background:#0f172a;
  box-shadow:0 0 0 1px rgba(15,23,42,.9);
  background-image:
    radial-gradient(circle, #e5e7eb 18%, transparent 22%),
    radial-gradient(circle, #e5e7eb 18%, transparent 22%),
    radial-gradient(circle, #e5e7eb 18%, transparent 22%),
    radial-gradient(circle, #e5e7eb 18%, transparent 22%);
  background-size:22px 22px;
  background-position:4px 3px, 15px 14px, 4px 25px, 15px 36px;
}
  0% { transform:translateY(0) skewX(-12deg); }
  100% { transform:translateY(-12px) skewX(-12deg); }
}
  0% { background-position:0 0; }
  100% { background-position:0 64px; }
}
@media (max-width:960px) {
    display:none;
  }
}


/* --- Services dropdown --- */
header nav{
  position: relative;
}
header nav .nav-dropdown{
  position: relative;
  display: inline-flex;
  align-items: center;
}
header nav .nav-dropdown > .nav-link{
  display: inline-block;
}

/* keep submenu hidden unless hovered/focused */
header nav .nav-dropdown > .dropdown-menu{
  display: none !important;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  padding: 10px 8px;
  border-radius: 14px;
  border: 1px solid rgba(148,163,184,.28);
  background: rgba(8,12,24,.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 55px rgba(0,0,0,.45);
  z-index: 9999;
}

header nav .nav-dropdown:hover > .dropdown-menu,
header nav .nav-dropdown:focus-within > .dropdown-menu{
  display: block !important;
}

header nav .nav-dropdown > .dropdown-menu a{
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  letter-spacing: .02em;
  color: rgba(226,232,240,.92);
  text-decoration: none;
  white-space: nowrap;
}

header nav .nav-dropdown > .dropdown-menu a:hover{
  background: rgba(56,189,248,.12);
  color: #e2e8f0;
}




/* Prevent hover gap between Services link and submenu */
header nav .nav-dropdown > .dropdown-menu::before{
  content:"";
  position:absolute;
  left:0;
  top:-10px;
  width:100%;
  height:10px;
}
