/* Main */
.main {
  width: 100%;
  height: 100vh;
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  width: 100%;
  height: 100%;
}

.custom-nav {
  width: 96%;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  display: flex;
  justify-content: space-between;
  color: #fff;
}
.swiper-prev,
.swiper-next {
  cursor: pointer;
  color: #ddd;
}
.swiper-prev i,
.swiper-next i {
  color: #ddd;
}
.swiper-control {
  position: absolute;
  left: 50%;
  bottom: 60px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 10;
}

.swiper-control span {
  color: #fff;
  font-size: 14px;
  line-height: 1;
}

.custom-wrap .autoplay-progress {
  width: 140px;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
  overflow: hidden;
}

.custom-wrap .progress-fill {
  width: 0%;
  height: 100%;
  background: #fff;
  position: absolute;
  top: 0;
  left: 0;
}

.bright {
  filter: brightness(0.7);
}

.hero-title {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  gap: 30px;
  justify-content: center;
  align-items: start;
  width: 70%;
  transform: translate(-50%, -50%);
}

.hero-title h3,
.hero-title p {
  color: #ddd;
}

.hero-title p {
  margin-bottom: 20px;
}

.hero-title .primary-btn-w:hover {
  color: #fff;
}

.hero-title .primary-btn-w::before {
  content: "VIEW MORE";
  color: #ddd;
  font-size: 16px;
}

.title-txt {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (max-width: 768px) {
  .hero-title {
    width: 80%;
  }
  .swiper-prev,
  .swiper-next {
    display: none;
  }
}

/* ABOUT */
.section.about {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background:
    linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)),
    url("img/index-02.jpg") center / cover no-repeat;
  overflow-x: clip;
}
.about .section-title {
  margin-bottom: 180px;
  text-align: left;
}

.about .bubble-group {
  display: flex;
  align-items: center;
  justify-content: start;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  /* width: 440px; */
}

.bubble-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(140px, 11.5vw, 220px);
  aspect-ratio: 1;
  flex-direction: column;
  background-color: rgba(11, 142, 54, 0.8);
  border-radius: 999px;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}
.bubble-btn:hover {
  background-color: var(--brand) !important;
}

.bubble-btn h4 {
  color: #fff;
}
.bubble-btn p {
  color: #ddd;
}

.about .bubble-btn:nth-child(2) {
  background-color: rgba(11, 142, 54, 0.6);
  margin-left: -30px;
}

.about .w-container {
  display: flex;
  flex-direction: column;
  align-items: end;
  justify-content: center;
}

.about .company h1 {
  line-height: 0.7;
  margin-bottom: 0;
  font-size: clamp(24px, 4vw, 80px);
  color: rgba(100, 100, 100, 0.2);
}

.about .grid-wrap {
  background-color: rgba(100, 100, 100, 0.2);
  padding: 60px;
  width: 90%;
  max-width: calc((100vw - var(--maw)) / 2 + var(--maw));
  border-radius: 999px 0 0 999px;
}

.about .prod-grid h4 {
  font-size: clamp(24px, 2.5vw, 40px);
  font-weight: 700;
}

.about .prod-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

@media (max-width: 1024px) {
  .section.about {
    height: auto;
  }

  .about .section-title {
    margin-bottom: 40px;
  }
  .about .bubble-group {
    position: relative;
    right: 0;
    top: 0;
    transform: translateY(0);
    margin-top: 20px;
    justify-content: center;
  }

  .about .bubble-btn {
    width: auto;
    aspect-ratio: auto;
    padding: 8px 24px;
    border-radius: 10px;
  }

  .about .bubble-btn:nth-child(2) {
    margin-left: 10px;
  }
  .bubble-btn h4,
  .bubble-btn p {
    line-height: 1;
  }

  .about .w-container {
    align-items: center;
  }

  .about .company h1 {
    line-height: 1.2;
    margin: 0 auto 20px;
    text-align: center;
    width: 96%;
  }

  .about .grid-wrap {
    background-color: rgba(100, 100, 100, 0);
    padding: 0;
    width: 100%;
    border-radius: 0;
    max-width: 1440px;
    margin: 0 auto;
  }

  .about .prod-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .about .grid-item {
    background-color: rgba(100, 100, 100, 0.2);
    padding: 20px;
  }
}

/* BUSINESS */
.business .prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  aspect-ratio: 16/9;
  gap: 5px;
}

.business .grid-item {
  transition: all 0.5s ease;
}

