/* =============================================================
   COMCON — default.css  (MERGED · single source of truth)

   Replaces the old two-file setup (default.css + default1.css).
   default1's v1 overrides are folded into their sections and the
   superseded base rules removed, so every component lives once.

   Palette applied throughout:
     brand navy   #16469c   (was #003884 / #16469c)
     accent blue  #008dd5   (was #008dd5)
   Greys, blacks, whites and non-blue rgba are unchanged.

   Order:
     1  Globals (reset, body, links)
     2  Hero slider + hero-curtain pin
     3  Client-logo grid helpers (imageDiv)
     4  Product-category section
     5  Heading title
     6  Products / Solutions cards  (v1 image-fill)
     7  Product-solution scroller
     8  Stats band  (v1 navy)
     9  Partners grid  (v1 borderless) + hover panel
     10 Client-logo marquee
     11 Industries we serve  (v1 complete override)
     12 Responsive / media queries
   ============================================================= */


/* ============ 1. GLOBALS ============ */
* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  min-width: 100%;
  font-family: Segoe UI;
  overflow-x: hidden;
  font-size: 1rem;
}

a {
  color: #16469c;
  text-decoration: none;
  background-color: transparent;
}

a:hover {
  text-decoration: underline;
}


/* ============ 2. HERO SLIDER ============ */
/* .slider_mainContainer + .slider-container fold in the v1 hero-curtain
   values (fixed backdrop, 80vh). The three curtain heights must stay equal. */
.slider_mainContainer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80vh;            /* curtain height #1 */
  z-index: 0;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 80vh;            /* curtain height #2 — must match #1 */
  overflow: hidden;
}

.slider-wrapper {
  display: flex;
  height: 100%;
  transition: transform 0.6s ease;
}

.slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: move;
}

.slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  user-select: none;
  pointer-events: none;
  -webkit-user-drag: none;
  cursor: move;
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.55) 100%
  );
}

.slide-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  color: #fff;
  text-align: center;
  padding: 20px;
  border: solid 1px rgba(255, 255, 255, 0.568);
  background: rgba(0, 0, 0, 0.5);
  cursor: text;
}

.slide-content h3,
.slide-content h2,
.slide-content p,
.slide-content a {
  opacity: 0;
  transform: translateY(40px);
}

.slide.active .slide-content h3 {
  animation: fadeUp 0.6s ease forwards;
  animation-delay: 0.2s;
}

.slide.active .slide-content h2 {
  animation: fadeUp 0.6s ease forwards;
  animation-delay: 0.5s;
}

.slide.active .slide-content p {
  animation: fadeUp 0.6s ease forwards;
  animation-delay: 0.8s;
}

.slide.active .slide-content a {
  animation: fadeUp 0.6s ease forwards;
  animation-delay: 1.1s;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.slide-content p {
  font-size: 18px;
  margin-bottom: 20px;
}

.slide-content a {
  display: inline-block;
  background: #00000057;
  color: #fff;
  padding: 7.5px 15px;
  border: solid 1.5px #fff;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s;
}

.slide-content a:hover {
  background: #fff;
  color: #000;
  text-decoration: underline;
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  font-size: 16px;
  padding: 5px 7.5px;
  cursor: pointer;
  z-index: 3;
  border-radius: 50%;
  display: none;
}

.slider-container:hover .slider-nav {
  display: block;
}

#slide-prev {
  left: 20px;
}

#slide-next {
  right: 20px;
}

/* Page deck that slides up over the fixed banner (v1 curtain).
   flow-root contains child margins; full-width keeps the offset. */
.website_elements_container {
  position: relative;
  z-index: 2;
  display: flow-root;
  background: #ffffff;
  margin-top: 80vh;        /* curtain height #3 — must match #1 */
}

#footer {
  position: relative;
  z-index: 2;
}


