* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body,
html {
  font-family: "Segoe UI", "Montserrat", sans-serif;
  line-height: 1.6;
  color: #131212;
  font-size: 16px;
  background-color: #f5f5f5;
}
body {
  position: relative;
}
.container-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main {
  padding-bottom: 1rem;
  flex: 1;
}

.header > .container {
  width: 90%;
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 2rem;
  min-height: 64vh;
}

.header {
  background-color: #090d18;
  color: #eee;
}

.logo {
  height: 96px;
  width: 96px;
}

.highlight {
  background-color: linear-gradient(90deg, #ffff, #eee);
  color: "#fff";
  margin-bottom: 2.5rem;
}

.highlight h1 {
  font-size: 2.5rem;
}

.highlight p {
  margin-top: 1rem;
  font-size: 18px;
}

/* removed */
.cta button {
  padding: 0.5rem 2rem;
  border: none;
  background-color: #1b6abe;
  color: #fff;
  font-weight: 500;
  font-size: 1.2rem;
  cursor: pointer;
  border-radius: 50px;
  display: inline-block;
  letter-spacing: 0.4px;
  text-decoration: none;
  height: 2.8rem;
  margin-bottom: 2rem;
  transition: transform 0.5 ease-in-out, box-shadow 0.5 ease-in-out;
}

.cta button:hover {
  transform: translateY(-2px);
  box-shadow: 0.1px 0.8px 0.1px 0.5px #eee;
}
/*  */

/* product section */

.products {
  padding: 1rem 0;
  z-index: 10;
  position: relative;
  margin-top: -10rem;
}

.products .title {
  text-align: center;
  font-weight: 600;
  font-size: 1.6rem;
  margin-bottom: 1rem;
  display: none;
}

.product-wrapper {
  width: 90%;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(256px, 1fr));
  gap: 1rem;
  justify-items: center;
  align-items: center;
}

.product-card {
  border-radius: 12px;
  background-color: #fff;
  box-shadow: 0 8px 16px 1px rgba(0, 0, 0, 0.1);
  z-index: 10;
  transition: transform 0.3s ease-in-out, box-shadow 0.5 ease-in-out;
  max-width: 288px;
  height: 100%;
  display: flex;
  width: 100%;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-2.5px);
  box-shadow: 0 12px 20px 2px rgba(0, 0, 0, 0.15);
}

.product-card button {
  width: 100%;
  border: none;
  background-color: #1b6abe;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border-radius: 20px;
  display: inline-block;
  letter-spacing: 1px;
  text-decoration: none;
  height: 2.2rem;
  background-image: linear-gradient(
    270deg,
    rgba(100, 181, 239) 48%,
    #1f49d5 75%,
    rgba(100, 181, 239, 0) 100%
  );
  background-repeat: no-repeat;
  animation: 3s linear 1s infinite highlight-background;
  transition: transform 0.5 ease-in-out, background-color 0.5 ease-in-out;
  overflow: hidden;
  /* margin: 0 1.5rem 1.5rem; */
}

.product-card button:hover {
  transform: translateY(0.5px);
  box-shadow: 1px 2px 1px #39ff14;
}

.product-card img {
  width: 100%;
  height: 100px;
}
.product-card .content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 1rem 1.5rem 1.5rem;
  gap: 0.5rem;
}

/* footer */
footer {
  text-align: center;
  background-color: #090d18;
  color: #ffffff;
  width: 100%;
}

@media screen and (max-width: 768px) {
  html,
  body {
    line-height: 1.2;
    width: 100%;
  }
  .header > .container {
    width: 100%;
    min-height: 36vh;
  }

  .products {
    padding: 1rem 0;
    position: relative;
    margin-top: 0;
  }
  .product-wrapper {
    width: 100%;
  }

  .products .title {
    display: block;
  }
  .product-card {
    max-width: 100%;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .product-card button:hover {
    transform: inherit;
    background-color: "inherit";
  }
  .highlight h1 {
    font-size: 1.5rem;
  }
  .cta button {
    padding: 0.2rem 2rem;
    border: none;
    background-color: #1b6abe;
    color: #fff;
    font-weight: 500;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 20px;
    display: inline-block;
    letter-spacing: 0.4px;
    text-decoration: none;
    height: 2rem;
    transition: transform 0.5 ease-in-out, background-color 0.5 ease-in-out;
  }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
  .product-wrapper {
    width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@keyframes highlight-background {
  0% {
    background-position: -500px 0;
  }

  100% {
    background-position: 1000px 0;
  }
}
