:root {
  box-sizing: border-box;
  /*------colors-----*/
  --color-block-white: rgb(254, 254, 247);
  --color-block-offwhite: #f1fdff;

  --color-blue-grey: #d5e2e8;
  --color-blue-grey-dark: #2b3837;

  --color-gradient-light: #001c3a;
  --color-gradient-middle: #001325;
  --color-gradient-dark: #002374;

  --color-blue-grey-light: #ecf8fd;
  --color-blue-bright: #e2f6ff;
  --color-blue-dawn: #96eaff;
  --color-blue: #007bff;
  --color-blue-trans: #013d7cd0;
  --color-brand-blue: #007bff;
  --color-blue-dusk: #0f5db0;
  --color-blue-dark: #023d7c;
  --color-blue-dark-blur: #003975d3;
  --color-blue-dark-pop: #002853;
  --color-blue-midnight: #001e3ca7;
  --color-blue-black: #01182eb0;
  --color-blue-light: #ddeaf8;
  --color-blue-light-border: #8ac0fa;
  --color-blue-dark-trans: rgba(12, 60, 112, 0.425);
  /*---funcional colors---*/
  --color-button-hover: #001e3c;
  --text-color-light: #ecf8fd;
  --text-color-dark: #090e0d;
  /*-----values-----*/
  --border-radius: 10px;
  --border-radius-sm: 3px;

  --box-shadow-light: 2px 2px 10px rgba(3, 7, 54, 0.2),
    -2px -2px 10px rgba(1, 17, 54, 0.1);
  --box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4),
    -2px -2px 10px rgba(0, 0, 0, 0.3);
  --text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3),
    -2px -2px 10px rgba(0, 0, 0, 0.2);
  --text-shadow-light: 2px 2px 10px rgba(23, 28, 49, 0.2),
    -2px -2px 10px rgba(23, 28, 49, 0.1);
  --box-shadow-img: 0.9px 1px 3.4px rgba(0, 0, 0, 0.032),
    2.1px 2.3px 7.4px rgba(0, 0, 0, 0.046),
    3.9px 4.4px 12.6px rgba(0, 0, 0, 0.057),
    6.9px 7.8px 20.2px rgba(0, 0, 0, 0.068),
    13px 14.6px 34.8px rgba(0, 0, 0, 0.082), 31px 35px 80px rgba(0, 0, 0, 0.11);
  /*------spacing-----*/
  --spacing-gap: 0.5rem;
  --spacing-gap-lg: 3rem;

  --spacing-xxs: 0.25rem;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 8rem;
  --spacing-xxl: 16rem;
  --spacing-xxxl: 32rem;
  --spacing-xxxxl: 64rem;

  --sp-block-xl: var(--spacing-xl);
  --sp-inline-xl: var(--spacing-lg);

  --sp-block-lg: var(--spacing-lg);
  --sp-inline-lg: var(--spacing-md);

  --sp-block-normal: var(--spacing-sm);
  --sp-inline-normal: var(--spacing-md);

  --sp-block-sm: var(--spacing-xs);
  --sp-inline-sm: var(--spacing-sm);

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}
/* All potential targets have a 50px padding at the top when scrolled into view */

html,
body {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  overflow-x: hidden;
}

body {
  box-sizing: border-box;
  overflow-x: hidden;
  justify-content: center;
}
.note-text {
  margin: auto;
  text-align: center;
  color: rgb(250, 34, 34);
  font-size: 1.5rem;
  font-weight: 600;
}
h1 {
  text-align: center;
}
h2 {
  text-align: center;
  color: white;
  text-shadow: var(--text-shadow);
}

p i{
  font-weight: 600;
  color: var(--color-blue-dark-pop);
}

/*--------separators and styles for all pages-----*/
.center{
  text-align: center;
}
.center-child {
  text-align: center;
}
.start {
  text-align: start;
}
.anchor-target-padding {
  width: 0px;
  height: 0px;
  margin-top: -14vh;
}
.h-divider {
  margin: auto;
  margin-top: -1rem;
  margin-bottom: var(--sp-block-normal);
  width: 90%;
  position: relative;
}

