/* ==========================================================================
   PRODUCT SCREEN – Shared inner-screen styling
   Ported from omsquare.co-new Industries/style.css
   Reusable for Logistics, Construction, Manufacturing AND future
   Products Band inner screens.
   ========================================================================== */

/* ==========================================================================
   GLOBAL HTML BEHAVIOR
   ========================================================================== */
html {
  scroll-behavior: smooth;
}

/* ── Page base ── */
.product-screen {
  font-family: 'Roboto', sans-serif;
  color: #0a2540;
  background-color: #f6f9fc;
  overflow-x: hidden;
}

.product-screen a {
  text-decoration: none;
}

/* ==========================================================================
   HEADER SECTION WITH CURVE
   ========================================================================== */
.product-screen #curve {
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  background-color: #23374d;
  color: #f6f9fc;
}

.product-screen #curve:after {
  content: "";
  position: absolute;
  bottom: 0;
  right: -5%;
  left: -5%;
  height: 90px;
  background: #f6f9fc;
  -webkit-clip-path: ellipse(50% 60% at 50% 100%);
  clip-path: ellipse(50% 60% at 50% 100%);
}

.product-screen #curve .solution-title {
  color: white !important;
}

.product-screen #curve .solution-content {
  color: white;
  font-size: 18px;
}

.product-screen .clearfix {
  margin: auto;
  height: 3px;
  width: 20%;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
.product-screen .solution-title {
  color: #283858 !important;
  font-size: 40px;
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 40px;
}

.product-screen .solution-content {
  font-size: 18px;
  line-height: 1.6;
  color: #425466;
  margin-bottom: 40px;
}

.product-screen .module-title {
  color: #283858 !important;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 16px;
}

.product-screen .module-content {
  font-size: 18px;
  line-height: 1.6;
  color: #425466;
  max-width: 640px;
  margin-bottom: 48px;
}

.product-screen .submodule-title {
  font-size: 24px;
  font-weight: 600;
  color: #9966ff;
  margin-top: 40px;
  margin-bottom: 24px;
}

.product-screen .feature-title {
  font-weight: 600;
  font-size: 18px;
  color: #0a2540;
  line-height: 1.4;
}

.product-screen .feature-content {
  font-size: 18px;
  line-height: 1.6;
  color: #425466;
  margin-bottom: 12px;
}

.product-screen .challenges-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 24px;
  color: #0a2540;
}

.product-screen .challenges-content {
  font-size: 16px;
  line-height: 1.8;
  color: #425466;
}

.product-screen .gist-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #0a2540;
}

.product-screen .gist-content {
  font-size: 18px;
  line-height: 1.6;
  color: #425466;
  margin-bottom: 48px;
}

.product-screen .gist-subheading {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 8px;
  color: #0a2540;
}

.product-screen .gist-description {
  font-size: 16px;
  color: #425466;
}

/* ==========================================================================
   TAB ACCENT COLOURS (overview column headers)
   ========================================================================== */
.product-screen .tab-accent-1 {
  background-color: #16cbe1;
}

.product-screen .tab-accent-2 {
  background-color: #20b5e3;
}

.product-screen .tab-accent-3 {
  background-color: #1086db;
}

.product-screen .tab-accent-4 {
  background-color: #1959e6;
}

.product-screen .tab-accent-5 {
  background-color: #16cbe1;
}

.product-screen .tab-accent-1:hover {
  color: #a2eaf3 !important;
}

.product-screen .tab-accent-2:hover {
  color: #a6e1f4 !important;
}

.product-screen .tab-accent-3:hover {
  color: #9fcff1 !important;
}

.product-screen .tab-accent-4:hover {
  color: #a3bdf5 !important;
}

.product-screen .tab-accent-5:hover {
  color: #a2eaf3 !important;
}

/* ==========================================================================
   OVERVIEW SECTION (card grid at top)
   ========================================================================== */
.product-screen .overview-section {
  padding: 56px 0 48px;
  background-color: transparent;
}

.product-screen .overview-table-wrapper {
  background-color: #ffffff;
  padding-left: 4px;
  padding-right: 4px;
  border-radius: 4px;
  margin-left: -4px;
  margin-right: -4px;
}

.product-screen .overview-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 40px;
  color: #0a2540;
}

/* Sticky header row */
.product-screen .overview-header-row {
  position: sticky;
  top: 104px;
  /* below navbar (62px) + band (42px) */
  z-index: 1018;
  background-color: #ffffff;
  overflow: hidden;
  margin: 0;
  padding-bottom: 4px;
  padding-top: 4px;
}

