@import url("https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Inter, Arial, Helvetica, sans-serif;
  scroll-behavior: smooth;
}

:root {
  --color-bg: #e6e6e6;
  --color-dist-bg: #fff;
  --color-dist-ex-bg: #fff;
  --color-text: #000;
  --color-purple: rgb(114, 8, 158);
}

[data-theme="dark"] {
  --color-bg: #121212;
  --color-dist-ex-bg: #121212;
  --color-dist-bg: #434343;
  --color-text: #ebebeb;
  --color-purple: rgb(155, 82, 187);
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  transition: all 0.3s ease-in-out;
}

body.no-scroll {
  overflow: hidden;
}

.go-top-btn {
  position: fixed;
  width: 50px;
  height: 50px;
  background-color: var(--color-purple);
  bottom: 40px;
  right: 40px;
  text-decoration: none;
  text-align: center;
  line-height: 50px;
  color: #fff;
  font-size: 1.3rem;
  z-index: 20;
  border-radius: 0.6rem;
}

/* OBSERVER STYLES */
.mb-wrapper {
  height: 100%;
  padding-top: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fff;
  gap: 2rem;
  margin-bottom: 4rem;
  /* padding: 0 1rem; */
}

.main-container {
  height: 100%;
}

.zoom-background {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.zoom-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(35%);
  /* animation: zoomInOut 20s ease-in-out infinite; */
}

/* .zoom-background::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/header.webp") center center / cover no-repeat;
  transform-origin: center center;
  animation: zoomInOut 20s ease-in-out infinite;
} */

/* Smooth zoom animation */
@keyframes zoomInOut {
  0%,
  100% {
    transform: scale(1);
  }
  25%,
  50% {
    transform: scale(1.1);
  }
}

/* Overlay for the fade effect */
.zoom-background::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  animation: fadeInOut 10s ease-in-out infinite;
  pointer-events: none;
}

/* @keyframes fadeInOut {
  0% {
    background: rgba(0, 0, 0, 0);
  }
  25% {
    background: rgba(0, 0, 0, 0.25);
  }
  50% {
    background: rgba(0, 0, 0, 0.25);
  }
  75% {
    background: rgba(0, 0, 0, 0);
  }
  100% {
    background: rgba(0, 0, 0, 0);
  }
} */

.header-div {
  background-color: #ccc;
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: space-between;
  background-image: url("../images/header.webp");
}

/* .header-img {
  position: absolute;
  width: 100%;
  height: 100%;
  animation: fadeSlideshow 15s infinite;
} */

/* .header-img.img-1 {
  animation-delay: 0s;
}

.header-img.img-2 {
  animation-delay: 5s;
}

.header-img.img-3 {
  animation-delay: 10s;
} */

/* @keyframes fadeSlideshow {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  33% {
    opacity: 1;
  }
  43% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
} */

/* @keyframes animate {
  0% {
    background-image: url("../images/IMG_3981.webp");
  }

  33% {
    background-image: url("../images/IMG_3992.webp");
  }

  66% {
    background-image: url("../images/IMG_3993.webp");
  }
} */

/* .overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: #000;
  opacity: 65%;
} */

/* HEADER TEXT LEFT SECTION STYLES */
.header-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  color: #fff;
  text-align: center;
  flex-basis: 50%;
  padding-top: 120px;
}

/* HEADER GRID RIGHT SECTION STYLES */
.header-right {
  flex-basis: 50%;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: 1rem;
  gap: 0.3rem;
  padding-top: 120px;
}

.header-grid-row {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.3rem;
}

.header-grid-item {
  width: 33%;
  background-color: rgba(138, 138, 138, 0.8);
  box-shadow: 0 15px 25px rgba(255, 255, 255, 0.167);
}

.header-grid-item.top-left {
  border-top-left-radius: 1rem;
}

.header-grid-item.top-right {
  border-top-right-radius: 1rem;
}

.header-grid-item.bottom-left {
  border-bottom-left-radius: 1rem;
}

.header-grid-item.bottom-right {
  border-bottom-right-radius: 1rem;
}

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

.header-left img {
  width: 60%;
}

.header-slogan {
  font-size: 2rem;
}

