@import url("https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
*:focus {
  outline: none;
  opacity: 1 !important;
}
section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  /* background: url(/images/bg1.svg); */
  background-color: #0f0f0f;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 100px;
  overflow: hidden;
}
#retail {
  display: block;
  background: linear-gradient(rgb(37, 36, 36), rgb(95, 95, 95), #333);
}
#marketing {
  display: block;
}
#slogan {
  height: 110vh;
}
#hero {
  background: linear-gradient(45deg, #0f0f0f, #333);
  height: 110vh;
}
#hero .hero {
  background: url(/images/hero.png);
  background-repeat: no-repeat;
  background-position-x: right;
  mix-blend-mode: overlay;
  opacity: 0.5;
  width: 120%;
  height: 100%;
  position: absolute;
  bottom: 0;
}
#hand {
  height: 110vh;
  background: rgb(37, 36, 36);
}
#contact {
  display: flex;
  height: 110vh;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: linear-gradient(rgb(37, 36, 36), rgb(95, 95, 95), #333);
}
img.bg1 {
  width: 90%;
  position: absolute;
  right: 0;
  bottom: 0;
}
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 10px 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}
header .logo {
  position: relative;
  font-size: 1.25em;
  color: #fff;
  text-transform: uppercase;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 1px;
  cursor: pointer;
}
.logo img {
  width: 150px;
}
header .navigation {
  position: relative;
  display: flex;
}
header .navigation li {
  list-style: none;
}
header .navigation li a {
  display: inline-block;
  color: #fff;
  margin-right: 40px;
  text-decoration: none;
}
header .navigation li a:hover,
header .navigation li a:focus {
  color: #e6772e;
  outline: none;
}
/* .sticky .logo img {
  opacity: .6;
  width: 100px;
  transition: all .3s;
} */
.content {
  max-width: 600px;
  margin: 8em 0 0 0;
  z-index: 2;
}
.content .contentBx h2 {
  font-size: 6em;
  font-weight: 300;
  color: #fff;
  line-height: 0.9em;
}
.content .contentBx h2 span {
  background: -webkit-linear-gradient(
    45deg,
    rgba(230, 120, 46, 1) 0%,
    rgba(245, 33, 5, 1) 11%,
    rgba(244, 37, 7, 1) 12%,
    rgba(230, 120, 46, 1) 31%,
    rgba(230, 120, 46, 1) 52%,
    rgba(224, 67, 27, 1) 76%,
    rgba(230, 120, 46, 1) 88%,
    rgba(231, 56, 39, 1) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #e6772e;
}
.content .contentBx p,
.sub-p,
.sub-p2 {
  font-size: 0.9em;
  color: #fff;
  font-weight: 300;
  margin: 4em 0 4em 0;
}
.sub-p {
  text-align: center;
  margin-bottom: 8em;
}
.p {
  max-width: 500px;
  text-align: center;
  margin: 5vh auto;
  color: #fff;
  font-size: 0.9em;
}
.p:before {
  content: "";
  width: 20px;
  border-left: 2px solid #e6772e;
  padding-right: 5px;
}
.sub-p2 {
  text-align: center;
  max-width: 700px;
  display: flex;
  margin: 4em auto 6em auto;
}
.btn-main {
  display: inline-block;
  padding: 10px 45px;
  background: #fff;
  color: #000;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 1px;
  cursor: pointer;
}
.btn-main:hover,
.btn-main:focus {
  background: #e6772e;
  color: #fff;
  outline: none;
}
#contact-btn {
  position: absolute;
  left: 0;
  bottom: 30%;
  margin-left: 6vw;
}
.sci {
  position: absolute;
  bottom: 30px;
  display: flex;
}
.sci li {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
}
.sci li a {
  position: relative;
  display: inline-block;
  margin-right: 20px;
  filter: invert(1);
  transform: scale(0.5);
}
.card-content p {
  font-size: 0.9em;
}
.scroll-next {
  background: transparent;
  position: fixed;
  bottom: 50px;
  right: 50px;
}
#scroll-arrow {
  font-size: 3em;
  color: #e6772e;
  opacity: 0.7;
}

@media (max-width: 991px) {
  header {
    padding: 15px 40px;
  }
  section {
    padding: 40px;
  }
  img.bg1 {
    width: 200%;
    bottom: 60%;
  }
  .content {
    margin: 1em auto;
  }
  .content .contentBx h2 {
    font-size: 3.5em;
  }
  .content .contentBx p {
    font-size: 0.8em;
  }
  .content .contentBx p,
  .sub-p,
  .sub-p2 {
    font-size: 0.8em;
  }
  header .navigation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000;
    z-index: 10;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  header .navigation.active {
    display: flex;
  }
  header .navigation li a {
    font-size: 24px;
    margin: 10px 0;
  }
  .toggleMenu {
    position: relative;
    width: 30px;
    height: 30px;
    background: url(/images/menu.png);
    background-position: center;
    background-size: 30px;
    background-repeat: no-repeat;
    cursor: pointer;
    z-index: 11;
  }
  .toggleMenu.active {
    background: url(/images/close.png);
    background-position: center;
    background-size: 25px;
    background-repeat: no-repeat;
  }
}

@media (max-width: 500px) {
  img.bg1 {
    width: 200%;
    bottom: 50%;
    right: -20%;
  }
  #intro {
    margin-top: 150px;
  }
}

@keyframes zoom-in-zoom-out {
  0% {
    transform: scale(1, 1);
  }
  50% {
    transform: scale(1.5, 1.5);
  }
  100% {
    transform: scale(1, 1);
  }
}
/* Section base */
#justpix.section7 {
  padding: 40px 20px;
}

/* Flex wrapper to center everything */
.justpix-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center; /* vertical centering inside section */
  align-items: center; /* horizontal centering */
  gap: 24px;
  min-height: 70vh; /* tweak to taste (70vh, 80vh, 100vh, etc.) */
}

/* Logo + text block */
.justpix-container {
  max-width: 900px;
  width: 100%;
  text-align: center;
}

.jp-logo {
  max-width: 500px;
  width: 100%;
  height: auto;
  margin: 0 auto 50px auto;
  display: block;
}

/* Paragraph styling */
#justpix-p {
  margin: 10px 0 8px 0;
  text-align: center;
  color: white;
  font-size: 0.9rem;
}

/* Image grid below */
.canvas-imgs {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  width: 100%;
}

.canvas-imgs img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

/* Tablet */
@media (max-width: 1024px) {
  .canvas-imgs {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 600px) {
  .justpix-wrapper {
    min-height: auto; /* avoid absurd vertical space on small screens */
  }

  .jp-logo {
    max-width: 180px;
  }

  .canvas-imgs {
    grid-template-columns: 1fr;
  }
}

/* CTA Wrapper */
.jp-cta-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
  flex-wrap: wrap;
}

/* Base button */
.jp-btn {
  padding: 12px 24px;
  background: #9166ff; /* your purple */
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  display: inline-block;
  transition: 0.2s ease;
}

/* Hover */
.jp-btn:hover {
  background: #6a4cff; /* slightly darker */
}

/* Secondary button version */
.jp-btn.jp-secondary {
  background: #ff8000; /* your orange */
}

.jp-btn.jp-secondary:hover {
  background: #cc6500;
}

/* Stack on small screens */
@media (max-width: 600px) {
  .jp-cta-wrap {
    flex-direction: column;
    gap: 12px;
  }
}