.h-divider .shadow {
  overflow: hidden;
  height: 20px;
}

.h-divider .shadow:after {
  content: "";
  display: block;
  margin: -25px auto 0;
  width: 100%;
  height: 25px;
  border-radius: 125px/12px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.492);
}
hr.sep-1-blue {
  border: 0;
  border-bottom: 2px dashed var(--color-blue);
}

hr.sep-2-blue {
  width: 80%;
  margin-top: -1rem;
  margin-bottom: 2rem;
  border: 0;
  height: 2px;
  background-image: linear-gradient(
    to right,
    var(--color-blue-dark),
    var(--color-blue),
    var(--color-blue-dark)
  );
}
.center-p {
  margin: auto;
  width: 80%;
}
/*-----custom svg----*/

.custom-hr {
  width: 60%;
  display: flex;
  align-items: center;
  text-align: center;
  margin: auto;
  margin-top: -2rem;
  margin-bottom: 2rem;
}

.custom-hr:before,
.custom-hr:after {
  content: "";
  flex: 1;
  border-bottom: 2px solid var(--color-blue-light);
  margin: 0 10px 0 0;
}
.white-bk .custom-hr:before,
.white-bk .custom-hr:after {
  border-bottom-color: var(--color-blue);
}
.custom-hr:after {
  margin: 0 0 0 10px;
}

.microchip {
  width: 50px; /* Adjust width as needed */
}
.waveform {
  width: 0px; /* Adjust width as needed */
  fill: none;
  stroke: var(--color-blue-dawn);
  stroke-width: 2;
}
.custom-icon,
.design-icon,
.custom-icon-lg {
  margin: auto;
  transform: translateY(5px);
  width: 40px;
  height: auto;
  fill: var(--color-blue-dawn); /* This is the color of the icon */
}
.white-bk .custom-icon,
.white-bk .custom-icon-lg {
  fill: var(--color-blue-dusk);
}
.design-icon {
  width: 50px;
}
.custom-icon-lg {
  width: 60px;
}
/*-----gradient backgrounds----*/
.gradient-background-about {
  background: linear-gradient(
    300deg,
    var(--color-gradient-light),
    var(--color-gradient-middle),
    var(--color-gradient-dark)
  );
  background-size: 180% 180%;
  animation: gradient-animation 10s ease infinite;
}

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

/*---Grid-----*/

.container {
  position: relative;
  margin: auto;
  width: 100vw;
  display: grid;
  justify-content: center;
  align-items: center;
  grid-template-rows: auto auto auto auto auto; /* Adjusted for 5 rows */
  gap: 0px 0px;
  grid-column: 100vw;
  grid-template-areas:
    "hero-container"
    "title-area"
    "content-area"
    "another-row-if-needed" /* You can name it appropriately */
    "footer";
  overflow-x: hidden;
}

/*------Hero Vide0----*/
.hero-container {
  position: relative;
  margin: auto;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: auto;
  overflow-x: hidden;
  margin-bottom: var(--spacing-gap);
  grid-area: hero-container;
  background-image: linear-gradient(
      rgba(20, 93, 86, 0.775),
      rgba(14, 24, 26, 0.166)
    ),
    url("../images/home/dark_circuit_bk2.png");
  background-position: center;
  background-size: cover; /* or contain, depending on your needs */
  background-blend-mode: hue;
}