.header-q {
  font-size: 1.5rem;
}

.solution-specialists {
  font-style: italic;
  color: #fff;
  text-shadow:
    0 0 8px rgba(185, 94, 255, 0.9),
    0 0 20px rgba(255, 94, 212, 0.6),
    0 0 40px rgba(0, 153, 204, 0.3);
}

.service-list {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.service-list p {
  font-size: 1rem;
  letter-spacing: 2px;
  font-style: italic;
}

header {
  position: relative;
}

nav.blurred-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  padding: 1rem 2rem;
  background: var(--color-bg) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--color-text);
  z-index: 1000;
  transition: height 0.3s ease-in-out;
  transition: background-color 0.3s ease-in-out;
  box-shadow:
    0 4px 8px 0 rgba(0, 0, 0, 0.2),
    0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.theme-toggle-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* .theme-icon {
  color: var(--color-text);
} */

.header-cta {
  position: absolute;
  bottom: 20%;
  left: 50%;
  z-index: 2;
  color: #fff;
  transform: translateX(-50%);
  width: 80%;
  display: flex;
  justify-content: space-between;
  gap: 6rem;
}

.header-cta-inner.left {
  flex: 1 1 60%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.header-cta-inner.right {
  flex: 0 0 20%;
  display: flex;
  align-items: end;
}

.header-left-inner-lg {
  font-size: 4rem;
}

.header-left-inner-sm {
  font-size: 2rem;
}

.header-btn-container a {
  background-color: var(--color-purple);
  padding: 1rem 2rem;
  border: none;
  border-radius: 1rem;
  font-size: 1.2rem;
  color: #fff;
  text-decoration: none;
  transition: background-color 0.3s ease-in-out;
}

.header-btn-container a:hover {
  background-color: rgb(127, 57, 166);
}

.client-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 1.5rem;
  border-radius: 1rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.flag-container img {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  border: 1px solid #fff;
}

.flag-container img:nth-child(2),
.flag-container img:nth-child(3),
.flag-container img:nth-child(4) {
  margin-left: -10%;
}

/* Distributor Scroll */
/*** LOGO SCROLL ***/
@keyframes slide {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

#distributor-section {
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0.5rem;
  background-color: var(--color-dist-ex-bg);
  color: #a3a3a3;
  font-size: 1.5rem;
}

.pics {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  width: 80%;
  padding: 2rem;
  display: flex;
  gap: 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pics:hover .pics-slide {
  animation-play-state: paused;
}

.pics-slide {
  display: flex;
  justify-content: space-between;
  align-items: center;
  animation: none;
  transition: all 0.2s ease-in-out;
}

.pics-slide img {
  width: 180px;
}

.pics-slide:hover {
  filter: brightness(75%);
  transform: scale(1.2);
}

/* About Section */
#about {
  width: 100%;
  background-color: var(--color-bg);
  color: var(--color-text);
}

.about-container {
  width: 80%;
  height: 100%;
  display: flex;
  padding: 4rem 0rem;
  margin: 0 auto;
  justify-content: center;
  align-items: center;
  gap: 4rem;
}

.about-left,
.about-right {
  flex-basis: 100%;
  width: 50%;
  height: 100%;
}

.about-left img {
  border-radius: 1rem;
}

/* .about-left {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
} */

/* @keyframes transformImage {
  0% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.05);
  }
  50% {
    transform: scale(1.1);
  }
  75% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
} */

.about-left .slideshow {
  position: relative;
}

.about-left .slideshow .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.about-left .slideshow .slide:first-child {
  position: relative; /* holds the container's height */
}

.about-left .slideshow .slide.active {
  opacity: 1;
}
.about-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-right h2 {
  font-size: 3rem;
}

.about-right p {
  padding-top: 1rem;
  font-size: 1.3rem;
}

.about-right a {
  color: var(--color-text);
}

.payment-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.payment-container div {
  padding: 0.5rem;
  border-radius: 0.5rem;
}

.payment-container img {
  width: 20%;
}

.iso-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 2rem;
}

.iso-container img {
  width: 50%;
}

