/* Transmission page */
.transmission-section
{
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60%;
}

.transmission-section h2 
{
    font-family: "Lexend", sans-serif;
    color: #005f69;
    margin-bottom: 20px;
    font-size: 30px;
}

.transmission.container
{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    margin: 30px;
}

.transmission-text
{
    width: 50%;
    background-color: #fdf6e3;
    border-radius: 10px;
    padding: 25px;
    margin-right: 10px;
}

.transmission-text p
{
    font-family: "Instrument Sans", sans-serif;
    font-size: larger;
    line-height: 2em;
}

.transmission-text a 
{
    font-style: italic;
}

.transmission-text a:hover,
.transmission-text a:visited:hover {
    color: grey;
}

.transmission-text a:visited
{
    color: inherit;
}

.transmission-image img 
{
    max-width: 600px;
    border-radius: 10px;
}

/* Surveillance page */
.product-grid-section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0px;
    min-height: 50%;
}

.product-grid-section h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-family: "Lexend", sans-serif;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* fixed to 4 per row */
  gap: 1rem; /* space between cards */
  justify-items: center;
}

.product-card {
    min-height: 300px; /* adjust as needed */
    width: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    text-align: center;
    background-color: white;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
    font-family: "Instrument Sans", sans-serif;
    font-weight: 600;
}

.product-card img {
  width: 100%;
  height: 180px;         /* pick a height that fits your card */
  display: block;
  object-fit: cover;     /* fills the box (may crop) */
  object-position: center;
  margin-bottom: 10px;
  border-radius: 8px;
}

.product-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
  border: 1px solid #005f69;
}

.product-card:hover {
  transform: translateY(-8px) scale(1.02);

  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

#tracking-equipment
{
    margin-bottom: 60px;
}

/* Product Card Slider (Multiple images per item) */

.image-slider {
  position: relative;
  width: 100%;
  height: 100%; /* ensure full height coverage */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 10px;
}

.slider-image {
  display: none;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}

.slider-image.active {
  display: block;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.8); /* subtle background */
  border: none;
  font-size: 1rem;
  color: #333;
  padding: 6px 10px;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.arrow.left {
  left: 10px;
}

.arrow.right {
  right: 10px;
}

.image-slider:hover .arrow {
  opacity: 1;
}

.model-link {
  color: inherit;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.model-link:visited {
  color: inherit;
}

.model-link:hover {
  color: #333; /* Slightly darker than black */
  text-decoration: underline;
}

.model-link:active {
  color: #333;
}

.back-link {
  margin: 20px 0;
  font-size: 18px;
  font-weight: 500;
  font-family: "Instrument Sans", sans-serif;
}

.back-link a {
  text-decoration: none;
  color: #003153; /* or any brand color */
  transition: color 0.2s ease;
}

.back-link a:hover {
  color: #000; /* Slightly darker on hover */
  text-decoration: underline;
}

/* Each row of features */
.feature-row {
  display: flex;
  flex-wrap: nowrap;        /* keep one clear row */
  gap: 10px;
  list-style: none;
  margin: 0 0 10px 0;
  padding: 0;
  justify-content: center;  /* center the items per row */
}

/* Individual feature pill/card */
.feature-card {
  flex: 0 1 auto;
  padding: 10px 12px;
  border-radius: 8px;
  background: #f5f5f5;
  border: 1px solid #eee;
  text-align: center;
  white-space: nowrap;      /* optional: prevent wrapping inside a pill */
}
