/* DataBasicsIntl.com — site styles */
:root {
  --navy: #004a98;        /* logo "DATA BASICS" */
  --navy-dark: #0a2547;   /* dark sections */
  --navy-ink: #0d1b2e;    /* headings */
  --blue: #318dde;        /* logo swoosh */
  --tan: #d2b786;         /* logo globe */
  --gold: #d9a93f;        /* bullets: warmer gold to match the logo */
  --tan-light: #f6f0e4;
  --ink: #1f2a37;
  --muted: #586474;
  --line: #e3e7ed;
  --paper: #ffffff;
  --mist: #f4f7fb;
  --radius: 12px;
  --shadow: 0 12px 32px rgba(13, 27, 46, 0.08);
  --max: 1160px;
  --head: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--blue); }
h1, h2, h3 { font-family: var(--head); color: var(--navy-ink); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 0.6em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.97rem; padding: 8px 14px; border-radius: 8px; }
.nav a:hover { background: var(--mist); color: var(--navy); }
.nav a[aria-current="page"] { color: var(--navy); box-shadow: inset 0 -2px 0 var(--tan); border-radius: 0; }
/* Services dropdown: opens on hover or keyboard focus (desktop); always listed in the phone menu */
.dropdown { position: relative; }
.dropdown-toggle { display: inline-flex; align-items: center; gap: 4px; }
.caret { width: 14px; height: 14px; transition: transform 0.15s ease; }
.dropdown-menu { display: none; position: absolute; top: 100%; right: -60px; z-index: 60; min-width: 340px; padding-top: 8px; }
.dropdown-menu::before { content: ""; position: absolute; inset: 8px 0 0; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--tan); border-radius: 0 0 10px 10px; box-shadow: var(--shadow); z-index: -1; }
.dropdown-menu a { display: block; padding: 10px 18px; border-radius: 0; font-size: 0.95rem; white-space: nowrap; }
.dropdown-menu a:first-child { margin-top: 6px; }
.dropdown-menu a:last-child { margin-bottom: 6px; }
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu { display: block; }
.dropdown:hover .caret, .dropdown:focus-within .caret { transform: rotate(180deg); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px 0; }
@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 8px; }
  .nav a[aria-current="page"] { box-shadow: none; }
  .dropdown-menu { display: block; position: static; min-width: 0; padding: 0 0 6px 14px; }
  .dropdown-menu::before { display: none; }
  .dropdown-menu a { padding: 9px 8px; font-size: 0.93rem; color: var(--muted); border-left: 2px solid var(--line); white-space: normal; }
  .dropdown-menu a:first-child, .dropdown-menu a:last-child { margin: 0; }
  .caret { display: none; }
}
@media (max-width: 420px) { .logo img { height: 36px; } }

