/* --- Global layout ------------------------------------------------------- */
body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  background: linear-gradient(90deg, #1155CC, #1976D2, #1E88E5);
  background-size: 400% 400%;
  animation: gradientShift 10s ease infinite;
  color: #222;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: 15vh;
  padding-bottom: 10vh; /* optional for a bit of breathing space */
  align-items: center;
}

@keyframes gradientShift {
  0% {background-position: 0% 50%;}
  50% {background-position: 100% 50%;}
  100% {background-position: 0% 50%;}
}

/* --- Header -------------------------------------------------------------- */
.header {
  padding: 30px;
}
.header::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: #ffffff80; /* semi-transparent white */
  margin: 20px auto 0 auto;
}

.company-logo {
  height: 120px;
}

/* --- Main content -------------------------------------------------------- */
.main-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
  text-align: center;
}

.main-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: #1976D2; /* Strong blue tone */
}

/* --- Product Grid -------------------------------------------------------- */
.product-grid {
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
  justify-content: center;
}

.product-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #E3F2FD;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 50px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  text-align: center;
  letter-spacing: 0.5px;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.2);
}

.product-logo {
  height: 160px;
  object-fit: contain;
}

/* --- Responsive behaviour ------------------------------------------------ */
@media (max-width: 700px) {
  .product-grid {
    flex-direction: column;
    gap: 30px;
  }

  .product-logo {
    height: 100px;
  }

  .company-logo {
    height: 60px;
  }
}

a:focus {
  outline: 2px solid #ffffff;
  outline-offset: 4px;
}