.product-screen .overview-column-header {
  color: #ffffff;
  font-weight: 600;
  padding: 12px 20px;
  font-size: 14px;
  text-align: center;
  transition: all 0.2s ease;
  height: 100%;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.product-screen .overview-column-header:hover {
  text-decoration: none;
}

.product-screen .overview-columns-wrapper {
  margin-top: 0;
}

.product-screen .overview-columns-wrapper.row {
  align-items: flex-start;
}

/* Column gaps */
.product-screen .scroll-track>div[class*="col-"] {
  padding-left: 2px;
  padding-right: 2px;
}

.product-screen .scroll-track>div[class*="col-"]:first-child {
  padding-left: 0;
  padding-right: 2px;
}

.product-screen .scroll-track>div[class*="col-"]:last-child {
  padding-right: 0;
  padding-left: 2px;
}

.product-screen .overview-header-row>div[class*="col-"] {
  padding-left: 2px;
  padding-right: 2px;
}

.product-screen .overview-header-row>div[class*="col-"]:first-child {
  padding-left: 0;
  padding-right: 2px;
}

.product-screen .overview-header-row>div[class*="col-"]:last-child {
  padding-right: 0;
  padding-left: 2px;
}

/* Clickable Overview Card Links */
.product-screen a.overview-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
  transition: transform 0.2s ease;
}

.product-screen a.overview-card-link:hover {
  text-decoration: none;
  color: inherit;
  transform: translateY(-2px);
}

.product-screen a.overview-card-link:hover .overview-card {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ── Overview cards ── */
.product-screen .overview-card {
  background-color: #f6f9fc;
  border-top: none;
  padding: 14px 16px;
  font-size: 16px;
  color: #425466;
  transition: background-color 0.2s ease;
  margin-bottom: 4px;
}

.product-screen .overview-card:last-child {
  border-radius: 0 0 4px 4px;
  margin-bottom: 0;
}

.product-screen .overview-card-title {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 8px;
  color: #0a2540;
}

.product-screen .overview-card ul {
  padding-left: 20px;
  margin-bottom: 0;
  list-style: none;
}

.product-screen .overview-card ul li {
  margin-bottom: 4px;
}

.product-screen .overview-card a {
  color: #425466;
  transition: color 0.2s ease;
}

.product-screen .overview-card a:hover {
  color: #0000ff;
  text-decoration: none;
}

/* Clickable overview cards */
.product-screen .overview-card-link {
  text-decoration: none;
  display: block;
  cursor: pointer;
}

.product-screen .overview-card-link .overview-card {
  border: 1px solid #e3e8ef;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
}

.product-screen .overview-card-link:hover .overview-card {
  background-color: #ffffff;
  border-color: #a7b5c9;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.product-screen .overview-card-link .overview-card-title {
  color: #0a2540;
  transition: color 0.2s ease;
}

/* ==========================================================================
   CONTENT SECTIONS (detailed feature sections)
   ========================================================================== */
.product-screen .content-section {
  padding: 80px 0;
}

/* Image sizing for possibilities section */
.product-screen .content-section .col-lg-3 img {
  height: 280px;
  width: auto;
  max-width: 100%;
}

.product-screen .bg-white-section {
  background-color: #ffffff;
}

.product-screen .bg-blue-section {
  background-color: transparent;
}

/* Scroll offsets */
.product-screen section[id] {
  scroll-margin-top: 120px;
}

/* Smooth scrolling */
.product-screen html {
  scroll-behavior: smooth;
}

/* ==========================================================================
   HORIZONTAL SCROLL (overview table mobile)
   ========================================================================== */
.product-screen .scroll-viewport {
  overflow: hidden;
  position: relative;
}

.product-screen .scroll-track {
  display: flex;
  flex-wrap: nowrap;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-screen .scroll-track>.col-lg-3 {
  flex: 0 0 25%;
  max-width: 25%;
}

.product-screen .scroll-arrow-btn {
  position: absolute;
  top: 50%;
  z-index: 1040;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e6ebf1;
  box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
  color: #6b7c93;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  outline: none !important;
  opacity: 0.9;
  margin-top: -16px;
}

.product-screen .scroll-arrow-btn:hover {
  color: #425466;
  transform: scale(1.05);
  box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
  opacity: 1;
}

.product-screen .scroll-arrow-right {
  right: -60px;
}

.product-screen .scroll-arrow-left {
  left: -60px;
  display: none;
}

/* ==========================================================================
   CASE STUDY SECTION
   ========================================================================== */
.product-screen .case-study-card {
  background: #ffffff;
  border: 1px solid #e3e8ef;
  border-radius: 8px;
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
}

.product-screen .case-study-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.product-screen .case-study-number {
  font-size: 14px;
  font-weight: 700;
  color: #9966ff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.product-screen .case-study-title {
  font-size: 22px;
  font-weight: 700;
  color: #0a2540;
  margin-bottom: 16px;
}

.product-screen .case-study-label {
  font-size: 14px;
  font-weight: 700;
  color: #253858;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  margin-top: 16px;
}

.product-screen .case-study-text {
  font-size: 16px;
  line-height: 1.7;
  color: #425466;
}

/* ==========================================================================
   BACK TO TOP BUTTON
   ========================================================================== */
.product-screen #backToTop {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: #253858;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  z-index: 999;
}

.product-screen #backToTop.show {
  opacity: 1;
  visibility: visible;
}