.hero-container-applications, .hero-container-contact {
  margin-top: var(--sp-block-normal);
  box-sizing: border-box;
  margin: auto;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: auto;
  overflow: hidden;
  grid-area: hero-container;
  box-shadow: var(--box-shadow);
}
.hero-container-contact{
  box-shadow: none;
}
.hero-image-contact {
  position: relative;
  height: 40vh;
}
.hero-image {
  position: relative;
  height: 60vh;
}
.hero-image-triptych {
  position: relative;
  width: 100%;
  height: aut0;
}
.hero-image img {
  height: 60vh;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

.contact-hero {
  filter: brightness(0.8);
}
.box-hero-title.no-box-hero h1 {
  text-shadow: var(--box-shadow);
}
.box-hero-title.no-box-hero {
  background-color: var(--color-blue-trans);
  backdrop-filter: blur(2px);
  box-shadow: none;
}

/*----- Hero title Box---*/
.box-hero-title h1 {
  display: block;
  font-weight: bold;
  width: 100%;
  font-size: 3.5rem;
  text-align: center;
  color: #fff;
  text-shadow: var(--text-shadow);
  margin-bottom: 0;
}

.box-hero-title {
  text-align: center;
  background-color: var(--color-blue-dark-blur);
  padding: var(--sp-block-normal);
  width: fit-content;
  top: 40%;
  left: 0;
  right: 0;
  margin: auto; /* Add margin auto */
  position: absolute;
  opacity: 1;
  box-shadow: var(--box-shadow);
  border-radius: var(--border-radius);
  backdrop-filter: blur(8px); /* Add backdrop-filter */
}

.box-hero-title img {
  margin: auto;
  border-radius: 10px;
  background-color: #eceaea;
  padding: 10px;
  padding-block: 6px;
  width: auto;
  height: 4em;
  transition: all 0.5s ease-in-out;
}

.box-tagline {
  opacity: 1;
}
.hero-title-box .tagline-title {
  opacity: 1;
}
.tagline-title h1 {
  position: relative;
  text-align: center;
  display: block;
  opacity: 1;
  color: white;
  background-color: var(--color-blue-midnight);
  text-shadow: var(--box-shadow);
  top: unset;
  animation: none;
}

/*---- Content ----*/

.content-area {
  width: 100vw;
  height: fit-content;
  grid-template-rows: auto;
  grid-area: content-area;
  grid-template-areas:
    "content-block-one"
    "triangle-container"
    "content-video";
    
}
.triangle-container {
  position: relative; /* Essential for positioning the pseudo-element */
  width: 100%;
  height: fit-content;
  padding-block-start: var(--sp-block-normal);
  padding-block-end: var(--sp-block-xl);
  grid-area: "triangle-container";
}

.triangle-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(
      circle at center,
      rgba(17, 96, 161, 0.775),
      rgba(4, 31, 54, 0.9)
    ),
    url("../images/home/dark_circuit_bk12.png");
  background-position: center;
  background-size: cover;
  background-blend-mode: multiply;
  /* Adjust this value to control the opacity */
  z-index: -1; /* Ensure the background is behind the container content */
}

.solution-containar {
  width: 100%;
  height: fit-content;
}

/*-------Responsive-----*/

@media screen and (max-width: 1000px) {
  h2 {
    text-align: center;
  }
  .hero-container {
    padding-top: 14vh;
    overflow: hidden;
  }
  .center-p {
    width: 100%;
  }
}
@media screen and (max-width: 700px) {
  ul{
    padding-inline-start: .5rem;
  }
  
  h2 {
    text-align: center;
  }
  /*----- Responsive SVG hr-----*/
  .custom-hr {
    width: 90%;
    margin-bottom: 2rem;
  }
  .custom-icon,
  .design-icon {
    width: 30px;
  }
  .custom-icon-lg {
    width: 40px;
  }
  /*----- Responsive Hero Image-----*/
  .hero-image {
    margin-top: 2rem;
    width: auto;
    height: 40vh;
  }
  .hero-image img {
    transform: translateX(-25%);
    width: auto;
    height: 40vh;
  }

  .hero-image-triptych {
    margin-top: 16vh;
    height: auto;
  }

  /*----- Responsive Hero Title-----*/
  .box-hero-title {
    top: 40%;
  }
  .hero-image-triptych .box-hero-title {
    display: none;
    top: 50%;
  }
  .box-hero-title h1 {
    font-size: 3rem;
  }
  .box-hero-title img {
    transform: translateX(0);
    height: 3em;
  }
}
