@import url("https://fonts.googleapis.com/css2?family=Inter&family=Oxanium:wght@200..800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display&family=Oxanium:wght@200..800&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Inter, Arial, Helvetica, sans-serif;
  scroll-behavior: smooth;
}

body.no-scroll {
  overflow: hidden;
}

/* 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 {
  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: #e6e6e6 !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #000;
  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);
}

.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 {
  margin-top: 2rem;
}

.header-btn-container a {
  background-color: rgb(114, 8, 158);
  padding: 1rem 2rem;
  border: none;
  border-radius: 1rem;
  font-size: 1.2rem;
  color: #fff;
  text-decoration: none;
}

.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;
  letter-spacing: 0.5rem;
  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: 110px;
}

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

/* About Section */
#about {
  width: 100%;
  background-color: #e6e6e6;
}

.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 {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
}

.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;
}

.payment-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

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

.payment-container img {
width: 20%;

}

.am-ex {
  color: #2e77bc;
  border: 1px solid #2e77bc;
  background-color: #cbe6ff;
}

.discover {
  color: #f56b2a;
  border: 1px solid #f56b2a;
  background-color: #ffd8c6;
}

.mastercard {
  color: #eb001b;
  border: 1px solid #eb001b;
  background-color: #ffd1d5;
}

.visa {
  color: #1434cb;
  border: 1px solid #1434cb;
  background-color: #c5ceff;
}

.paypal {
  color: #003087;
  border: 1px solid #003087;
  background-color: #cfd3e9;
}

.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: #fff;
}

.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: #e6e6e6;
  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: rgb(114, 8, 158);
  color: white;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  text-align: center;
}

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

/* Product Application */
#gallery {
  width: 100%;
  height: 100%;
  background-color: #e6e6e6;
}

.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 div:nth-child(2) > .gallery-caption,
.gallery div:nth-child(3) > .gallery-caption,
.gallery div:nth-child(4) > .gallery-caption {
  height: 25%;
}

/* 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: #e6e6e6;
  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;
}

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: rgb(114, 8, 158);
  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) {
  .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.right {
    justify-content: start;
  }

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

  .pics {
    width: 100%;
  }

  .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: rgb(114, 8, 158);
    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%;
  }

  /* 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;
  }
}
