.content-block-one, .content-block-two, .solution-container {
  padding: var(--sp-block-normal) var(--sp-inline-normal);
  padding-block-end: var(--sp-block-lg);
  letter-spacing: .5px;
}

.content-block-one {
  text-align: center;
  margin-top: 0px;
  background-color: var(--color-blue-dark);
  border-top: 2px solid var(--color-blue-light-border);
  border-bottom: 4px solid var(--color-blue-light-border);
  box-shadow: var(--box-shadow);
}

.content-title {
  display: none;
  text-align: center;
  width: 100%;
  margin-top: 0px;
  background-color: var(--color-blue-dark);
  border-top: 2px solid var(--color-blue-light-border);
  border-bottom: 2px solid var(--color-blue-light-border);
  box-shadow: var(--box-shadow);
  padding: var(--sp-block-small) var(--sp-inline-normal);
  padding-block-end: var(--sp-block-lg);
}

.content-title h2, .content-title p{
  color:white;
}

.block-text {
  width: 70vw;
  margin: auto;
  text-indent: 2rem;
  text-align: start;
}

.block-text p {
  letter-spacing: .5px;
  display: inline;
  text-align: start;
}

.content-block-one h2, .content-block-two h2 {
  text-indent: 0px;
  display: block;
  padding: 0;
}

.content-block-one h4,
.content-block-two h4 {

  display: inline;
}

.content-block-two {
  margin-block: var(--spacing-gap);
  text-align: center;
  background-color: var(--color-blue-dark);
  border-top: 2px solid var(--color-blue-light-border);
  border-bottom: 4px solid var(--color-blue-light-border);
  box-shadow: var(--box-shadow);
}

.iframe-hero {
  box-shadow: var(--box-shadow-container);
  opacity: 0;
  width: 100%;
  min-height: 40vh;
  height: auto;
  border: unset;
  padding: 0px;
  overflow: hidden;
  pointer-events: none;
}
.video-container {
  opacity: 0;
  padding: 37.5% 0 0 0;
  position: relative;
  overflow: hidden;
}

