/* =====================================================================
   dnetsoft.com - Website Audit fixes (December 2026)
   All visual changes from the audit live in this one file, loaded after
   app.css. To roll back the visual fixes, remove the <link> to this file
   in app/Views/layouts/default.php.
   ===================================================================== */

/* #19 Desktop menu: "Industries", "Solutions", "Services" open their dropdown only */
.menu .menu-parent {
  cursor: pointer;
}

/* #32 Mobile/tablet header: larger, easier-to-read logo (103px -> 145px) */
@media (max-width: 1023px) {
  nav img.site-logo,
  nav img.site-logo-menu {
    width: 145px;
    max-width: none;
  }
}

/* #33 Mobile menu: white close (X) icon on the blue menu background */
.menu-close-icon {
  color: #ffffff;
}

/* #42 Forms: app.css limits email fields to 30px tall on all screens up to
   1600px (a rule meant only for the brochure pop-up). Restore the site's
   normal 50px height; the brochure pop-up keeps its compact 30px fields. */
@media (max-width: 1600px) {
  input[type="email"] {
    height: 50px;
  }
  .common-download-container input[type="email"] {
    height: 30px;
  }
}

/* #42 Forms: on narrow phones the "Which solution do you want?" dropdown text ran
   under its arrow. Slightly smaller text and room for the arrow (same wording). */
@media (max-width: 400px) {
  select.bg-select-footer {
    font-size: 15px;
    padding-right: 40px;
  }
}

/* #35 #36 Mobile "Download Brochure": compact pill instead of a full-width bar,
   hidden on the first screen (the hero has its own brochure button) */
.mobile-brochure-pill {
  width: auto;
  background: transparent;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.mobile-brochure-pill.is-hidden {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}

/* #38 Mobile "Redefine excellence" banner: keep the large line from breaking
   over five lines (same words, smaller size on phones only) */
@media (max-width: 767px) {
  .bg-redefine .display-2 {
    font-size: 1.5rem;
    line-height: 2rem;
  }
}

/* #40 Mobile "Our Global Customers": keep the arrows clear of the logos */
@media (max-width: 767px) {
  .owl-client {
    padding-left: 48px;
    padding-right: 48px;
  }
}

/* #43 Mobile/tablet footer: Company / Solutions / Services as tap-to-open lists */
.footer-mobile-links {
  color: #ffffff;
  margin-bottom: 1rem;
  padding: 0 1.5rem;
}
.footer-mobile-links details {
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}
.footer-mobile-links summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.footer-mobile-links summary::-webkit-details-marker {
  display: none;
}
.footer-mobile-links summary::after {
  content: "+";
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.2s ease;
}
.footer-mobile-links details[open] summary::after {
  transform: rotate(45deg); /* "+" turns into a close mark */
}
.footer-mobile-links .footer-link {
  display: flex;
  flex-direction: column;
  padding: 0 4px 12px;
}
.footer-mobile-links .footer-link a {
  padding: 8px 0;
  color: #ffffff;
}

/* Batch 2 (2026-12-01) */
/* Accreditation logos: always 5 + 4 on desktop, no lone logo on a third row */
@media (min-width: 1024px) {
  .flex.flex-wrap.gap-8.justify-center > img[src*="/accreditation/"] {
    width: calc((100% - 8rem) / 5);
    max-width: 255px;
    height: 120px;
    object-fit: contain;
  }
}
/* Schedule a Demo band: grow to fit the form so it no longer hangs into the footer */
@media (min-width: 1024px) {
  .bg-form.bg-cover.h-\[630px\] {
    height: auto;
    min-height: 630px;
    padding-bottom: 2rem;
  }
}
