/* ==========================================================================
   Small corrections layered on top of the verbatim live valarcommerce.com
   stylesheets (assets/css/live/*.css) so they sit cleanly inside the new
   project's navbar / footer / WhatsApp markup. Loaded last on ported pages.
   ========================================================================== */

/* ---- Navbar: exactly the live look (Bootstrap navbar-light defaults + live
   sizing). The new base stylesheet bolds and recolours links; undo that. ---- */
.navbar .navbar-brand img {
  width: auto;
  height: 85px;
}

.nav-item a {
  font-size: 16px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.55);
}

.nav-item a:hover,
.nav-item a:focus {
  color: rgba(0, 0, 0, 0.7);
}

.nav-item a.active {
  color: rgba(0, 0, 0, 0.9);
}

/* "Let's Talk" outline button: live's colour rule (.navbar-cta a.me-2) outranks
   Bootstrap's hover rule, so on hover the text stayed blue on a blue fill. */
.navbar-cta a.me-2:hover,
.navbar-cta a.me-2:focus,
.navbar-cta a.me-2:active {
  color: #fff;
  background-color: rgba(8, 77, 168, 1);
  border-color: rgba(8, 77, 168, 1);
}

/* Eight menu items (live had six): never let a label wrap onto two lines,
   and tighten spacing between the lg and xxl breakpoints so they fit. */
.navbar-nav .nav-link {
  white-space: nowrap;
}

@media (min-width: 992px) and (max-width: 1399px) {
  .navbar-nav .nav-link {
    padding-left: 0.4rem;
    padding-right: 0.4rem;
    font-size: 15px;
  }

  .navbar .navbar-brand img {
    height: 64px;
  }

  .navbar-cta {
    white-space: nowrap;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .navbar-nav .nav-link {
    font-size: 14px;
    padding-left: 0.3rem;
    padding-right: 0.3rem;
  }

  .navbar-cta a {
    font-size: 14px;
    padding: 6px 12px;
  }

  .navbar .navbar-brand img {
    height: 56px;
  }
}

/* ---- Footer: exactly the live look. The new base stylesheet sets a fixed
   logo height, muted text colour, and blue link hovers; undo those. ---- */
.footer-logo img {
  height: auto;
  width: 85%;
}

.footer .technology-desc p {
  color: inherit;
}

/* Live social icons: 50px green circles with 24px glyphs (the new base
   stylesheet's more specific rule shrinks the glyph to 18px). */
.footer .list-inline-item a i {
  font-size: 24px;
}

/* The live logo artwork carries built-in whitespace below the wordmark;
   our logo file is tighter, so add the equivalent breathing room. */
.footer-logo img {
  margin-bottom: 22px;
}

.footer .footer-logo ul {
  margin-bottom: 0;
}

.footer .footer-menus ul li a:hover,
.footer .footer-quick-links ul li a:hover {
  color: #000;
}

.footer-rights-policies .copyrights ul.policies a {
  font-size: 16px;
}

@media (max-width: 480px) {
  .navbar .navbar-brand img {
    height: 60px;
  }
}

/* Live's shared hover rule turns green buttons blue on hover. Keep green. */
.btn-success:hover {
  background-color: #396c11;
  border-color: #396c11;
}

/* Live hero h1 is 72px and used short headlines; keep live scale but wrap safely */
.hero-section h1 {
  max-width: none;
  overflow-wrap: anywhere;
}

/* Live declares `width: px` (invalid) on the hero banner image; make it fluid. */
.hero-section .img-container .expand-image {
  width: 100%;
  height: auto;
  margin-left: 0;
}


/* ---- Rules for the new AI pages that now also load the live stylesheets ---- */

/* Split heroes (text left, visual right) use longer AI headlines than live. */
.hero-section h1.text-lg-start {
  font-size: 56px;
  line-height: 1.15;
}

/* Live makes .expand-business a zero-padding flex band for its image layout.
   The new centred CTA bands need normal block flow and padding. */
.expand-business.text-center {
  display: block;
  padding: 70px 0;
}

.expand-business.text-center .container {
  padding-left: 12px;
  padding-right: 12px;
}

/* Live adds right margins to every flex child inside the hero; the new
   hero uses Bootstrap gap utilities instead. */
.hero-section .d-flex > * {
  margin-right: 0;
}

/* Keep the new enquiry form typography (live's 20px inputs are oversized). */
.enquiry-form .form-control,
.enquiry-form textarea.form-control {
  font-size: 16px;
  padding: 10px 14px;
  min-height: 0;
  width: 100%;
  box-sizing: border-box;
}

.enquiry-form textarea.form-control {
  min-height: 120px;
}

/* Tighter spacing on very small screens so the form doesn't overflow */
@media (max-width: 576px) {
  .enquiry-form {
    padding: 20px 18px;
    border-radius: 12px;
  }
  .enquiry-form .row.g-3 {
    --bs-gutter-x: 0.75rem;
    --bs-gutter-y: 0.75rem;
  }
  .enquiry-section .lead-text {
    margin-bottom: 18px;
  }
  .btn-whatsapp {
    width: 100%;
    justify-content: center;
    padding: 10px 16px;
  }
  .enquiry-form .btn.uniform-btn {
    width: 100%;
    justify-content: center;
  }
  .enquiry-note {
    text-align: center;
    margin-top: 8px;
  }
}

@media (max-width: 991px) {
  .hero-section h1.text-lg-start {
    font-size: 44px;
  }
}

@media (max-width: 480px) {
  .hero-section h1.text-lg-start {
    font-size: 34px;
  }
}
