/* Web component flash prevention */
metascan-header:not(:defined),
metascan-footer:not(:defined),
metascan-cards:not(:defined),
metascan-card:not(:defined),
metascan-hero:not(:defined) {
  visibility: hidden;
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  background-color: #1a1a1a;
  font-family: Space Grotesk, sans-serif;
}

h1,
h2,
p {
  font-weight: 400;
}

p {
  line-height: 1.5;
}

a {
  color: #8a2be2;
  text-decoration: none;
}

h2 {
  margin: 20px 0px 10px 0px;
  text-align: left;
  font-size: 2rem;
  font-weight: 400;
}

.text-column {
  display: flex;
  max-width: 48rem;
  flex: 0.6;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
}

input,
button {
  font-size: inherit;
  font-family: inherit;
}

button:focus:not(:focus-visible) {
  outline: none;
}

@media (min-width: 720px) {
  h1 {
    font-size: 3rem;
  }
}

.visually-hidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: auto;
  margin: 0;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap;
}

/* layout */
.app {
  display: flex;
  flex-direction: column;
  position: relative;
  font-family: Space Grotesk, sans-serif;
}

/* header */
header {
  font-family: Space Grotesk, sans-serif;
  background-color: #1a1a1a;
  display: flex;
  justify-content: space-between;
  padding: 20px 5%;
  border-bottom: black 4px solid;
  color: white;
}

nav {
  display: flex;
}

.title {
  font-weight: 900;
  font-size: 2rem;
}

a {
  color: black;
  font-weight: 700;
  font-size: 1rem;
  line-height: 150%;
  transition: transform 0.5s;
}

.button {
  background-color: #7b2cbf;
  border: solid black 3px;
  box-shadow: black 4px 4px;
  transition: box-shadow 0.5s;
  color: white;
  border-radius: 6px;
}

.button:hover {
  transform: translate(0px);
  box-shadow: black 8px 8px;
}

.hide-on-mobile {
  display: none;
}

@media only screen and (min-width: 900px) {
  header {
    padding: 20px 10%;
  }

  .hide-on-mobile {
    display: block;
  }
}

/* Consent Form Styles */
.section-consent-form {
  display: grid;
  grid-column-gap: 5rem;
  padding: 50px 10%;
  color: white;
  grid-auto-flow: row;
  border-radius: 8px;
}

.section-consent-form h2 {
  margin: 20px 0 10px 0;
  text-align: left;
  font-size: 2rem;
  font-weight: 400;
}

ol {
  margin: 12px 0;
  padding-left: 30px;
}

ol li {
  padding-left: 12px;
  margin-bottom: 3px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 10px;
  /* Space between columns */
  margin: auto;
  /* Center the form */
}

.form-grid label {
  display: flex;
  align-items: center;
  /* Vertically center the labels */
}

.form-grid input {
  width: 100%;
  padding: 8px;
  box-sizing: border-box;
  /* Ensure padding doesn't affect width */
}

.form-grid .full-width {
  grid-column: 1 / -1;
  /* Span both columns */
}

input[type="submit"] {
  cursor: pointer;
  padding: 12px;
  font-size: 1.5rem;
  width: 100%;
  background-color: #edf67d;
  /* Yellowish background for the submit button */
  border: solid black 3px;
  box-shadow: black 4px 4px;
  transition: box-shadow 0.5s;
  margin-top: 16px;
}

input[type="submit"]:hover {
  transform: translate(0px);
  box-shadow: black 8px 8px;
}

/* style consent */

.section-consent {
  padding: 15px 8%;
  color: white;
}

ol {
  margin: 12px 0 0 12px;
  padding-left: 12px;
}

ol li {
  padding-left: 6px;
  margin-bottom: 3px;
  list-style: lower-alpha;
}

ol li ol li {
  list-style: lower-roman;
}

ol li ol li ol li {
  list-style: decimal;
}

/* style contact */

.section-contact {
  background-color: #7b2cbf;
  display: grid;
  grid-column-gap: 5rem;
  padding: 50px 10%;
  color: white;
  grid-auto-flow: row;
}

.section-contact p {
  font-size: 1.75rem;
  font-family: Space Grotesk, sans-serif;
}

.contact-item {
  display: flex;
}

.contact-item svg {
  width: 20px;
  margin-right: 12px;
}

.contact-item a {
  color: white;
  text-decoration: underline;
  font-size: 1.1rem;
  margin: 5px 0;
}

/* style home  */

.section-header {
  background-color: #7b2cbf;
  display: grid;
  grid-row-gap: 4rem;
  grid-column-gap: 5rem;
  padding: 50px 10%;
  color: white;
  grid-auto-flow: row;
}

.header-content h1 {
  margin: 20px 0px 10px 0px;
  text-align: left;
  font-size: 3rem;
  font-weight: 400;
  line-height: 120%;
  font-family: Dela Gothic One, sans-serif;
}

.header-content p {
  font-size: 1.75rem;
  font-family: Space Grotesk, sans-serif;
}

.header-content a.button {
  color: black;
  padding: 0.75rem 2.5rem;
  background-color: #e0aaff;
  border: 3px solid black;
  border-radius: 6px;
  font-family: Space Grotesk, sans-serif;
  font-weight: 700;
  line-height: 150%;
  font-size: 1.6rem;
  box-shadow: 4px 4px black;
  transition: box-shadow 0.5s;
  cursor: pointer;
  text-align: center;
}

.header-content a.button:hover {
  box-shadow: 8px 8px;
  text-decoration: none;
}

