/* ==== Base ==== */
:root {
  --bg-dark: #050509;
  --bg-darker: #020207;
  --bg-light: #111217;
  --surface-dark: #12141d;
  --surface-light: #f9fafb;
  --accent: #f5c26b;
  --accent-soft: rgba(245, 194, 107, 0.12);
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --shadow-soft: 0 24px 60px rgba(0,0,0,0.6);
  --transition-fast: 0.2s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg-darker);
  color: var(--text-main);
}

img {
  max-width: 100%;
  display: block;
}

/* Utility */
.container {
  width: min(1120px, 100% - 3rem);
  margin-inline: auto;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==== Top Bar & Nav ==== */

.top-bar {
  background: #000;
  color: var(--text-muted);
  font-size: 0.85rem;
  padding: 0.5rem 0;
}
.top-bar-inner {
  display: flex;
  align-items: center;
}

.top-bar-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem; /* space between logo and text */
}

/* optional: adjust size of the lion logo in top bar */
.brand-eagle {
  height: 32px;
  width: auto;
  display: block;
}

.top-bar a {
  color: var(--accent);
  text-decoration: none;
}

.nav {
  background: var(--bg-dark);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-inner {
  padding: 0.9rem 0;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-badge {
  height: 54px;
}

.logo-badge-small {
  height: 42px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.logo-sub {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.6rem;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.nav-links a {
  color: var(--text-main);
  text-decoration: none;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition-fast);
}

.nav-links a:hover::after {
  width: 100%;
}

/* ==== Hero ==== */

.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  color: var(--text-main);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(20%);
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(245,194,107,0.3), transparent 55%),
              linear-gradient(to bottom right, rgba(0,0,0,0.85), rgba(0,0,0,0.95));
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.8rem;
  padding: 4rem 0 4.5rem;
}

.hero-left h1 {
  font-size: clamp(2.4rem, 3.4vw + 1rem, 3.6rem);
  margin: 0.4rem 0 1rem;
}

.eyebrow {
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--accent);
}

.hero-text {
  max-width: 32rem;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.hero-slogan {
  margin-top: 3.6rem;
  font-size: 1rem;
  color: var(--accent);
}

.hero-actions {
  margin-top: 3.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}
/* Hero badge like Galaxy site */
.hero-badge {
  position: absolute;
  left: 0.5rem;
  top: 3.6rem;
  z-index: 3;
}

.hero-badge img {
  height: clamp(180px, 32vh, 270px);
  filter: drop-shadow(0 18px 40px rgba(0,0,0,0.7));
}

/* Hero badge like Galaxy site */
.hero-badge {
  position: absolute;
  left: 0.5rem;
  top: 3.6rem;
  z-index: 3;
}

.hero-badge img {
  height: clamp(180px, 32vh, 270px);
  filter: drop-shadow(0 18px 40px rgba(0,0,0,0.7));
}

/* Phones (portrait + landscape): center badge at top of hero and make room for it */
@media (max-width: 900px) {
  .hero-badge {
    position: absolute;
    left: 50%;
    top: 1.2rem;
    transform: translateX(-50%);
  }

  .hero-badge img {
    height: 150px;   /* smaller on phones */
  }

  .hero-grid {
    padding-top: 7rem;  /* push text/image down so badge doesn’t cover them */
  }
}
/* Desktop: push content right so badge doesn't overlap heading */
@media (min-width: 901px) {
  .hero-grid {
    padding-left: 9rem;  /* give room for the badge */
  }

  .hero-badge {
    left: 2rem;          /* a bit more to the right than 0.5rem */
    top: 4.8rem;         /* slightly lower so it lines with the text */
  }
}


/* Buttons */

.btn-primary,
.btn-ghost {
  border-radius: 999px;
  padding: 0.7rem 1.6rem;
  font-size: 0.92rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast), transform 0.08s ease;
}

.btn-primary {
  background: var(--accent);
  color: #111;
  font-weight: 600;
}

.btn-primary:hover {
  background: #ffd27e;
  transform: translateY(-1px);
}

