.hero-section {
  background: url(/src/patented-products/hero-background.png);
  height: 460px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.patented-container {
  padding-top: 120px;
  padding-bottom: 40px;
}

h2 {
  color: var(--color-secondary);
  margin-bottom: 60px;
}

.patented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.patented-card {
  padding: 40px;
  border-radius: 20px;
}

.green-card {
  background-color: var(--color-tertiary);
  color: #fff;
}

.white-card {
  background-color: #fff;
}

.white-card p {
  color: var(--color-tertiary);
}

.patented-card p {
  font-size: 1.5rem;
  line-height: normal;
  font-weight: 700;
}

.patented-card ul {
  margin-top: 20px;
}

.patented-card button {
  margin-top: 20px;
  padding: 8px 16px;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.32px;
  border-radius: 4px;
  color: #fff;
  background: var(--color-tertiary);
  border: none;
  cursor: pointer;
}

.patented-card button:hover {
  opacity: 0.65;
}

.green-card button {
  border: 1px solid #fff;
}

.contact-card {
  padding: 40px;
  border-radius: 20px;
  column-gap: 40px;
  row-gap: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.contact-card p {
  font-size: 1rem;
  font-family: "Poppins", "Noto Serif TC";
  font-weight: 400;
}

.contact-container {
  padding-bottom: 240px;
  margin-top: 40px;
}

.contact-card div {
  width: 130px;
}

/* Slider */
.swiper {
  width: 100%;
  height: 100%;
  border-radius: 20px;
}
.swiper .swiper-wrapper .swiper-slide,
.patented .five-1 {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border-radius: 20px;
}
.one-1 {
  background: url("/src/patented-products/1-1.png");
}
.one-2 {
  background: url("/src/patented-products/1-2.png");
}
.two-1 {
  background: url("/src/patented-products/2-1.png");
}
.two-2 {
  background: url("/src/patented-products/2-2.png");
}
.three-1 {
  background: url("/src/patented-products/3-1.png");
}
.three-2 {
  background: url("/src/patented-products/3-2.png");
}
.four-1 {
  background: url("/src/patented-products/4-1.gif");
}
.four-2 {
  background: url("/src/patented-products/4-2.png");
}
.four-3 {
  background: url("/src/patented-products/4-3.png");
}
.four-4 {
  background: url("/src/patented-products/4-4.gif");
}
.five-1 {
  background: url("/src/patented-products/5-1.png");
}

.nav-carousel {
  position: absolute;
  bottom: 40px;
  right: 40px;
  display: flex;
  align-items: center;
  gap: 16px;
  transform: scale(1);
  z-index: 3;
}
.nav-carousel .button-prev,
.nav-carousel .button-next {
  transition: transform 0.3s ease-in-out;
  background: none;
  border: none;
}
.nav-carousel .button-prev:hover,
.nav-carousel .button-next:hover {
  transform: scale(1.1);
}
.nav-carousel .pagination > .swiper-pagination-bullet {
  width: 16px;
  height: 16px;
  background-color: #fff;
  border-radius: 50%;
  transition: all 0.3s ease-in-out;
}
.nav-carousel .pagination > .swiper-pagination-bullet-active {
  background-color: #fff;
  width: 48px;
  border-radius: 16px;
}
.nav-carousel .pagination > .swiper-pagination-bullet:hover,
.nav-carousel .pagination > .swiper-pagination-bullet-active:hover {
  background-color: #fff;
}

.pop-up-section {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 101;
  justify-content: center;
  align-items: center;
}
.pop-cover {
  background: rgb(0, 0, 0, 30%);
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
}
.pop-dialog {
  background: #fff;
  padding: 80px 40px 80px 90px;
  width: 580px;
  height: 800px;
  border-radius: 20px;
  box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.25);
  position: relative;
}
.pop-dialog-close {
  height: unset;
  width: unset;
  position: absolute;
  top: 40px;
  right: 40px;
  cursor: pointer;
}
.pop-dialog-patents {
  overflow-y: auto;
  width: 100%;
  height: 100%;
  padding-right: 35px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  z-index: 102;
}

@media only screen and (max-width: 1024px) {
  .patented {
    grid-template-columns: 1fr;
  }
  .swiper,
  .five-1 {
    height: 400px;
  }
}