.section-header img {
  max-width: 100%;
  border-bottom-right-radius: 100px;
}

.section-cta {
  background-color: #7b2cbf;
  padding: 50px 10%;
  color: white;
}

.section-cta h2 {
  margin: 20px 0px 40px 0;
  text-align: center;
  font-size: 3.32rem;
  font-weight: 400;
  line-height: 120%;
  font-family: Dela Gothic One, sans-serif;
}

.section-cta div {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.section-cta a.button {
  color: black;
  padding: 0.75rem 2.5rem;
  background-color: #e0aaff;
  border: 3px solid black;
  border-radius: 6px;
  font-family: Space Grotesk, sans-serif;
  font-weight: 700;
  line-height: 150%;
  font-size: 1.6rem;
  box-shadow: 4px 4px black;
  transition: box-shadow 0.5s;
  cursor: pointer;
}

.section-cta a.button:hover {
  box-shadow: 8px 8px;
  text-decoration: none;
}

@media only screen and (min-width: 900px) {
  .section-header {
    grid-template-columns: 1fr 1fr;
  }

  .header-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .header-content h1 {
    font-size: 4.2rem;
  }

  .header-image {
    grid-column-start: 1;
    grid-row-start: 1;
  }

  .last-solution {
    grid-column-start: 1;
    grid-column-end: 3;
  }
}

/* style privacy policy  */

.section-privacy-policy {
  display: grid;
  grid-column-gap: 5rem;
  padding: 50px 10%;
  color: white;
  grid-auto-flow: row;
}

ul {
  margin: 0;
  padding-left: 30px;
  list-style: square;
}

.section-privacy-policy-body {
  background-color: #7b2cbf;
  font-family: "Space Grotesk", sans-serif;
  color: white;
  padding: 50px 10%;
}

h1 {
  margin: 20px 0 10px;
  text-align: left;
  font-size: 3rem;
  font-weight: 400;
  line-height: 120%;
  font-family: Dela Gothic One, sans-serif;
}

/* style scan  */

.scan-body {
  background-color: #7b2cbf;
  font-family: "Space Grotesk", sans-serif;
  color: white;
  padding: 50px 10%;
  border: 0;
}

.top-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

#main-image {
  height: 500px;
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.carousel {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.carousel img {
  width: 80px;
  cursor: pointer;
  border-radius: 5px;
  border: 2px solid transparent;
  transition: border 0.3s;
}

.carousel img:hover,
.carousel img.active {
  border: 2px solid #e0aaff;
}

.product-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-title {
  font-size: 2em;
  margin-bottom: 10px;
}

.product-price {
  font-size: 1.5em;
  margin-bottom: 20px;
}

.add-to-cart {
  padding: 10px 15px;
  background-color: #e0aaff;
  color: black;
  border: 3px solid black;
  border-radius: 6px;
  box-shadow: 4px 4px black;
  text-align: center;
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  display: inline-block;
}

.add-to-cart:hover {
  box-shadow: black 8px 8px;
}

.description {
  margin-top: 30px;
}

@media (max-width: 768px) {
  .top-section {
    grid-template-columns: 1fr;
  }

  .carousel {
    justify-content: center;
  }
}

/* style shop */

.section-shop {
  background-color: #7b2cbf;
  display: grid;
  grid-column-gap: 5rem;
  padding: 50px 10%;
  color: white;
  grid-auto-flow: row;
}

.grid-container {
  display: grid;
  gap: 20px;
  padding: 20px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .grid-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

.grid-item {
  background-color: #e0aaff;
  overflow: hidden;
  border-radius: 6px;
  border: solid black 4px;
  box-shadow: black 8px 8px;
  text-align: center;
  transition: box-shadow 0.5s;
  font-family: Space Grotesk, sans-serif;
}

.grid-item:hover {
  box-shadow: black 12px 12px;
}

.grid-item img {
  width: 100%;
  height: auto;
}

.card-content {
  padding: 15px;
}

.card-title {
  font-size: 1.2em;
  margin: 10px 0;
  font-weight: bold;
  color: black;
}

.card-price {
  font-size: 0.8em;
  color: black;
  font-weight: bold;
}

.shop-a {
  padding: 0 !important;
  height: fit-content;
}

button[type="submit"] {
  cursor: pointer;
  /* padding: 12px; */
  /* font-size: 1.5rem; */
  /* width: 100%; */
  background-color: #edf67d;
  /* Yellowish background for the submit button */
  border: solid black 3px;
  box-shadow: black 4px 4px;
  transition: box-shadow 0.5s;
  /* margin-top: 16px; */
}

button[type="submit"]:hover {
  transform: translate(0px);
  box-shadow: black 8px 8px;
}

/* Scanning System page */
.banner {
  width: 100%;
  height: 200px;
  /* adjust as needed */
  object-fit: cover;
  display: block;
  border-radius: 12px;
  border: solid black 4px;
}

.rounded-img {
  border-radius: 12px;
  border: solid black 2px;
  box-shadow: black 4px 4px;
}

.container {
  width: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.box {
  background-color: #c77dff;
  border-radius: 12px;
  padding: 1.5rem 2rem;
  box-shadow: black 8px 8px;
  border: solid black 4px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.feature-card {
  background-color: #9d4edd;
  border-radius: 10px;
  padding: 1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: black 4px 4px;
  border: solid black 2px;
}

.feature-icon {
  font-size: 2rem;
  color: #007bff;
}

.feature-title {
  font-size: 1.1rem;
  font-weight: bold;
}
