@import "../css/animate.min.css";
.first_page {
  position: relative;
}
.first_page .title {
  opacity: 0;
  animation: fadeInLeft 1s 0.1s both;
}
.first_page .subtitle {
  opacity: 0;
  animation: fadeInRight 1s 0.3s both;
}
.first_page .description_1 {
  animation: fadeInLeft 1s 0.5s both;
}
.first_page .description:nth-of-type(2) {
  animation: fadeInRight 1s 0.7s both;
}

.second_page .top {
  opacity: 0;
  transform: translateY(-60px);
  transition: none;
}
.second_page .top.inview {
  animation: fadeInDownCustom 1s 0.2s both;
  opacity: 1;
  transform: translateY(0);
}
.second_page .bottom {
  opacity: 0;
  filter: blur(8px);
  transform: scale(0.92);
  transition: none;
}
.second_page .bottom.inview {
  animation: fadeInScaleCustom 0.7s 0.7s both;
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
}

@keyframes fadeInDownCustom {
  from {
    opacity: 0;
    transform: translateY(-60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInScaleCustom {
  0% {
    opacity: 0;
    transform: scale(0.92);
    filter: blur(8px);
  }
  60% {
    opacity: 0.6;
    transform: scale(1.04);
    filter: blur(2px);
  }
  85% {
    opacity: 0.95;
    transform: scale(0.98);
    filter: blur(0.4px);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}
.third_page .title-text-1 {
  opacity: 0;
  transform: translateX(-60px) scale(0.8);
  transition: none;
}
.third_page .title-text-1.inview {
  animation: fadeInLeftScale 1s 0.2s both;
  opacity: 1;
  transform: translateX(0) scale(1);
}
.third_page .title-text-2 {
  opacity: 0;
  transform: translateX(60px) scale(0.8);
  transition: none;
}
.third_page .title-text-2.inview {
  animation: fadeInRightScale 1s 0.4s both;
  opacity: 1;
  transform: translateX(0) scale(1);
}
.third_page .scroll-area {
  opacity: 0;
  transition: none;
}
.third_page .scroll-area.inview {
  animation: fadeIn 1s 0.6s both;
  opacity: 1;
}

@keyframes fadeInLeftScale {
  from {
    opacity: 0;
    transform: translateX(-60px) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}
@keyframes fadeInRightScale {
  from {
    opacity: 0;
    transform: translateX(60px) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeInUpCustom {
  from {
    opacity: 0;
    transform: translateY(60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fourth_page .content_left {
  opacity: 0;
  transform: translateX(-80px);
  transition: none;
}
.fourth_page .content_left.inview {
  animation: fadeInLeftCustom 1s 0.2s both;
  opacity: 1;
  transform: translateX(0);
}
.fourth_page .content_right .title {
  opacity: 0;
  transform: translateX(80px);
  transition: none;
}
.fourth_page .content_right .title.inview {
  animation: fadeInRightCustom 1s 0.4s both;
  opacity: 1;
  transform: translateX(0);
}
.fourth_page .feature-list {
  opacity: 0;
  transform: translateX(80px);
  transition: none;
}
.fourth_page .feature-list.inview {
  animation: fadeInRightCustom 1s 0.4s both;
  opacity: 1;
  transform: translateX(0);
}
.fourth_page .feature-item {
  position: relative;
  overflow: visible;
  transition: transform 0.3s ease;
}
.fourth_page .feature-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-top: 2px solid #ff4d6d;
  border-bottom: 2px solid #ff4d6d;
  border-left: none;
  border-right: none;
  border-radius: 12px;
  opacity: 0;
  clip-path: polygon(50% 0%, 50% 0%, 50% 100%, 50% 100%);
  transition: clip-path 0.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
  animation: breatheRed 2s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}
.fourth_page .feature-item:hover {
  transform: translateY(-2px);
}
.fourth_page .feature-item:hover::before {
  opacity: 1;
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}

@keyframes fadeInLeftCustom {
  from {
    opacity: 0;
    transform: translateX(-80px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fadeInRightCustom {
  from {
    opacity: 0;
    transform: translateX(80px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.fifth_page .content_right {
  opacity: 0;
  transform: translateX(80px);
  transition: none;
}
.fifth_page .content_right.inview {
  animation: fadeInRightCustom 1s 0.2s both;
  opacity: 1;
  transform: translateX(0);
}
.fifth_page .content_left .title {
  opacity: 0;
  transform: translateX(-60px);
  transition: none;
}
.fifth_page .content_left .title.inview {
  animation: fadeInLeftCustom 1s 0.4s both;
  opacity: 1;
  transform: translateX(0);
}
.fifth_page .content_left .list .item {
  opacity: 0;
  transform: translateX(-60px);
  transition: none;
}
.fifth_page .content_left .list .item.inview {
  opacity: 1;
  transform: translateX(0);
}
.fifth_page .content_left .list .item:nth-child(1).inview {
  animation: fadeInLeftCustom 0.5s 0.6s both;
}
.fifth_page .content_left .list .item:nth-child(2).inview {
  animation: fadeInLeftCustom 0.5s 0.8s both;
}
.fifth_page .content_left .list .item:nth-child(3).inview {
  animation: fadeInLeftCustom 0.5s 1s both;
}
.fifth_page .content_left .list .item:nth-child(4).inview {
  animation: fadeInLeftCustom 0.5s 1.2s both;
}

.sixth_page .title {
  opacity: 0;
  transform: translateY(-60px);
  transition: none;
}
.sixth_page .title.inview {
  animation: fadeInDownCustom 1s 0.2s both;
  opacity: 1;
  transform: translateY(0);
}
.sixth_page .content .item:nth-child(1) {
  opacity: 0;
  transform: translateX(-80px);
  transition: none;
}
.sixth_page .content .item:nth-child(1).inview {
  animation: fadeInLeftCustom 1s 0.4s both;
  opacity: 1;
  transform: translateX(0);
}
.sixth_page .content .item:nth-child(2) {
  opacity: 0;
  transform: translateX(80px);
  transition: none;
}
.sixth_page .content .item:nth-child(2).inview {
  animation: fadeInRightCustom 1s 0.6s both;
  opacity: 1;
  transform: translateX(0);
}

.seventh_page .content {
  opacity: 0;
  transform: translateX(80px);
  transition: none;
}
.seventh_page .content.inview {
  animation: fadeInRightCustom 1s 0.2s both;
  opacity: 1;
  transform: translateX(0);
}

.eighth_page .title {
  opacity: 0;
  transform: translateY(-60px);
  transition: none;
}
.eighth_page .title.inview {
  animation: fadeInDownCustom 1s 0.2s both;
  opacity: 1;
  transform: translateY(0);
}
.eighth_page .video-area {
  opacity: 0;
  transition: none;
}
.eighth_page .video-area.inview {
  animation: fadeIn 1s 0.4s both;
  opacity: 1;
}

.ninth_page .title {
  opacity: 0;
  transform: translateX(-60px);
  transition: none;
}
.ninth_page .title.inview {
  animation: fadeInLeftCustom 1s 0.2s both;
  opacity: 1;
  transform: translateX(0);
}
.ninth_page .desc {
  opacity: 0;
  transform: translateX(60px);
  transition: none;
}
.ninth_page .desc.inview {
  animation: fadeInRightCustom 1s 0.4s both;
  opacity: 1;
  transform: translateX(0);
}
.ninth_page .accordion-item {
  opacity: 0;
  transition: none;
}
.ninth_page .accordion-item.inview {
  opacity: 1;
}
.ninth_page .accordion-item:nth-child(1) {
  transform: translateX(-80px);
}
.ninth_page .accordion-item:nth-child(1).inview {
  animation: fadeInLeftCustom 1s 0.6s both;
  transform: translateX(0);
}
.ninth_page .accordion-item:nth-child(2) {
  transform: translateX(80px);
}
.ninth_page .accordion-item:nth-child(2).inview {
  animation: fadeInRightCustom 1s 0.8s both;
  transform: translateX(0);
}
.ninth_page .accordion-item:nth-child(3) {
  transform: translateX(-80px);
}
.ninth_page .accordion-item:nth-child(3).inview {
  animation: fadeInLeftCustom 1s 1s both;
  transform: translateX(0);
}
.ninth_page .accordion-item:nth-child(4) {
  transform: translateX(80px);
}
.ninth_page .accordion-item:nth-child(4).inview {
  animation: fadeInRightCustom 1s 1.2s both;
  transform: translateX(0);
}
.ninth_page .accordion-item:nth-child(5) {
  transform: translateX(-80px);
}
.ninth_page .accordion-item:nth-child(5).inview {
  animation: fadeInLeftCustom 1s 1.4s both;
  transform: translateX(0);
}

.tenth_page .content .title {
  opacity: 0;
  transform: translateY(60px);
  transition: none;
}
.tenth_page .content .title.inview {
  animation: fadeInUpCustom 1s 0.2s both;
  opacity: 1;
  transform: translateY(0);
}
.tenth_page .content .desc {
  opacity: 0;
  transform: translateY(60px);
  transition: none;
}
.tenth_page .content .desc.inview {
  animation: fadeInUpCustom 1s 0.4s both;
  opacity: 1;
  transform: translateY(0);
}
.tenth_page .content .btn-area {
  opacity: 0;
  transform: translateY(60px);
  transition: none;
}
.tenth_page .content .btn-area.inview {
  animation: fadeInUpCustom 1s 0.6s both;
  opacity: 1;
  transform: translateY(0);
}

@keyframes breatheRed {
  0%, 100% {
    border-color: rgba(255, 77, 109, 0.6);
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.3), 0 0 10px rgba(255, 77, 109, 0.3);
  }
  50% {
    border-color: rgba(255, 77, 109, 0.9);
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.4), 0 0 18px rgba(255, 77, 109, 0.5);
  }
}