.video-container iframe {
  filter: hue-rotate(150deg) saturate(1);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fadeIn {
  animation: fadeIn 2.5s ease-out forwards 1s; /* 1s is the delay */
}
.fadeIn-tag {
  opacity: 0;
  animation: fadeIn 3s ease-out forwards 1s; /* 1s is the delay */
}
#iframe-hero {
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
/*---HERO TITLE TAG---*/
.hero-title,
.tagline,.tagline-title {
  position: absolute;
  font-weight: bold;
  width: 100%;
  text-align: center;
  color: #fff; /* or any color that is visible on your video */
}

.hero-title {
  opacity: 1;
  top: 20%;
  transform: translateX(-20%); /* Adjust as per your design needs */
}

.hero-title img {
  border-radius: 10px;
  background-color: #eceaea;
  padding: 10px;
  padding-block: 6px;
  height: 5em;
  box-shadow: var(--box-shadow-light);
}

.tagline, .tagline-title {
  opacity: 0;
  top: 35%;
  transform: translateX(-20%); /* Adjust as per your design needs */
}

.tagline p , .tagline-title {
  letter-spacing: 1px;
  font-size: 2.5rem;
  text-shadow: var(--box-shadow);
}
@keyframes fadeInTitle {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.tagline {
  animation: fadeInTitle 2s ease-out forwards 3s; /* Adjust delay as needed */
}
/*--- CAROUSEL */

.slideshow {
  position: relative;
  margin: auto;
  margin-block: var(--sp-block-normal);
  border-radius: 3px;
  position: relative;
  width: 90vw;
  aspect-ratio: 16/5;
  overflow: hidden;
  background-color: black;
  box-shadow: var(--box-shadow);
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: start;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.slide.active {
  opacity: 1;
  background-color: none;
  visibility: visible; /* Added visibility property */
}

.solution-container h3 a {
  margin: auto;
  width: fit-content;
  text-align: center;
  position: absolute;
  top: 75%;

  transform: translate(-50%, -50%);
  text-decoration: none;
  color: #eceaea;
  background-color: var(--color-blue-dark-pop);
  padding: var(--sp-inline-sm);
  padding-block: var(--sp-block-sm);
  border-radius: 3px;
}

/*--- SOLUTIOND CAROUSEL IMAGES */

div.slide:nth-child(2) {
  background-image: url("../images/home/manufacturing_slide_home.webp");
  background-size: cover;
  background-position: center;
}

div.slide:nth-child(3) {
  background-image: url("../images/home/design1.png");
  background-size: cover;
  background-position: center;
}

div.slide:nth-child(4) {
  background-image: url("../images/home/inspect1.png");
  background-size: cover;
  background-position: center;
}


div.slide:nth-child(5) {
  background-image: url("../images/home/epoxy_chip_green1.png");
  background-size: cover;
  background-position: center;
}

div.slide:nth-child(6) {
  background-image: url("../images/home/wire_bonding2.png");
  background-size: cover;
  background-position: center;
}

.awards {
  position: absolute;
  margin-inline-end: 20px;
  right: 0;
  bottom: 0%;
  transform: translateY(-50%); /* Center vertically */
  display: flex;
  gap: 4px; /* Adjust as needed */
  z-index: 2; /* Bring to front */
}

.awards img {
  display: none;
  width: 120px;
}

.services-container {
  padding-inline: var(--sp-inline-normal);
  padding-block: var(--sp-block-normal);
  display: grid;
  gap: 10px; /* Adjust as needed */
}

/*----- buttons ----*/
.contact-button-div, .brochure-button-div{
  margin-left: auto;
  margin-right: auto;
  margin-block-start: var(--sp-block-lg);
  margin-block-end: var(--sp-block-normal);
}
.brochure-button-div{
  margin-block-start: var(--sp-block-small);
  margin-block-end: var(--sp-block-small);
}
.contact-button {
  cursor: pointer;
  text-align: center;

  font-size: 1.5rem;
  font-weight: bold;
  padding: 10px 25px;
  width:auto;
  background-color: var(--color-blue);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  box-shadow: var(--box-shadow);
  text-shadow: var(--text-shadow);
  border: 4px solid var(--color-blue);
  transition: background-color 0.2s ease-in-out;
}
 .contact-button a {
  display: block;
  margin-top: var(--sp-block-lg);
}

.contact-button:hover {
  background-color: var(--color-button-hover);
}

/*-----------------------Resonsive-----------------------*/

@media screen and (max-width: 1000px) {
  .hero-title img,
  .awards img {
    display: none;
  }
  .tagline {
    top: 25vh;
    left: 15%;
    font-weight: bold;
  }
  .tagline p {
    font-size: 2.6rem;
  }

  .video-container {
    padding-top: 56.25%; /* 16:9 aspect ratio */
    position: relative;
    margin: -2rem;
    overflow: hidden;
    pointer-events: none;
  }

  .video-container iframe {
    filter: hue-rotate(150deg);
    position: absolute;
    top: 0;
    left: -20%;
    width: 150%;
    height: 100%;
    pointer-events: none;
  }
  .block-text {
    width: 85vw;
  }

}
@media screen and (max-width: 700px) {

.content-block-one h2, .content-block-two h2 {
    text-indent: 0px;
  }

a.contact-button {
  width: 80%;
 
}

  .slideshow {
    position: relative;
    margin: auto;
    margin-top: 20px;
    width: 150vw;
    margin-inline-start: -35vw;
    aspect-ratio: 16/5;
    overflow: hidden;
  }

  .solution-container h3 a {
    top: 70%;
    left:48%;
    transform: translate(-50%, -50%);
    
  }

  .tagline {
    opacity: 0;
    top: 64%;
   left: 18%;
    transform: translateX(-20%); /* Adjust as per your design needs */
  }
  .tagline p {
    font-size: 1.2rem;
    text-shadow: var(--box-shadow);
  }

}