.product-screen #backToTop:hover {
  transform: translateY(-3px);
  background: #1d2d47;
}

/* ==========================================================================
   RESPONSIVE – MOBILE (<768px)
   ========================================================================== */
@media (max-width: 767.98px) {

  .product-screen .overview-table-wrapper {
    overflow: hidden;
    position: relative;
  }

  .product-screen .scroll-track {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  }

  .product-screen .scroll-track>div[class*="col-"] {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    width: 50% !important;
  }

  .product-screen .scroll-track>.col-lg-3,
  .product-screen .scroll-track>.col-md-6 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    width: 50% !important;
  }

  .product-screen .overview-header-row {
    position: sticky;
    top: 0;
    z-index: 1020;
    background-color: #ffffff;
  }

  .product-screen .overview-header-row .scroll-track>div[class*="col-"] {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    width: 50% !important;
  }

  .product-screen .overview-column-header {
    font-size: 11px;
    padding: 8px 6px;
    line-height: 1.3;
  }

  .product-screen .content-section,
  .product-screen [id] {
    scroll-margin-top: 80px;
  }

  .product-screen .overview-card {
    padding: 10px 8px;
    font-size: 11px;
  }

  .product-screen .overview-card-title {
    font-size: 12px;
    margin-bottom: 6px;
    font-weight: 600;
  }

  .product-screen .overview-card ul {
    margin-bottom: 0;
    padding-left: 16px;
  }

  .product-screen .overview-card li {
    margin-bottom: 3px;
    line-height: 1.4;
  }

  .product-screen .overview-card a {
    font-size: 11px;
  }

  .product-screen .overview-title {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .product-screen .scroll-arrow-btn {
    width: 32px;
    height: 32px;
    opacity: 1;
    background: #fff;
    border: 2px solid #e6ebf1;
  }

  .product-screen .scroll-arrow-btn svg {
    width: 18px;
    height: 18px;
  }

  .product-screen .scroll-arrow-right {
    right: -40px;
  }

  .product-screen .scroll-arrow-left {
    left: -40px;
  }

  .product-screen .solution-title {
    font-size: 28px !important;
  }

  .product-screen .solution-content {
    font-size: 16px;
  }

  .product-screen .module-title {
    font-size: 28px;
  }

  .product-screen .submodule-title {
    font-size: 20px;
    margin-top: 32px;
  }

  .product-screen .feature-title {
    font-size: 16px;
  }

  .product-screen .feature-content {
    font-size: 15px;
  }

  .product-screen .challenges-title {
    font-size: 28px;
  }

  .product-screen .challenges-content {
    font-size: 15px;
  }

  .product-screen .gist-title {
    font-size: 28px;
  }

  .product-screen .gist-content {
    font-size: 16px;
  }

  .product-screen .overview-section {
    padding: 32px 15px 24px;
  }

  .product-screen .content-section {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .product-screen .container {
    padding-left: 45px;
    padding-right: 45px;
  }

  .product-screen .case-study-card {
    padding: 20px;
  }

  .product-screen .case-study-title {
    font-size: 18px;
  }
}

/* ==========================================================================
   ADDED FROM omsquare asc.html INVESTIGATION 
   ========================================================================== */
.anchor-offset {
  position: relative;
  z-index: 1;
}

/* Ensure all linkable sections stop below the fixed navbar + products band */
.product-screen section[id] {
  scroll-margin-top: 140px;
}

.submodule-section {
  padding-top: 2rem;
}

/* Image styling in the right column of possibilities */
.col-lg-3 img {
  max-width: 100%;
  height: auto;
}

.col-lg-3 {
  display: flex;
  justify-content: center;
  align-items: center;
}