/* Buttons */
.btn { display: inline-block; background: var(--navy); color: #fff !important; text-decoration: none; font-family: var(--head); font-weight: 600; padding: 12px 24px; border-radius: 8px; border: 0; cursor: pointer; font-size: 1rem; transition: background 0.15s ease, transform 0.15s ease; }
.btn:hover { background: var(--navy-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; border: 1.5px solid currentColor; color: var(--navy) !important; }
.btn-outline:hover { background: var(--mist); }
.btn-light { background: #fff; color: var(--navy) !important; }
.btn-light:hover { background: var(--tan-light); }
.btn-ghost { background: transparent; border: 1.5px solid rgba(255,255,255,0.7); color: #fff !important; }
.btn-ghost:hover { background: rgba(255,255,255,0.12); }

/* Hero */
.hero { position: relative; color: #fff; background: var(--navy-dark); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,37,71,0.95) 0%, rgba(10,37,71,0.82) 48%, rgba(0,74,152,0.45) 100%); }
.hero.hero-logo { background: radial-gradient(circle at 82% 50%, rgba(49,141,222,0.26), rgba(49,141,222,0) 40%), linear-gradient(115deg, #071b36 0%, #0a2b57 55%, #0b3f7e 100%); }
.hero.hero-logo::before { background: none; }
/* same faint logo globe as the inner-page banners, a little larger for the home page */
.hero.hero-logo::after { content: ""; position: absolute; right: 3%; top: 50%; transform: translateY(-50%); width: min(40vw, 560px); aspect-ratio: 984 / 538; background: url("../images/hero-logo-globe.png") center / contain no-repeat; opacity: 0.28; pointer-events: none; }
.hero.hero-logo .container { z-index: 1; }
@media (max-width: 880px) { .hero.hero-logo::after { width: 80vw; right: -20vw; opacity: 0.14; } }
.hero .container { position: relative; padding-top: clamp(76px, 12vw, 150px); padding-bottom: clamp(76px, 12vw, 150px); }
.hero h1 { color: #fff; max-width: 14em; }
.hero p { font-size: 1.15rem; max-width: 36em; color: rgba(255,255,255,0.9); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.78rem; font-weight: 700; font-family: var(--head); color: var(--navy); margin-bottom: 12px; }
.eyebrow::before { content: ""; display: inline-block; width: 28px; height: 2px; background: var(--tan); vertical-align: middle; margin-right: 10px; }
.hero .eyebrow { color: var(--tan); }

.page-hero { background: radial-gradient(circle at 84% 50%, rgba(49,141,222,0.26), rgba(49,141,222,0) 40%), linear-gradient(115deg, #071b36 0%, #0a2b57 55%, #0b3f7e 100%); position: relative; color: #fff; overflow: hidden; }
/* faint logo globe on the right of every inner-page banner */
.page-hero::after { content: ""; position: absolute; right: 3%; top: 50%; transform: translateY(-50%); width: min(34vw, 460px); aspect-ratio: 984 / 538; background: url("../images/hero-logo-globe.png") center / contain no-repeat; opacity: 0.28; pointer-events: none; }
@media (max-width: 880px) { .page-hero::after { width: 70vw; right: -18vw; opacity: 0.14; } }
.page-hero .container { position: relative; z-index: 1; padding-top: 64px; padding-bottom: 56px; }
.page-hero h1 { color: #fff; margin-bottom: 0.4em; }
.page-hero p { color: rgba(255,255,255,0.88); max-width: 46em; font-size: 1.08rem; margin: 0; }
.page-hero .eyebrow { color: var(--tan); }

/* Sections */
.section { padding: clamp(56px, 8vw, 100px) 0; }
.section-alt { background: var(--mist); }
.section-head { max-width: 42em; margin-bottom: 44px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card p { color: var(--muted); }
.card p:last-child { margin-bottom: 0; }
.card .more { margin-top: auto; font-weight: 600; text-decoration: none; font-family: var(--head); }
.card-feature { background: var(--card-bg, var(--navy)); border-color: transparent; color: #fff; }
/* Home service cards: graded from deep navy to brand blue */
.services-graded .card-feature:nth-child(1) { --card-bg: #0a2547; }
.services-graded .card-feature:nth-child(2) { --card-bg: #0b315e; }
.services-graded .card-feature:nth-child(3) { --card-bg: #0a3c76; }
.services-graded .card-feature:nth-child(4) { --card-bg: #04468e; }
.services-graded .card-feature:nth-child(5) { --card-bg: #0652a6; }
.services-graded .card-feature:nth-child(6) { --card-bg: #1160b8; }
.card-feature .more:hover { color: #fff; }
.card-feature h3 { color: #fff; }
.card-feature p { color: rgba(255,255,255,0.86); }
.card-feature .more { color: #f3e3c3; }
.icon { width: 50px; height: 50px; border-radius: 12px; background: var(--tan-light); color: var(--navy); display: grid; place-items: center; margin-bottom: 18px; flex: none; }
.icon svg { width: 26px; height: 26px; }
.card-feature .icon { background: rgba(255,255,255,0.12); color: #fff; }

.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.split.reverse { grid-template-columns: 0.9fr 1.1fr; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
@media (max-width: 880px) { .split, .split.reverse { grid-template-columns: 1fr; gap: 32px; } }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,0.15); }
.pillars div { padding: 28px 24px 0 0; }
.pillars strong { display: block; font-family: var(--head); font-size: 1.6rem; color: var(--tan); line-height: 1.2; margin-bottom: 6px; }
.pillars span { color: rgba(255,255,255,0.82); font-size: 0.97rem; }
@media (max-width: 700px) { .pillars { grid-template-columns: 1fr; } }
.band { background: var(--navy-dark); color: #fff; }
.band h2 { color: #fff; }
.band p { color: rgba(255,255,255,0.85); }

.checks { list-style: none; padding: 0; margin: 0 0 1em; }
.checks li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 18px; height: 18px; border-radius: 50%; background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; }
.checks.two-col { columns: 2; column-gap: 32px; }
.checks.two-col li { break-inside: avoid; }
@media (max-width: 640px) { .checks.two-col { columns: 1; } }

/* Services page */
.service-block { display: grid; grid-template-columns: 64px 1fr; gap: 24px; padding: 44px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 96px; }
.service-block:last-child { border-bottom: 0; }
.service-block .icon { margin: 0; width: 64px; height: 64px; }
.service-block h2 { font-size: 1.6rem; }
@media (max-width: 640px) { .service-block { grid-template-columns: 1fr; gap: 12px; } }

/* CTA */
.cta { background: linear-gradient(110deg, var(--navy) 0%, #0b5fbf 100%); color: #fff; }
.cta .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 52px; padding-bottom: 52px; }
.cta h2 { color: #fff; margin: 0 0 6px; }
.cta p { margin: 0; color: rgba(255,255,255,0.9); }
.cta p a { color: #fff; font-weight: 600; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.45fr; gap: 44px; align-items: start; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-details { padding-top: 34px; }
@media (max-width: 880px) { .contact-details { padding-top: 0; } }
.contact-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.contact-item .icon { margin: 0; width: 46px; height: 46px; }
.contact-item strong { display: block; font-family: var(--head); }
#request { scroll-margin-top: 96px; }
form .field { margin-bottom: 18px; }
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { form .row { grid-template-columns: 1fr; } }
label, .label { display: block; font-weight: 600; font-size: 0.93rem; margin-bottom: 6px; }
label .opt, .label .opt { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); padding: 12px 14px; border: 1px solid #c9d1dc; border-radius: 8px; background: #fff; }
textarea { min-height: 150px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(49, 141, 222, 0.25); border-color: var(--blue); }
.file-drop { position: relative; display: block; border: 2px dashed #c9d1dc; border-radius: 10px; padding: 22px; text-align: center; background: var(--mist); cursor: pointer; font-weight: 400; transition: border-color 0.15s ease, background 0.15s ease; }
.file-drop:hover, .file-drop.drag { border-color: var(--blue); background: #eaf3fc; }
.file-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-drop strong { color: var(--navy); }
.file-drop .hint { color: var(--muted); font-size: 0.9rem; margin: 4px 0 0; }
.file-list { list-style: none; margin: 10px 0 0; padding: 0; font-size: 0.92rem; text-align: left; }
.file-list li { padding: 4px 0; border-bottom: 1px solid var(--line); }
.file-list .err { color: #b42318; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 0.93rem; }
.consent span { flex: 1; }
.consent input { margin-top: 3px; width: 20px; height: 20px; flex: none; accent-color: var(--navy); }
.form-status { margin-top: 14px; font-weight: 500; }
.form-status.error { color: #b42318; }
.hp { position: absolute; left: -9999px; }

/* Legal */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.4rem; margin-top: 1.8em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 6px; }
.updated { color: rgba(255,255,255,0.75) !important; font-size: 0.95rem !important; margin-top: 8px !important; }

/* Footer */
.site-footer { background: var(--navy-ink); color: #b9c3d0; font-size: 0.95rem; }
.site-footer .container { padding-top: 60px; padding-bottom: 28px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.2fr; gap: 36px; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .logo img { height: 42px; }
.site-footer h3 { font-family: var(--head); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--tan); margin-bottom: 14px; font-weight: 700; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #d6dde6; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer address { font-style: normal; }
.social { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; }
.social svg { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid #22324a; margin-top: 44px; padding-top: 20px; font-size: 0.85rem; color: #8492a6; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

/* Industries served panel (About page) */
.industries-card { background: var(--navy-dark); color: #fff; border-radius: var(--radius); padding: 34px 32px 26px; box-shadow: var(--shadow); }
.industries-card .eyebrow { color: var(--tan); }
.industries-card h3 { color: #fff; font-size: 1.35rem; margin-bottom: 18px; }
.industries { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 28px; }
.industries li { break-inside: avoid; position: relative; padding: 7px 0 7px 20px; border-bottom: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.92); }
.industries li::before { content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--gold); }
@media (max-width: 400px) { .industries { columns: 1; } }

/* Services page: graded cards */
.service-card { scroll-margin-top: 96px; }
.service-card h3 { font-size: 1.3rem; }
.card-feature .checks li { color: rgba(255,255,255,0.9); font-size: 0.97rem; }
.card-feature .checks li::before { background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a2547' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; }
.card-feature .checks { margin-bottom: 0; }

/* Three graded cards (About page) */
.graded-3 .card-feature:nth-child(1) { --card-bg: #0a2547; }
.graded-3 .card-feature:nth-child(2) { --card-bg: #0a3c76; }
.graded-3 .card-feature:nth-child(3) { --card-bg: #0652a6; }
