/* =========================================================
   Home page base styles (replaces 206KB jss/main527d.css +
   unused legacy rules from css/custom.css on index.html)
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-y: scroll; overflow-x: hidden; -webkit-text-size-adjust: 100%; }
body { margin: 0; padding: 0; background: #fff; color: #333; position: relative; }
h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, section, aside, article, nav, header, footer { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: #005e8c; }
a img, img { border: 0; max-width: 100%; vertical-align: middle; }
section { display: block; position: relative; background: #fff; }
.wrapper-content { width: 100%; }

/* Full-bleed parallax divider band */
.apps_scrollbg {
  width: auto;
  height: 800px;
  min-height: 100%;
  max-height: 100%;
  left: 0;
  top: 0;
  background-image: url(../images/portfolio_scroll.jpg);
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
}

/* Portfolio heading (background image removed by home-apps.css) */
.portfolio_head { width: 100%; height: auto; background: #fff; }
.portfolio_head h1 { font-size: 100px; color: #000; padding: 60px 0; text-align: center; }

/* Portfolio grid spacing safety */
.proBox img { display: block; width: 100%; height: auto; }

/* ===== Our Happy Customers - logo scroller ===== */
.happyCustomers { width: 100%; padding: 60px 0 70px; background: #fff; text-align: center; overflow: hidden; clear: both; }
.happyCustomers_head { font-size: 60px; color: #000; line-height: 1.1; margin: 0; }
.happyCustomers_sub { font-size: 16px; color: #777; letter-spacing: 1px; margin: 10px 0 40px; }
.logoMarquee { position: relative; width: 100%; overflow: hidden; }
.logoMarquee::before, .logoMarquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none; }
.logoMarquee::before { left: 0; background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0)); }
.logoMarquee::after { right: 0; background: linear-gradient(to left, #fff, rgba(255, 255, 255, 0)); }
.logoTrack { display: flex; align-items: center; width: max-content; margin: 0; padding: 0; list-style: none; animation: logoScrollLTR 90s linear infinite; }
.logoMarquee:hover .logoTrack { animation-play-state: paused; }
.clientLogo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 110px;
  margin: 0 15px;
  padding: 10px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  box-sizing: border-box;
  transition: box-shadow .3s ease, transform .3s ease;
}
.clientLogo:hover { box-shadow: 0 6px 18px rgba(0, 0, 0, .12); transform: translateY(-3px); }
.clientLogo img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
@keyframes logoScrollLTR { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (max-width: 767px) {
  .happyCustomers { padding: 40px 0 50px; }
  .happyCustomers_head { font-size: 34px; }
  .happyCustomers_sub { margin-bottom: 25px; }
  .clientLogo { width: 130px; height: 80px; margin: 0 8px; }
  .logoMarquee::before, .logoMarquee::after { width: 40px; }
  .logoTrack { animation-duration: 60s; }
}
@media (prefers-reduced-motion: reduce) {
  .logoTrack { animation-duration: 240s; }
}