/* Products and Services */
.products-services-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  height: 100%;
  padding: 2rem 0;
  background-color: var(--color-dist-bg);
}

.products-services-wrapper > h2 {
  font-size: 3rem;
}

.product-card-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 1rem;
  width: 80%;
}

.product-card {
  display: block;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  width: calc(33% - 1rem);
  overflow: hidden;
  border-radius: 1rem;
  background: var(--color-bg);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
}

.product-card:hover {
  filter: brightness(85%);
  transform: scale(1.02);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
}

.product-card img {
  width: 100%;
}

.product-card h3 {
  font-size: 1.3rem;
}

.product-card-text {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.product-card-link {
  display: none;
}

.iso-container a {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  background: var(--color-purple);
  color: white;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  text-align: center;
}

.iso-container a:hover {
  background-color: rgb(127, 57, 166);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Product Application */
#gallery {
  width: 100%;
  height: 100%;
  background-color: var(--color-bg);
}

.gallery-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2rem 0rem 4rem 0rem;
  text-align: center;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 250px); /* adjust height as needed */
  gap: 1rem;
  width: 80%;
  padding: 0 1rem;
}

.gallery div {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}

/* Grid placement */
.img1 {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}

.img2 {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
}

.img3 {
  grid-column: 3 / 4;
  grid-row: 1 / 2;
}

.img4 {
  grid-column: 2 / 4;
  grid-row: 2 / 3;
}

.gallery-container h2 {
  font-size: 3rem;
}

.gallery-caption {
  width: 100%;
  height: 15%;
  background: linear-gradient(rgba(48, 48, 48, 0.5), var(--main-color));
  border-radius: 1rem;
  position: absolute;
  left: 0;
  bottom: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #fff;
  font-size: 1.5rem;
  background: #212121;
  background: linear-gradient(
    0deg,
    rgb(21, 21, 21) 0%,
    rgba(158, 158, 158, 0) 100%
  );
  transition: height 0.3s;
}

.gallery-caption a {
  color: #fff;
  text-decoration: none;
  font-size: 0.5rem;
}

.gallery div:nth-child(2) > .gallery-caption,
.gallery div:nth-child(3) > .gallery-caption,
.gallery div:nth-child(4) > .gallery-caption {
  height: 25%;
}

.image-credits-button {
  border: none;
  background: none;
  color: var(--color-text);
}

.image-credits-button:hover {
  text-decoration: underline;
  cursor: pointer;
}

.image-credits {
  top: -50%;
  left: -50%;
  width: 50%;
  color: var(--color-text);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  z-index: 2000;
  display: none;
}

.image-credit-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.image-credit-links a {
  color: var(--color-text);
  text-decoration: underline;
}

/* REVIEWS */
/* #reviews-section {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 2rem 0 4rem 0;
}

#reviews-section h2 {
  font-size: 3rem;
}

.reviews-wrapper {
  width: 80%;
  font-size: 1.3rem;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 1rem;
  padding: 0 1rem;
}

.review-card {
  border-radius: 1rem;
  flex: 1 1 33%;
  background-color: #e6e6e6;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  padding: 2rem;
  gap: 0.5rem;
  color: #707070;
}

.review-card img {
  width: 100%;
}

.name {
  color: #000000;
  font-weight: 800;
  font-size: 1.7rem;
}

.job-position {
  font-style: italic;
  font-size: 1.2rem;
}

.review {
  font-size: 1rem;
} */

/* CONTACT */
#contact {
  background-image: url("../images/contact.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 0;
}

#contact h2 {
  font-size: 3rem;
}

#contact h3 {
  text-align: center;
}

