﻿/* Homepage card sections â€” Products, Industries, Services, Case Studies */
.qtek-cards-section {
  padding: 64px 0;
  background: #fff;
}
.qtek-cards-section--tint {
  background: #f5f7fa;
}
.qtek-cards-heading {
  margin-bottom: 42px;
}
.qtek-cards-heading h2 {
  text-transform: none;
  font-size: 32px;
  line-height: 1.2;
  margin-bottom: 12px;
}
.qtek-cards-heading p {
  font-size: 17px;
  line-height: 1.55;
  color: #5b6673;
  max-width: 720px;
  margin: 0 auto;
}
.qtek-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.qtek-card-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.qtek-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #ffffff;
  border: 1px solid #e4e8ef;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
  color: #333d47;
  text-decoration: none;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.qtek-card:hover,
.qtek-card:focus-visible {
  color: #333d47;
  text-decoration: none;
  transform: translateY(-4px);
  border-color: #cfd9e6;
  box-shadow: 0 16px 34px rgba(14, 66, 114, .16);
}
.qtek-card:focus-visible {
  outline: 3px solid var(--qtek-primary);
  outline-offset: 3px;
}
.qtek-card-media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e9edf2;
}
.qtek-card--case .qtek-card-media {
  aspect-ratio: 4 / 3;
}
.qtek-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.qtek-card:hover .qtek-card-media img,
.qtek-card:focus-visible .qtek-card-media img {
  transform: scale(1.03);
}
.qtek-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
  padding: 18px 19px 20px;
}
.qtek-card-title {
  display: block;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  color: #1f2d3a;
}
.qtek-card-text {
  display: block;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
  color: #4a5563;
  margin: 0;
}
.qtek-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 6px;
  color: var(--qtek-primary);
  font-size: 15px;
  font-weight: 600;
}
.qtek-card-link span {
  transition: transform .22s ease;
}
.qtek-card:hover .qtek-card-link span,
.qtek-card:focus-visible .qtek-card-link span {
  transform: translateX(3px);
}
@media screen and (max-width: 991px) {
  .qtek-card-grid,
  .qtek-card-grid--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .qtek-cards-section {
    padding: 52px 0;
  }
}
@media screen and (max-width: 639px) {
  .qtek-card-grid,
  .qtek-card-grid--four {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .qtek-cards-section {
    padding: 40px 0;
  }
  .qtek-cards-heading {
    margin-bottom: 28px;
  }
  .qtek-cards-heading h2 {
    font-size: 26px;
  }
  .qtek-cards-heading p {
    font-size: 16px;
  }
  .qtek-card-body {
    padding: 16px 16px 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .qtek-card,
  .qtek-card-media img,
  .qtek-card-link span {
    transition: none;
  }
  .qtek-card:hover,
  .qtek-card:focus-visible {
    transform: none;
  }
  .qtek-card:hover .qtek-card-media img,
  .qtek-card:focus-visible .qtek-card-media img {
    transform: none;
  }
}
@media screen and (max-width: 768px) {
  #gtco-header.qtek-home-hero {
    background-image: url("../images/home-banner-mobile-opt.jpg") !important;
    background-position: 100% 0;
  }
}



