/* ===== RESET / BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --blue: #0a66ff;
  --blue-dark: #0047c2;
  --navy: #04143c;
  --ink: #0e1726;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;   /* never let anything cause a horizontal page scroll */
}

a { text-decoration: none; color: inherit; }

/* ===== TOP PROMO STRIP + COUNTDOWN ===== */
.promo-strip {
  /* deep navy -> brand blue, ties into the logo + CTA blue below */
  background: linear-gradient(90deg, #04143c 0%, #0a2f7a 55%, #0a52d6 100%);
  color: #eaf1ff;
}
.promo-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px 16px;           /* row-gap col-gap */
  flex-wrap: wrap;         /* if it can't fit, the timer wraps below — never clipped */
}
.promo-text {
  font-size: 16px;
  font-weight: 600;
  color: #eaf1ff;
  letter-spacing: .2px;
  white-space: nowrap;     /* one line on desktop; allowed to wrap on small screens below */
}
.promo-tag { font-weight: 800; color: #ffd23f; }
.promo-text strong { font-weight: 800; color: #fff; }
.promo-text .sep { margin: 0 8px; font-weight: 400; opacity: .45; }
.promo-apply {
  font-weight: 800;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.promo-apply:hover { color: #ffd23f; }

/* countdown pills (no container background) */
.countdown {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.cd-pill {
  background: #ffd23f;
  color: #06231e;
  border-radius: 999px;
  padding: 5px 12px;
  min-width: 52px;
  text-align: center;
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  flex-shrink: 0;
}
.cd-num {
  font-size: 18px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.cd-lbl {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .5px;
}
/* pulse the seconds so the timer feels "alive" */
#cd-secs { animation: cd-tick 1s ease-in-out infinite; }
@keyframes cd-tick { 50% { opacity: .55; } }

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid #eef0f3;
}

.nav-inner {
  width: 100%;              /* full viewport width -> no empty side margins */
  height: 78px;
  padding: 0 48px 0 32px;   /* logo hugs left corner, buttons hug right */
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 40px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.logo-img { height: 62px; width: auto; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;   /* push links + buttons to the right side */
}
.nav-links a {
  font-size: 16px;
  font-weight: 600;
  color: #1c2431;
  white-space: nowrap;   /* keep each link on a single line */
  transition: color .18s ease;
}
.nav-links a:hover { color: var(--blue); }
.caret { font-size: 11px; opacity: .8; margin-left: 2px; display: inline-block; transition: transform .18s ease; }

/* ===== PROGRAMS DROPDOWN ===== */
.nav-dd { position: relative; display: inline-flex; align-items: center; }
.dd-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 0;
  min-width: 340px;
  /* soft sky-blue: near-white at top fading to light blue at the bottom */
  background: linear-gradient(180deg, #f7fcff 0%, #dcf1fd 52%, #a6d9f7 100%);
  border: 1px solid #cfeafb;
  border-radius: 14px;
  box-shadow: 0 22px 46px rgba(10,60,120,.22);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 60;
}
/* invisible bridge so the menu stays open while the cursor crosses the gap */
.dd-menu::before {
  content: "";
  position: absolute;
  top: -16px; left: 0; right: 0; height: 16px;
}
.nav-dd:hover .dd-menu,
.nav-dd:focus-within .dd-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dd:hover .caret { transform: rotate(180deg); }
.nav-links .dd-menu a {
  display: block;
  padding: 11px 14px;
  border-radius: 9px;
  font-size: 14.5px;
  font-weight: 700;
  color: #0e2a52;                /* dark navy — reads clearly on the light-blue */
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.nav-links .dd-menu a:hover {
  background: rgba(255,255,255,.55);
  color: #07306b;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  border-radius: 8px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}

.btn-outline {
  padding: 10px 22px;
  border: 1.5px solid #c7ccd4;
  color: #1c2431;
  background: #fff;
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

.btn-primary {
  padding: 11px 22px;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 6px 16px rgba(10,102,255,.28);
}
.btn-primary:hover { background: #0356e0; transform: translateY(-1px); }

.btn-ghost {
  background: #fff;
  color: var(--blue);
  border: 1.5px solid #fff;
}
.btn-ghost:hover { background: #eef4ff; }

.btn-lg { padding: 15px 34px; font-size: 16.5px; border-radius: 10px; }
.arrow { font-size: 15px; }

/* ===== HERO — QA / SDET TECH SCENE ===== */
.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  /* original: teal top-center fading through blue to a soft white base */
  background:
    radial-gradient(120% 80% at 50% 8%, #17c1c9 0%, #10a7c4 22%, #1f8fd6 45%, #2f7fe0 62%, #6fa8ea 88%, #eaf2fb 100%);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 24px 120px;
  overflow: hidden;
}

/* soft depth glow at the top */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 40% at 50% -8%, rgba(255,255,255,.20), transparent 70%);
  pointer-events: none;
}

/* ambient glow blobs for depth */
.glow {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  filter: blur(75px);
  opacity: .38;
  pointer-events: none;
}
.glow.g1 {
  width: 460px; height: 460px; top: -90px; left: -70px;
  background: radial-gradient(circle, rgba(56,211,222,.55), transparent 70%);
}
.glow.g2 {
  width: 540px; height: 540px; bottom: -140px; right: -90px;
  background: radial-gradient(circle, rgba(10,102,255,.45), transparent 70%);
}

/* ===== QA / SDET SHOWCASE LAYER ===== */
.qa-scene {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

/* glassy cards */
.qa-card {
  position: absolute;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(8, 30, 66, .34);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  box-shadow: 0 14px 36px rgba(2,15,40,.30);
  color: #eaf3ff;
}

/* terminal: passing test run */
.terminal {
  left: 1.5%;
  top: 21%;
  width: 220px;
  padding-bottom: 12px;
  font-family: ui-monospace, "SFMono-Regular", "Consolas", monospace;
}
.term-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.term-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.term-bar i:nth-child(2) { background: #febc2e; }
.term-bar i:nth-child(3) { background: #28c840; }
.term-bar span { margin-left: 6px; font-size: 11px; color: rgba(255,255,255,.6); }
.term-body { padding: 12px 14px 2px; font-size: 12.5px; line-height: 1.85; }
.term-body .ok { color: #3ddc84; font-weight: 700; margin-right: 6px; }
.term-body .dim { color: rgba(255,255,255,.45); }
.term-body .pass { color: #3ddc84; font-weight: 700; margin-top: 4px; }

/* CI/CD pipeline chip */
.pipeline {
  right: 1.5%;
  top: 25%;
  display: flex;
  align-items: center;
  padding: 13px 16px;
  flex-wrap: wrap;
  max-width: 180px;
}
.pl-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.pl-dot.ok  { background: #3ddc84; box-shadow: 0 0 9px rgba(61,220,132,.7); }
.pl-dot.run { background: #ffd23f; box-shadow: 0 0 9px rgba(255,210,63,.75);
  animation: pulse 1.4s ease-in-out infinite; }
.pl-line { width: 20px; height: 2px; background: rgba(255,255,255,.35); }
.pl-label { width: 100%; margin-top: 9px; font-size: 12px; font-weight: 600; color: rgba(255,255,255,.82); }
@keyframes pulse { 50% { opacity: .3; } }

/* gentle floating motion */
.float-a { animation: floatA 7s ease-in-out infinite; }
.float-b { animation: floatB 9s ease-in-out infinite; }
.float-c { animation: floatC 8s ease-in-out infinite; }
@keyframes floatA { 0%,100% { transform: translateY(0); }        50% { transform: translateY(-14px); } }
@keyframes floatB { 0%,100% { transform: translateY(0); }        50% { transform: translateY(12px); } }
@keyframes floatC { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-10px) rotate(3deg); } }

/* hide the showcase on smaller screens so it never crowds the text */
/* only show the side cards when the window is wide enough to clear the text */
@media (max-width: 1150px) { .qa-card { display: none; } }
@media (max-width: 900px)  { .qa-scene { display: none; } }

/* respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .side-badge .spark, #cd-secs, .pl-dot.run,
  .float-a, .float-b, .float-c { animation: none; }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 660px;   /* keep the text column between the two side cards */
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 1.5px;
  font-size: 17px;
  margin-bottom: 28px;
}
.bc-arrow {
  background: none;
  border: none;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
  line-height: 1;
  opacity: .9;
  transition: opacity .15s;
}
.bc-arrow:hover { opacity: 1; }
.bc-divider { opacity: .6; font-weight: 400; }

.hero-title {
  color: #fff;
  font-weight: 800;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.08;
  letter-spacing: -1px;
  margin-bottom: 30px;
  text-shadow: 0 2px 24px rgba(0,40,90,.18);
}
.hero-title .nowrap { white-space: nowrap; }

.hero-sub {
  color: rgba(255,255,255,.94);
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.55;
  max-width: 760px;
  margin: 0 auto 40px;
  font-weight: 400;
}
.hero-sub strong { font-weight: 700; color: #fff; }

.hero-cta {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== FLOATING SIDE BADGE ===== */
.side-badge {
  position: fixed;
  right: 0;
  top: 40%;
  z-index: 40;
  width: 54px;
  height: 60px;
  background: #16181d;
  border: none;
  border-radius: 10px 0 0 10px;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: -4px 4px 14px rgba(0,0,0,.25);
}
.side-badge .spark {
  color: #ffd23f;
  font-size: 24px;
  animation: spin 6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== BOTTOM ANNOUNCEMENT BAR ===== */
.announce-bar {
  background: var(--navy);
  color: #eaf0fb;
  text-align: center;
  padding: 16px 20px;
}
.announce-bar p {
  font-size: 18px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.announce-bar .phone { font-weight: 800; color: #fff; letter-spacing: .5px; }
.announce-link {
  font-weight: 700;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.announce-link:hover { color: #8fbcff; }

/* ===== RESPONSIVE ===== */
/* tighten the nav on laptop widths so links + buttons never overflow */
@media (max-width: 1200px) {
  .nav-inner { padding: 0 24px; gap: 18px; }
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 15px; }
  .nav-actions .btn { font-size: 14px; padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-inner { padding: 0 20px; height: 66px; }
  .logo-img { height: 48px; }
}
/* mid widths: shrink so text + timer keep fitting on one line */
@media (max-width: 1250px) {
  .promo-text { font-size: 14.5px; }
  .promo-text .sep { margin: 0 5px; }
  .cd-pill { min-width: 50px; padding: 5px 10px; }
  .cd-num { font-size: 16px; }
}
/* small: let the promo text wrap to multiple centered lines */
@media (max-width: 900px) {
  .promo-inner { padding: 9px 14px; }
  .promo-text { white-space: normal; text-align: center; font-size: 13.5px; }
  .cd-pill { min-width: 46px; padding: 4px 9px; }
  .cd-num { font-size: 15px; }
  .cd-lbl { font-size: 8px; }
}
@media (max-width: 600px) {
  .nav-actions .btn-outline { display: none; }
  .breadcrumb { font-size: 13px; gap: 10px; letter-spacing: 1px; }
  .hero-cta { flex-direction: column; align-items: center; }
  .btn-lg { width: 100%; max-width: 320px; justify-content: center; }
  .announce-bar p { font-size: 15px; }
}

/* ===== REQUEST CALLBACK MODAL ===== */
body.cb-open { overflow: hidden; }
.cb-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(3, 15, 40, .55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: cb-fade .2s ease;
}
.cb-overlay[hidden] { display: none; }
.cb-modal {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: #eaf6f0;
  border-radius: 18px;
  padding: 30px 28px 26px;
  box-shadow: 0 30px 70px rgba(2, 12, 35, .42);
  animation: cb-pop .22s ease;
}
.cb-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 34px;
  height: 34px;
  border: none;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  color: #5a6b64;
  cursor: pointer;
  border-radius: 50%;
}
.cb-close:hover { background: rgba(0, 0, 0, .07); color: #10241c; }
.cb-modal h3 {
  text-align: center;
  font-size: 24px;
  font-weight: 800;
  color: #0e2a22;
  margin-bottom: 22px;
}
.cb-field { position: relative; margin-bottom: 14px; }
.cb-field input, .cb-field select {
  width: 100%;
  padding: 16px 52px 16px 16px;
  border: 1px solid #dfe7e2;
  border-radius: 12px;
  background: #fff;
  font-size: 15px;
  color: #1c2431;
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
}
.cb-field input::placeholder { color: #9aa5a0; }
.cb-field select:required:invalid { color: #9aa5a0; }
.cb-field input:focus, .cb-field select:focus {
  outline: none;
  border-color: #17a06e;
  box-shadow: 0 0 0 3px rgba(23, 160, 110, .14);
}
.cb-ic {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #eef2f0;
  color: #7c8a83;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.cb-ic svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cb-phone input { padding-left: 80px; }
.cb-phone .cb-pre {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 700;
  color: #25342e;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  pointer-events: none;
}
.cb-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 6px 2px 18px;
  font-size: 12px;
  color: #5a6b64;
  line-height: 1.45;
}
.cb-consent input {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  accent-color: #17a06e;
  flex-shrink: 0;
}
.cb-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(90deg, #ffe23a, #ffd21f);
  color: #2a2400;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(255, 210, 31, .40);
  transition: transform .15s ease, filter .2s ease;
}
.cb-submit span { font-size: 20px; }
.cb-submit:hover { filter: brightness(1.03); transform: translateY(-1px); }
.cb-success {
  text-align: center;
  color: #12603f;
  font-weight: 700;
  font-size: 16px;
  padding: 26px 6px;
}
@keyframes cb-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes cb-pop {
  from { opacity: 0; transform: translateY(10px) scale(.98); }
  to   { opacity: 1; transform: none; }
}

/* ===== SITE FOOTER ===== */
.site-footer {
  background: #04143c;
  color: #c3d0ea;
  padding: 56px 24px 0;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}
.footer-col h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .3px;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col a { color: #aebcdb; font-size: 14px; transition: color .15s ease; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  max-width: 1180px;
  margin: 44px auto 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 20px 0 26px;
  text-align: center;
  font-size: 13.5px;
  color: #8fa0c4;
}
@media (max-width: 820px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 520px) {
  .footer-inner { grid-template-columns: 1fr; }
}