.btn-ghost {
  border-color: rgba(255,255,255,0.25);
  color: var(--text-main);
  background: rgba(0,0,0,0.3);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-right .hero-card {
  background: rgba(6,7,12,0.9);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}

.hero-image-main {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.hero-card-footer {
  padding: 0.85rem 1.2rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* ==== Sections ==== */

.section {
  padding: 4rem 0;
}

.section-dark {
  background: linear-gradient(to bottom, var(--bg-darker), #050608);
}

.section-light {
  background: #07080d;
}

.section-title {
  text-align: center;
  font-size: 1.9rem;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 36rem;
  margin: 0 auto 2.4rem;
  font-size: 0.98rem;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.8rem;
  align-items: center;
}

.section-text p {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.97rem;
}

/* About check list */

.check-list {
  list-style: none;
  padding: 0;
  margin-top: 3.6rem;
}

.check-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.45rem;
  color: var(--text-main);
  font-size: 0.95rem;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
}

/* Image stack */

.section-media {
  display: flex;
  justify-content: center;
}

.image-stack {
  position: relative;
  width: min(360px, 100%);
}

.stack-img {
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

.stack-img-main {
  border: 1px solid rgba(255,255,255,0.08);
}

.stack-img-accent {
  position: absolute;
  right: -10%;
  bottom: -12%;
  width: 55%;
  border: 1px solid rgba(245,194,107,0.4);
  box-shadow: 0 22px 45px rgba(0,0,0,0.7);
}

.image-stack.vertical .stack-img-accent {
  right: auto;
  left: 8%;
  bottom: -16%;
}

/* ==== Cards (Services) ==== */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.8rem;
  margin-top: 3.6rem;
}

.card {
  background: var(--surface-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: 0 18px 40px rgba(0,0,0,0.55);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.card h3 {
  margin: 0.9rem 1.2rem 0.4rem;
  font-size: 1.05rem;
}

.card p {
  margin: 0 1.2rem 1.2rem;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 26px 60px rgba(0,0,0,0.75);
}

/* ==== Industries pills ==== */

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 3.6rem;
}

.pill {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  font-size: 0.86rem;
  color: var(--text-muted);
  background: rgba(0,0,0,0.35);
}

/* ==== CTA Strip ==== */

.cta-strip {
  background: radial-gradient(circle at center, var(--accent-soft), #030308);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 1.7rem 0;
}

.cta-strip h3 {
  margin: 0 0 0.3rem;
}

.cta-strip p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.93rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* ==== Contact form ==== */

.contact-form {
  margin-top: 3.6rem;
  background: var(--surface-dark);
  padding: 1.6rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: var(--shadow-soft);
}

.form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.9rem;
}

.form-row label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.35rem;
  color: var(--text-muted);
}

.form-row input,
.form-row textarea {
  border-radius: 9px;
  border: 1px solid rgba(255,255,255,0.18);
  background: #05060b;
  color: var(--text-main);
  padding: 0.55rem 0.75rem;
  font-size: 0.93rem;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
}

/* ==== Footer ==== */

.footer {
  background: #000;
  padding: 1.8rem 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
}

.footer a {
  color: var(--accent);
  text-decoration: none;
}

/* ==== Responsive ==== */

@media (max-width: 900px) {
  .nav-inner {
    flex-direction: column;
    gap: 0.8rem;
  }
  .nav-links {
    font-size: 0.78rem;
    gap: 1rem;
  }
  .hero-grid,
  .section-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: auto;
  }
  .hero-right {
    order: -1;
  }
  .stack-img-accent {
    display: none;
  }
  .footer-inner,
  .cta-strip .flex-between {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* --- BJNPROSGS badge size & alignment overrides --- */
.hero-badge-lg {
  width: 260px;        /* make badge larger */
  max-width: 45vw;     /* responsive cap */
  margin-top: 3.6rem;  /* align better with paragraph */
}


.brand-eagle { height:48px; width:auto; margin-right:12px; display:inline-block; }
.license-logo { height:42px; width:auto; vertical-align:middle; margin-right:10px; transform:translateY(-2px); }
.license-left{display:inline-block;vertical-align:middle;margin-right:14px;} .license-logo{height:58px;width:auto;display:inline-block;vertical-align:middle;margin-top:-6px;}

.nav-small-logo {
  height: 85px;   /* adjust size as you like */
  width: auto;
  display: block;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* new brand text block in nav */
.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-company-name {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-main);
}

.nav-license {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Force-hide big hero badge on phones/tablets */
@media (max-width: 900px) {
  .hero-badge,
  .hero-badge-lg,
  img.hero-badge,
  img.hero-badge-lg {
    display: none !important;
  }
}
/* Also hide badge on landscape phones (short screens) */
@media (orientation: landscape) and (max-height: 500px) {
  .hero-badge,
  .hero-badge-lg,
  img.hero-badge,
  img.hero-badge-lg {
    display: none !important;
  }
}