.contact-box {
  width: 50%;
  background-color: rgba(226, 226, 226, 0.9);
  color: #000;
  padding: 2rem;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.contact-box img {
  width: 100%;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

form div {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

input,
textarea {
  border-radius: 1rem;
  border: none;
  padding: 1rem;
  font-size: 1.1rem;
}

.form-btn {
  background-color: var(--color-purple);
  padding: 1rem 2rem;
  border: none;
  border-radius: 1rem;
  font-size: 1.2rem;
  color: #fff;
  width: 40%;
  display: block;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .products-services-wrapper {
    padding: 1rem;
  }

  .products-services-wrapper > h2 {
    font-size: 2.4rem;
    text-align: center;
  }
  .product-card-container {
    flex-direction: column;
    padding: 0;
    width: 100%;
  }

  .product-card {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .go-top-btn {
    bottom: 20px;
    right: 20px;
  }

  .header-div {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 0;
    padding: 1rem;
    gap: 2rem;
    height: 100%;
    background-image: url("../images/header-mobile.webp");
  }
  .header-left img {
    width: 90%;
  }

  .header-right {
    padding: 0;
  }
  .header-slogan {
    font-size: 2.4rem;
  }
  .service-list {
    flex-direction: column;
    gap: 1rem;
  }

  .service-list p {
    font-size: 1.1rem;
  }
  .zoom-background {
    height: 100vh;
  }

  .zoom-background video {
    object-position: 80%;
  }

  .header-cta {
    width: 90%;
    top: 210px;
    flex-direction: column;
    gap: 1.5rem;
  }

  section {
    scroll-margin-top: 100px;
  }

  nav.blurred-background {
    position: fixed;
    display: block;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    padding: 1rem;
    gap: 1rem;
    height: 100px;
    overflow: hidden;
    transition: height 0.3s ease-in-out;
    background-color: #e6e6e6;
  }

  .blurred-background.active {
    height: 100vh;
  }

  .header-btn-container {
    margin-bottom: 1rem;
  }

  .client-container {
    font-size: 1rem;
    padding: 1rem 2rem;
  }

  .header-left-inner-lg {
    font-size: 2.4rem;
  }

  .header-left-inner-sm {
    font-size: 1.2rem;
  }

  .header-cta-inner.left {
    gap: 0.5rem;
  }

  .header-cta-inner.right {
    justify-content: start;
  }

  /* Logo slide */
  #distributor-section {
    padding-bottom: 0;
    font-size: 1.3rem;
  }

  .pics {
    width: 100%;
    flex-direction: column;
    gap: 1rem;
  }

  /* .pics-slide {
    animation: 15s slide infinite linear;
  } */

  .pics-slide img {
    width: 200px;
  }

  /* About Section */
  #about {
    width: 100%;
  }

  .about-container {
    height: 100%;
    flex-direction: column;
    width: 100%;
    padding: 1rem;
    gap: 2rem;
  }

  .about-left,
  .about-right {
    flex-basis: 100%;
    width: 100%;
    height: 100%;
  }

  .about-right {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .about-right h2 {
    font-size: 2rem;
    text-align: center;
  }

  .about-right p {
    padding: 1rem 0;
    font-size: 1.1rem;
  }

  .product-card-link {
    display: block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    background: var(--color-purple);
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    text-align: center;
  }

  /* Product Application */
  #gallery {
    height: 100%;
  }
  .gallery {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, auto); /* adjust height as needed */
    gap: 1rem;
    width: 100%;
    padding: 0;
  }

  .gallery-container {
    padding: 1rem;
  }

  .img1,
  .img2,
  .img3,
  .img4 {
    grid-column: 1 / 2;
    aspect-ratio: 1/ 1;
  }

  .img1 {
    grid-row: 1 / 2;
  }

  .img2 {
    grid-row: 2 / 3;
  }

  .img3 {
    grid-row: 3 / 4;
  }

  .img4 {
    grid-row: 4 / 5;
  }

  .gallery div:nth-child(1) > .gallery-caption,
  .gallery div:nth-child(2) > .gallery-caption,
  .gallery div:nth-child(3) > .gallery-caption,
  .gallery div:nth-child(4) > .gallery-caption {
    height: 25%;
  }

  .image-credits {
    width: 100%;
  }

  /* REVIEWS */
  #reviews-section {
    padding: 1rem;
  }

  .reviews-wrapper {
    flex-direction: column;
    gap: 1rem;
    padding: 0;
    width: 100%;
  }

  .review-card {
    padding: 1rem;
  }

  .review-card img {
    width: 100%;
  }

  #contact {
    padding: 1rem;
    align-items: start;
    height: 100%;
  }

  .contact-box {
    width: 100%;
    padding: 1rem;
  }
}