/* ============ 3. CLIENT-LOGO GRID HELPERS ============ */
.flex_div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.imageDiv {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.img-responsive_client {
  width: 75%;
  aspect-ratio: 3/2;
  object-fit: contain;
  mix-blend-mode: color-burn;
  display: inline-block;
  max-width: 100%;
  height: auto;
  margin: -20px -15px;
  transform: scale(0.8);
}


/* ============ 4. PRODUCT-CATEGORY SECTION ============ */
.comcon_product_category_section {
  padding: 1rem 0 2rem 0;
}

.comcom_product_category {
  display: flex;
  width: 100%;
  height: 10rem;
  justify-content: center;
  align-items: center;
}

.comcon_product_categoryDiv {
  width: 100%;
  height: 100%;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin: 0.175rem;
}

.comcon_product_categoryDiv:hover .comcon_product_categoryImg_div {
  transform: scale(1.1);
  transition: transform 0.5s ease-in-out;
}

.comcon_product_categoryDiv:hover .comcon_product_categoryHeading {
  transition: color 0.3s ease-in-out;
  border: solid 1.75px #fff;
  padding: 0.25rem 0.5rem;
}

.comcon_product_categoryImg_div {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.comcon_product_categoryImg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comcon_product_categoryHeading {
  font-size: 1.5rem;
  color: #b6b6b6;
  font-weight: 600;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: solid 1.5px #b6b6b6;
  background: #0b162427;
  padding: 0.25rem 0.5rem;
}

.comcon_product_categoryHeading a {
  color: #fff;
  text-decoration: none;
}

.comcon_product_categoryHeading a:hover {
  color: #fff;
  text-decoration: underline;
}


/* ============ 5. HEADING TITLE ============ */
.comcon_headingTitle {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: #000;
}

.comcon_heading_title_div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.comcon_heading_title_div > h2 {
  font-weight: 600;
  font-size: 2.1rem;
  letter-spacing: -0.01em;
}

/* Optional supporting line under a heading (used only where a <p> is present). */
.comcon_heading_title_div > p {
  margin-top: 0.6rem;
  color: #5b5b5b;
  font-size: 1rem;
  max-width: 600px;
}


/* ============ 6. PRODUCTS / SOLUTIONS  (v1 image-fill cards) ============ */
/* Container wrapper (base) + the v1 image-fill card set (folded in).
   The v1 cards replace the old bordered / navy-fill version entirely. */
.what_we_do_section_container {
  width: 100%;
  padding: 1.5rem 0 2rem 0 !important;
  background-color: #f6f4ef;
}

.what_we_do_section_div {
  width: max-content;
  margin: auto;
  margin-top: 0.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

/* card: image fills it, label floats on top, no heavy border */
.what_we_do_section_content {
  position: relative;
  width: 20rem;
  height: 11rem;
  border: none;
  border-radius: 12px;
  overflow: hidden;
}

.what_we_do_section_imgDiv {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.what_we_do_section_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.45s ease;
}

.what_we_do_section_content:hover .what_we_do_section_img {
  transform: scale(1.07);
}

/* title + arrow ride on a soft dark gradient at the bottom, always readable */
.what_we_do_section_content_title,
.what_we_do_section_content:hover .what_we_do_section_content_title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 34px 16px 12px;
  background: linear-gradient(to top, rgba(8,20,45,0.92) 0%, rgba(8,20,45,0.5) 45%, rgba(8,20,45,0) 100%);
  color: #ffffff;
  outline: none;
  text-decoration: none;
}

.what_we_do_section_content_title:hover {
  text-decoration: none;
}

.what_we_do_section_heading {
  margin: 0;
  font-size: 1.15rem;
  color: #ffffff;
}

.what_we_do_section_content_arrow {
  margin: 0;
  color: #ffffff;
  transition: transform 0.3s ease;
}

.what_we_do_section_content:hover .what_we_do_section_content_arrow {
  transform: translateX(5px);
  color: #ffffff;
}

/* retained: coming-soon pill (unused on homepage but may be used elsewhere) */
.coming_soon_text {
  position: absolute;
  top: 40%;
  left: 35%;
  background: #ffffff;
  color: #16469c;
  padding: 5px 10px;
  font-size: 0.9rem;
  font-weight: bold;
  border-radius: 5px;
  z-index: 99999;
}


/* ============ 7. PRODUCT-SOLUTION SCROLLER ============ */
.product_solution_content_container {
  width: 100%;
  overflow: hidden;
}

.product_solution_content_navWrapper {
  width: 75%;
  margin: auto;
  overflow: hidden;
  position: relative;
}

.product_solution_content_navDiv {
  display: flex;
  gap: 1rem;
  white-space: nowrap;
  animation: scroll-left 20s linear infinite;
}

.product_solution_content_navWrapper:hover .product_solution_content_navDiv {
  animation-play-state: paused;
}

.product_solution_content_nav_a {
  border: solid 1px #16469c;
  min-width: 10rem;
  margin: 5px;
  padding: 0.25rem 0.75rem;
  padding-top: 10px;
  text-align: center;
  background: #f0f0f0;
  color: #16469c;
  border-radius: 5px;
  flex-shrink: 0;
}

.product_solution_content_nav_a h4 {
  font-size: 1rem;
  font-weight: 600;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.product_solution_content_category_div {
  width: 75%;
  margin: auto;
  padding: 1.5rem 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.product_solution_content_category_imgDiv {
  width: 100%;
  height: 10rem;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.product_solution_content_category_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product_solution_content_category_hoverDiv {
  position: absolute;
  width: 100%;
  height: 45%;
  top: 30%;
  left: 0;
  color: #fff;
  z-index: 99;
}

/* the one place the accent lands: category tile hover outline */
.product_solution_content_category_imgDiv:hover {
  outline: solid 6px #008dd5;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: border 0.2s, box-shadow 0.2s;
}

.product_solution_content_category_link {
  width: 100%;
  height: 100%;
  padding: 0.25rem 0.75rem;
  border-radius: 50%;
  font-size: 1.25rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
}

.product_solution_content_category_heading {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 0.5rem;
}


/* ============ 8. STATS BAND  (v1 navy) ============ */
/* base supplies the grid/width/spacing; v1 supplies the navy fill + text. */
.stats-section {
  width: 73%;
  margin: 1.5rem auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  color: #fff;
  text-align: center;
  background: #16469c;
  border-radius: 12px;
  overflow: hidden;
}

.stat-box,
.stat-box:nth-child(odd) {
  background: transparent;
  padding: 20px;
}

.stat-box:nth-child(1) {
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

.stat-box:nth-child(4) {
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}

.stat-box:not(:last-child) {
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.16);
}

.stat-box:hover {
  background: rgba(255, 255, 255, 0.07);
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
}

.stat-label {
  margin-top: 10px;
  font-size: 16px;
  color: #cdd9ef;
  text-align: center;
}


/* ============ 9. PARTNERS  (v1 borderless grid) + hover panel ============ */
.partners__container {
  width: 75%;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 1.5rem;
}

/* even 6 / 4 / 3 / 2 grid (v1, replaces old flex-wrap) */
.partners__container .partners__imgGroup {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  width: 100%;
  max-width: 1024px;
  align-items: stretch;
}

/* DESKTOP: 6-wide static grid = 4 rows for 24 logos (unchanged, no scroll).
   TABLET + MOBILE share ONE behaviour: horizontal swipe rows, 3 rows deep,
   overflowing sideways so users swipe left/right instead of scrolling past
   all 24 logos. Only the tile size changes between tablet and phone — the
   layout state is identical. */
@media (max-width: 1024px) {
  .partners__container .partners__imgGroup {
    display: grid;
    grid-auto-flow: column;                 /* fill down a column, then move right */
    grid-template-rows: repeat(3, auto);     /* 3 rows on tablet AND mobile */
    grid-template-columns: none;
    grid-auto-columns: 28%;                  /* tablet tile size (peek of next) */
    gap: 16px;
    max-width: 100%;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;       /* momentum scroll on iOS */
    padding-bottom: 0.75rem;
    scrollbar-width: thin;
  }
  .partners__container .partners__imgDiv {
    scroll-snap-align: start;
  }
}

/* phones: same 3-row scroll state, just larger tiles so logos stay legible */
@media (max-width: 600px) {
  .partners__container .partners__imgGroup {
    grid-auto-columns: 42%;
    gap: 14px;
  }
}

/* borderless tiles with a soft lift (v1, replaces old 7px blue border) */
.partners__container .partners__imgDiv {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;              /* hover panel is absolute to this */
  overflow: hidden;                /* clip the hover panel to the rounded card */
  border: none;
  background: #ffffff;
  padding: 22px 18px;
  border-radius: 8px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.partners__container .partners__imgDiv:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(10, 40, 90, 0.12);
}

.partners__container .partners__img {
  width: 100%;
  max-width: 136px;
  height: auto;
}

/* hover panel (base — deliberately kept; shows on hover) */
.partners__container .partners__imgDiv:hover .partners_logo_details {
  transform: translateY(0);
}

.partners_logo_details {
  position: absolute;
  /* pin to the card's own edges (not offset by its padding) and let top:50%
     define the half — this is exactly the bottom 50% of the visible card,
     horizontally flush, regardless of the card's 22px/18px padding. */
  top: 50%;
  right: 0;
  bottom: 0;
  left: 0;
  width: auto;                           /* edges define width, not 100%-of-padding-box */
  height: auto;                          /* top/bottom define height = clean 50% */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.1rem;
  /* very transparent frosted glass — logo reads clearly through it */
  background: rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(3px) saturate(1.15);
  backdrop-filter: blur(3px) saturate(1.15);
  color: #16469c;
  margin: 0;
  padding: 0.4rem;
  line-height: 1.2;
  font-size: 0.9rem;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.9);
  transform: translateY(100%);           /* hidden below, slides up on hover */
  transition: transform 0.28s ease;
}

.partners_logo_details a {
  display: block;
  width: 100%;
  text-align: center;                    /* stop the name tilting left */
  color: #16469c;
  text-decoration: none;
}

.partners_logo_details a:hover {
  color: #16469c;
  text-decoration: underline;
}

.partners_logo_details p {
  width: 100%;
  margin: 0;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 500;
  color: #5b5b5b;
}


/* ============ 10. CLIENT-LOGO MARQUEE ============ */
.client_logo_group_container {
  width: 75%;
  margin: 1rem auto;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.client_logo_div_container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.client_logo_track {
  display: flex;
  flex-shrink: 0;
  width: max-content;
}

.client_logo_imgDiv {
  flex: 0 0 auto;
  padding: 0 0.75rem;
  cursor: pointer;
}

.client_logo_img {
  width: 100px;
  height: auto;
  aspect-ratio: 5/4;
  object-fit: contain;
  mix-blend-mode: color-burn;
  transition: filter 0.3s ease-in-out;
}

.client_logo_img:hover {
  transform: scale(1.1);
}

.animationdiv1 .client_logo_track {
  animation: scroll-left 40s linear infinite;
}

.animationdiv2 .client_logo_track {
  animation: scroll-right 40s linear infinite;
}

.client_logo_track:hover {
  animation-play-state: paused;
}

@keyframes scroll-right {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}


/* ============ 11. INDUSTRIES WE SERVE  (v2 — text left / image right, auto-advancing) ============ */
/* A deliberate "attract" section: bigger image, more presence, while the rest of
   the page stays restrained. Selector left (8 items set the height), image right
   matched to that height. Auto-advances; pauses on hover; reduced-motion safe. */
.industries_served_container {
  margin-top: 3rem;
}

.industries_v2 {
  --ind-row: 60px;                 /* one selector row; 8 rows drive the image height */
  width: 75%;
  max-width: 1240px;
  margin: 2rem auto 0;
  display: grid;
  grid-template-columns: 1fr 1.5fr; /* text : image */
  gap: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 38px rgba(0, 40, 90, 0.14);
  align-items: stretch;
}

/* LEFT — selector */
.industries_v2_nav {
  background: #16469c;
  display: flex;
  flex-direction: column;
}

.ind_item {
  appearance: none;
  background: transparent;
  border: 0;
  border-left: 4px solid transparent;
  color: rgba(255, 255, 255, 0.74);
  text-align: left;
  padding: 0 1.3rem;
  height: var(--ind-row);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.15;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ind_item:last-child {
  border-bottom: 0;
}

.ind_item .ind_num {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.ind_item .ind_name {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ind_item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.ind_item.on {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-left-color: #008dd5;
}

.ind_item:focus-visible {
  outline: 2px solid #008dd5;
  outline-offset: -2px;
}

/* RIGHT — image stage, height matches the 8 rows on desktop */
.industries_v2_stage {
  position: relative;
  background: #0f3272;
  min-height: calc(var(--ind-row) * 8);
  overflow: hidden;
}

.industries_v2_img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.industries_v2_stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(12, 40, 90, 0.10) 30%, rgba(9, 20, 44, 0.72) 100%);
}

.industries_v2_cap {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2rem 2.2rem;
  color: #fff;
}

.industries_v2_cap h3 {
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.12;
  margin: 0.5rem 0 0.7rem;
  color: #fff;
}

.industries_v2_cap p {
  font-size: 0.92rem;
  line-height: 1.55;
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.93);
}

/* auto-advance progress bar (top edge of the image) */
.industries_v2_progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.18);
  z-index: 3;
}

.industries_v2_progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: #008dd5;
}

/* mobile dot indicators — hidden on desktop, shown in the mobile media query */
.industries_v2_dots {
  display: none;
  position: absolute;
  z-index: 3;
  right: 1rem;
  top: 1rem;
  gap: 7px;
}
.industries_v2_dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}
.industries_v2_dots button.on {
  background: #fff;
}

/* TABLET */
@media (max-width: 1000px) {
  .industries_v2 {
    grid-template-columns: 1fr 1.2fr;
    --ind-row: 56px;
  }
  .industries_v2_cap h3 { font-size: 1.4rem; }
}

/* MOBILE — just the auto-advancing image card (no selector strip); tap image / dots to advance */
@media (max-width: 720px) {
  .industries_v2 {
    width: 88%;
    grid-template-columns: 1fr;
  }
  .industries_v2_stage {
    min-height: 340px;
    cursor: pointer;                 /* the whole card is tappable to advance */
  }
  .industries_v2_nav {
    display: none;                    /* strip removed on mobile */
  }
  .industries_v2_dots {
    display: flex;                    /* dot indicators shown only on mobile */
  }
}

/* ============ 12. RESPONSIVE / MEDIA QUERIES ============ */

/* client-logo grid reflow */
@media only screen and (max-width: 768px) {
  .imageDiv {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media only screen and (max-width: 992px) and (min-width: 769px) {
  .imageDiv {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* stats: 4-up on mid widths */
@media only screen and (min-width: 820px) and (max-width: 1100px) {
  .stats-section {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 600px) {
  .stat-number {
    font-size: 2rem;
  }
}

/* partners logo sizing */
@media only screen and (max-width: 868px) {
  .partners__img {
    width: 100%;
    max-width: 120px;
    height: auto;
    mix-blend-mode: multiply;
  }
}

/* products grid reflow */
@media only screen and (max-width: 1220px) {
  .what_we_do_section_div {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* product-category heading sizing */
@media only screen and (min-width: 1024px) {
  .comcon_product_categoryHeading {
    font-size: 1.1rem;
  }
}

/* v1 hero-curtain: keep the white deck full-width so the banner
   doesn't leak in the side gaps on large screens */
@media (min-width: 1366px) {
  .website_elements_container {
    max-width: none;
    margin: 80vh 0 0 0;    /* must match the curtain heights above */
  }
}

@media (max-width: 900px) {
  .slider-nav {
    display: none;
  }
  .comcon_product_categoryDiv {
    height: 8rem;
  }
  .comcon_product_categoryHeading {
    font-size: 0.75rem;
  }
}

/* small tablets / phones */
@media only screen and (max-width: 720px) {
  /* keep all three curtain heights in sync — was only slider-container,
     leaving the fixed backdrop + content margin at 80vh = big empty gap */
  .slider_mainContainer { height: 50vh; }
  .slider-container {
    height: 50vh;
  }
  .website_elements_container { margin-top: 50vh; }
  .slide-content {
    max-width: 70%;
    padding: 0.75rem;
  }
  .slide-content h2 {
    font-size: 1.5rem;
  }
  .slide-content p {
    font-size: 0.9rem;
  }
  .slider-nav {
    padding: 7px 10px;
  }
  .comcon_product_category_section {
    padding: 0.5rem 0 1rem 0;
  }
  .what_we_do_section_div {
    grid-template-columns: 1fr;
  }
  .comcon_product_categoryDiv {
    height: 5.5rem;
  }
  .partners__img {
    width: 100%;
    max-width: 100px;
    height: auto;
    mix-blend-mode: multiply;
  }
  .client_logo_img {
    width: 80px;
  }
}

@media only screen and (max-width: 420px) {
  .comcon_product_categoryHeading {
    font-size: 0.8rem;
  }
  .client_logo_img {
    width: 60px;
  }
}

/* productCat overlay + event card grid on tablets */
@media only screen and (max-width: 992px) {
  .productCat_leftContainer {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 999;
    background-color: #e4e4e4;
  }
  .other-event-card-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media only screen and (max-width: 668px) {
  .other-event-card-container {
    grid-template-columns: 1fr !important;
  }
}

/* footer column reflow */
@media only screen and (max-width: 1075px) {
  .footer_container {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer_contact_div {
    margin-top: 3rem;
  }
}

@media only screen and (max-width: 768px) {
  .footer_container {
    grid-template-columns: 1fr;
  }
  .footer_solutionLink_div,
  .footer_contact_div {
    margin-top: 3rem;
  }
}

/* ============ 13. STORY TEASER  (v1 — condensed from v3 Heritage) ============ */
/* A short trust primer high on the page. NOT the full story — a hook that
   leads to aboutus.html. Restraint: navy accent, whitespace, one CTA link. */
.story-teaser {
  width: 75%;
  max-width: 1024px;
  margin: 3.25rem auto 2.5rem;
}

/* "Our Story" label — gold, with a short leading rule (heritage accent) */
.story-teaser__eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #b08d57;
  margin-bottom: 1.75rem;
}
.story-teaser__eyebrow::before {
  content: "";
  width: 42px;
  height: 1.5px;
  background: #b08d57;
}

.story-teaser__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4.5rem;
  align-items: start;
}

/* 1984 — serif hero moment #1 */
.story-teaser__aside .story-teaser__est {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(4.5rem, 8vw, 7rem);
  font-weight: 600;
  color: #16469c;
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.story-teaser__aside .story-teaser__est-sub {
  margin-top: 1.6rem;
  font-size: 1rem;
  color: #6b6b6b;
  max-width: 26ch;
  line-height: 1.55;
}
.story-teaser__gold { color: #b08d57; font-weight: 600; }

/* heading — serif hero moment #2 */
.story-teaser__body h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: #16469c;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.4rem;
}

.story-teaser__body p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #2a2a2a;
  margin-bottom: 1.1rem;
  max-width: 56ch;
}
.story-teaser__body p:last-of-type { margin-bottom: 1.5rem; }
.story-teaser__emph { color: #16469c; font-weight: 600; }

.story-teaser__link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.02rem;
  font-weight: 600;
  color: #16469c;
  border-bottom: 2px solid #b08d57;
  padding-bottom: 3px;
  transition: gap 0.25s ease;
}

.story-teaser__link:hover {
  gap: 0.9rem;
  text-decoration: none;
}

.story-teaser__link i {
  color: #b08d57;
  transition: transform 0.25s ease;
}

.story-teaser__link:hover i {
  transform: translateX(2px);
}

@media (max-width: 900px) {
  .story-teaser {
    width: 85%;
    margin: 2.5rem auto 2rem;
  }
  .story-teaser__eyebrow { margin-bottom: 1.5rem; }
  .story-teaser__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}


/* ============ 14. FAQ  (v1 — re-themed from v2 Industrial, navy) ============ */
/* Answer-first Q&A. Sits right before the footer: last doubt cleared before
   the contact form that lives in the footer. Answer-first = GEO/AI friendly. */
.faq-section {
  width: 75%;
  max-width: 1024px;
  margin: 4rem auto;
}

.faq-list {
  display: grid;
  gap: 1px;
  background: #e4e4e4;
  border: 1px solid #e4e4e4;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 2rem;
}

.faq-item {
  background: #fff;
  transition: background 0.25s ease;
}

.faq-item:hover {
  background: #f4f7fb;
}

.faq-item.is-open {
  background: #f4f7fb;
}

/* Question row is now a full-width button (compact, whole row clickable) */
.faq-item h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 2rem;
  background: none;
  border: 0;
  margin: 0;
  font: inherit;
  color: #16469c;
  text-align: left;
  cursor: pointer;
}

.faq-q-text {
  font-size: 1.15rem;
  font-weight: 600;
}

/* Chevron: a "﹀" (down) that flips 180° to point up (︿) when the item is open */
.faq-chevron {
  flex-shrink: 0;
  color: #008dd5;
  font-size: 1.35rem;
  line-height: 1;
  transform: rotate(0deg);
  transition: transform 0.3s ease;
}
.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
}

/* Answer collapses by default; smooth open via max-height */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-item.is-open .faq-answer {
  max-height: 500px;
}

.faq-item p {
  font-size: 1rem;
  line-height: 1.65;
  color: #5b5b5b;
  margin: 0;
  padding: 0 2rem 1.4rem;
}

@media (max-width: 900px) {
  .faq-section {
    width: 85%;
    margin: 2.5rem auto;
  }
  .faq-trigger {
    padding: 1rem 1.35rem;
  }
  .faq-q-text {
    font-size: 1.05rem;
  }
  .faq-item p {
    padding: 0 1.35rem 1.2rem;
  }
}

/* ============================================================
   CTA BAND — pre-content-break contact prompt
   Full-width navy interruption placed on the Industries→Clients
   seam. Deliberately NOT a .comcon_heading_title section — it's a
   navy pause between the "proof" run and the "reassurance" run.
   Content sits in the same 75% column as every other section.
   Energy comes from type + one accent hairline (no image, no icons).
   New component: the site had no button styles before this.
   ============================================================ */
.cta_band {
  width: 100%;
  /* subtle depth: navy with a slightly deeper edge — more alive than flat fill */
  background: linear-gradient(100deg, #16469c 0%, #123a83 100%);
  padding: 3.25rem 0;
  margin: 2.5rem 0;
}
.cta_band_inner {
  width: 75%;                          /* aligns with all other sections */
  max-width: 1024px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.cta_band_copy {
  flex: 1 1 340px;
}
.cta_band_copy h2 {
  color: #fff;
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 0.45rem;
  line-height: 1.15;
}
.cta_band_copy p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  margin: 0;
}
.cta_band_actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  flex: 0 0 auto;
}

/* Buttons (new — navy-band context). Text-only, no icons. */
.cta_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}
.cta_btn:hover { text-decoration: none; }
.cta_btn:active { transform: translateY(1px); }
/* Primary: white fill, navy text — clearly the main action */
.cta_btn_primary { background: #fff; color: #16469c; border: 1.5px solid #fff; }
.cta_btn_primary:hover { background: #eaf0fb; border-color: #eaf0fb; }
/* Secondary: outline on navy — present but quieter (soft-lean to contact).
   Hover fills solid white with navy text so it stays clearly readable
   (the old 10%-white fill was nearly invisible). */
.cta_btn_secondary { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.55); }
.cta_btn_secondary:hover { background: #fff; color: #16469c; border-color: #fff; }

/* Highlight for "build on" in the CTA headline — brand cyan with a soft
   underline glow so it pops against the navy without looking like a link. */
.cta_highlight {
  color: #46b4ec;
  box-shadow: inset 0 -0.12em 0 rgba(70, 180, 236, 0.22);
  padding: 0 0.02em;
}

/* MOBILE — compact + energetic: tighter padding, smaller headline,
   buttons stacked but auto-width (not stretched full-width) so the band
   feels active rather than a tall column. */
@media (max-width: 768px) {
  .cta_band { padding: 2rem 0; margin: 1.5rem 0; }
  .cta_band_inner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 1.15rem;
    width: 85%;
  }
  /* stop the copy from grabbing vertical space (was pushing buttons far down) */
  .cta_band_copy { flex: 0 0 auto; }
  .cta_band_copy h2 { font-size: 1.45rem; }
  .cta_band_copy p { font-size: 0.98rem; }
  .cta_band_actions { gap: 0.6rem; }
  .cta_btn { padding: 0.7rem 1.25rem; font-size: 0.95rem; }
}

/* ============================================================
   MOBILE DENSITY PASS (v1) — one coordinated block.
   Problem addressed: sections were made responsive independently,
   each keeping ~desktop vertical margins, so on phones the page
   became a tall tower of whitespace. This tightens the vertical
   rhythm of every section together at one breakpoint so the page
   scrolls shorter and feels even. Layout/reflow of each section is
   handled by its own existing query — this only trims spacing.
   ============================================================ */
@media (max-width: 768px) {
  .story-teaser        { margin: 2rem auto 1.75rem; }
  .what_we_do_section_container { padding: 1.25rem 0 1.5rem 0 !important; }
  .stats-section       { margin: 1rem auto; }
  .partners__container { margin-top: 1rem; }
  .industries_served_container { margin-top: 1.75rem; }
  .client_logo_group_container { margin: 0.75rem auto; }
  .faq-section         { margin: 2rem auto; }
  /* cta_band spacing already trimmed in its own mobile block above */
  /* NOTE: partners are horizontal-scroll rows on tablet/mobile now (see the
     partner grid block up top) — no vertical-spacing override needed here. */

  /* section headings: 2.1rem is big on a narrow screen — scale down */
  .comcon_heading_title_div > h2 { font-size: 1.6rem; }
}

@media (max-width: 480px) {
  .comcon_heading_title_div > h2 { font-size: 1.4rem; }
  .story-teaser        { margin: 1.5rem auto 1.5rem; }
  .faq-section         { margin: 1.5rem auto; }
}