/* =========================
   VANADIUM MAIN SITE SAFE OVERRIDES
   Add after the bundled Vite CSS
   ========================= */

/* 1) Hero headline control */
h1.font-bold.text-white.leading-tight.mb-6 {
  font-size: clamp(28px, 3.2vw, 44px) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.02em !important;
  margin-bottom: 14px !important;
  max-width: 11ch !important;
}

/* 2) Hero paragraph */
h1.font-bold.text-white.leading-tight.mb-6 + p {
  font-size: clamp(14px, 1.05vw, 18px) !important;
  line-height: 1.4 !important;
  margin-bottom: 14px !important;
  max-width: 56ch !important;
}

/* 3) Hero wrapper spacing */
.bg-vic-navy .px-14.xl\:px-20.py-16.lg\:py-0 {
  padding-top: 14px !important;
  padding-bottom: 4px !important;
  min-height: auto !important;
}

/* 4) Keep CTAs tighter */
a[href="/contact"],
a[href="/services"] {
  margin-top: 4px !important;
}

/* 5) Pull next section slightly upward */
.bg-vic-navy + section,
.bg-vic-navy + div {
  margin-top: -8px !important;
}

/* 6) Buttons polish */
button,
a[class*="btn"],
a.bg-green-500,
a.bg-vic-green,
a[href="/contact"],
a[href="/services"] {
  border-radius: 10px !important;
  font-weight: 600 !important;
  letter-spacing: 0.2px !important;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease !important;
}

button:hover,
a[class*="btn"]:hover,
a.bg-green-500:hover,
a.bg-vic-green:hover,
a[href="/contact"]:hover,
a[href="/services"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0,0,0,.14);
}

/* 7) Sector block polish */
[class*="sector"],
[class*="Sector"] {
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease !important;
  border-radius: 12px !important;
}

[class*="sector"]:hover,
[class*="Sector"]:hover {
  transform: translateY(-2px);
}

/* 8) Global spacing */
section {
  padding-top: 56px;
  padding-bottom: 56px;
}

.container,
.max-w-7xl {
  padding-left: 20px !important;
  padding-right: 20px !important;
}

/* 9) Typography polish */
body {
  letter-spacing: 0.1px;
}

h2, h3 {
  letter-spacing: -0.02em;
}

/* 10) Mobile */
@media (max-width: 768px) {
  h1.font-bold.text-white.leading-tight.mb-6 {
    font-size: 28px !important;
    line-height: 1.06 !important;
    max-width: 10ch !important;
  }

  h1.font-bold.text-white.leading-tight.mb-6 + p {
    font-size: 14px !important;
    margin-bottom: 12px !important;
  }

  .bg-vic-navy .px-14.xl\:px-20.py-16.lg\:py-0 {
    padding-top: 10px !important;
    padding-bottom: 0 !important;
  }

  section {
    padding-top: 44px;
    padding-bottom: 44px;
  }
}
/* Top navigation polish */
nav a,
header a {
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease !important;
  border-radius: 10px !important;
}

nav a:hover,
header a:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.14) !important;
}

/* Optional: make nav links feel slightly more refined even when not hovered */
nav a {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}
/* IMAGE DARK OVERLAY */
.hero-section::before,
[class*="hero"]::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 30, 60, 0.55);
  z-index: 1;
}

.hero-section * {
  position: relative;
  z-index: 2;
}
.hero-section img {
  transition: transform 0.6s ease;
}

.hero-section:hover img {
  transform: scale(1.03);
}
/* PageSpeed/accessibility polish: improve contrast of green labels on dark navy sections. */
.bg-vic-navy .text-vic-green,
.bg-vic-navy span.text-vic-green,
.bg-vic-navy [class*="text-vic-green"] {
  color: #8ff0b2 !important;
}
.bg-vic-navy .bg-vic-green\/15,
.bg-vic-navy [class*="bg-vic-green/15"] {
  background-color: rgba(143, 240, 178, 0.18) !important;
}
.bg-vic-navy .border-vic-green\/20,
.bg-vic-navy [class*="border-vic-green/20"] {
  border-color: rgba(143, 240, 178, 0.55) !important;
}
.bg-vic-navy .text-white\/40,
.bg-vic-navy .text-white\/50,
.bg-vic-navy .text-white\/60 {
  color: rgba(255,255,255,0.78) !important;
}