.business .grid-item:nth-child(1) {
  background-image: url("img/business-1.jpg");
  background-size: cover;
  background-position: 0% center;
}
.business .grid-item:nth-child(2) {
  background-image: url("img/business-2.jpg");
  background-size: cover;
  background-position: center center;
}
.business .grid-item:nth-child(3) {
  background-image: url("img/business-3.jpg");
  background-size: cover;
  background-position: 100% center;
}

.business .grid-txt {
  padding: 30px;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.5) 0%,
    transparent 50%
  );
  background-size: 100% 250%;
  background-position: center top;
  transition: all 0.5s ease;
  cursor: pointer;
}
.business .prod-grid:hover .grid-txt {
  background-position: center 30%;
}

.business h4 {
  margin-bottom: 10px;
}

@media (max-width: 1024px) {
  .business .prod-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    aspect-ratio: 1;
    gap: 5px;
  }

  .business .grid-txt {
    background: rgba(0, 0, 0, 0.5);
    background-size: 100% 250%;
    background-position: center top;
    transition: all 0.5s ease;
    cursor: pointer;
  }

  .business .grid-item:nth-child(1) {
    background-position: center center;
  }
  .business .grid-item:nth-child(2) {
    background-position: center center;
  }
  .business .grid-item:nth-child(3) {
    background-position: center center;
  }
}

/* GMS */
.gms .grid-item {
  padding-bottom: 10px;
}

.gms .grid-txt {
  background-color: #fff;
  padding: 20px;
  width: 90%;
  box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.2);
  margin: -50px 0 0 auto;
}

.gms .jetbrain {
  color: var(--point2);
}

.gms .swiper-button-next,
.gms .swiper-button-prev {
  color: #fff !important;
}

/* SOLUTION */
.solution {
  background: url(img/index-03.jpg) center/cover no-repeat;
}

.solution .section-title {
  text-align: left;
  width: auto;
}

.solution .content {
  display: flex;
  gap: 40px;
  width: 90%;
  max-width: var(--maw);
  margin: 0 auto;
}

.solution .prod-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.solution .grid-item {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.25);
}

.solution .grid-img {
  height: 100%;
}

.solution .grid-txt {
  position: absolute;
  padding: clamp(20px, 1.4vw, 30px);
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  justify-content: end;
  flex-direction: column;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 50%);
  transition: all 0.5s ease;
}

.solution .bubble-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.solution .bubble-btn {
  margin-top: -30px;
}

.solution .bubble-btn:nth-child(1) {
  background-color: rgba(255, 255, 255, 0.5);
}
.solution .bubble-btn:nth-child(2) {
  background-color: rgba(255, 255, 255, 0.4);
}
.solution .bubble-btn:nth-child(3) {
  background-color: rgba(255, 255, 255, 0.3);
}
.solution .bubble-btn:nth-child(4) {
  background-color: rgba(255, 255, 255, 0.2);
}
.solution .bubble-btn:nth-child(5) {
  background-color: rgba(255, 255, 255, 0.1);
}

.solution .badge-group {
  display: none;
  gap: 10px;
  margin-top: 20px;
  text-align: center;
  flex-wrap: wrap;
}
.solution .badge-group p {
  line-height: 1.5;
}

.solution .badge-btn {
  padding: 8px 16px;
  /* border: 1px solid #ddd; */
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 5px;
}

@media (max-width: 768px) {
  .solution .bubble-group {
    display: none;
  }
  .solution .badge-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .solution .prod-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
  }

  .solution .grid-item {
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
  }
}

/* PROCESS */
.process-line {
  border: 1px solid var(--point2);
  padding: 60px;
  width: 90%;
  max-width: calc((100vw - var(--maw)) / 2 + var(--maw));
  border-radius: 0 999px 999px 0;
  position: absolute;
  height: 55%;
  top: 5%;
  border-left: none;
}

.process .prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px 20px;
}

.process .grid-item {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: start;
  text-align: center;
}

.process .grid-num {
  background-color: var(--point2);
  border-radius: 999px;
  padding: 12px;
}

.process .grid-img {
  width: 60px;
}

@media (max-width: 1024px) {
  .process-line {
    display: none;
  }

  .process .prod-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 10px;
  }
}

@media (max-width: 768px) {
  .process .prod-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 60px 10px;
  }
}

/* CERTIFICATION */
.cert .grid-item {
  padding-right: 3px;
  padding-bottom: 3px;
}

.cert .grid-img {
  box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.25);
}

/* Magazine */
.mag .prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.mag .grid-item {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mag .mag-title {
  color: #333;
  font-weight: 500;
  margin-bottom: 5px;
}

@media (max-width: 768px) {
  .mag .prod-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 60px 10px;
  }
}
