.body-lines {
  z-index: -1 !important;
}

/* Mouse animation */
.mouse-middle{
  position: absolute;
  top: -35%;
  left: 49%;
  z-index: 4;
  transform: translate(-50%,-50%);
}
.mouse {
  width: 40px;
  height: 40px;
  border: 1px solid #333;
  border-radius: 60px;
}
.mouse::before {
  content: "\2193";
  position: absolute;
  font-size: 28px;
  top: 0%;
  left: 50%;
  transform: translate(-50%, -90%);
  opacity: 1;
  animation: mouse 2s infinite;
}
@keyframes mouse {
  from{
    opacity: 1;
    top: 30px;
  }
  to{
    opacity: 0;
    top: 100px;
  }
}

.cursor{
  position: fixed;
  width: 30px;
  height: 30px;
  border: 1px solid #1c6fecc5;
  border-radius: 50%;
  left: 0;
  top: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: .2s;
  z-index: 999 !important;
}

.cursor2 {
  position: fixed;
  width: 10px;
  height: 10px;
  background: linear-gradient(187deg, #020C6A 8%, #1A85F8 60.7%, #66E5FB 81%) !important;
  border-radius: 50%;
  left: 0;
  top: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: .175s;
  z-index: 999 !important;
}

.top-bar-row {
  padding-top: 5px !important;
  padding-bottom: 5px !important;
}

 .header .main-menu > li > a {
  font-size: 1.25rem;
  font-family: 'Manrope', Arial, Helvetica, sans-serif !important;
  display: inline-block;
  position: relative;
  border: 2px solid transparent; 
  transition: border 0.3s ease-in-out;
  text-transform: uppercase;
  z-index: 1;
  margin: 0 0.5rem;
}

.header .main-menu > li > a::before {
  content: '';
  position: absolute;
  top: -2px; 
  left: -2px;
  width: calc(100% + 4px); 
  height: calc(100% + 4px);
  background: #f0f2f4;
  z-index: -1;
  transition: opacity 0.1s ease;
  opacity: 0; 
}

.header .main-menu > li > a:hover::before {
  opacity: 1;
}

.header .main-menu > li > a:hover {
  background: linear-gradient(146deg, rgb(0 119 255) 0%, rgb(156 218 231) 100%) !important;
  border-radius: 25px !important;
  background-color: white !important;
}

.slide-sidebar-wrapper {
  position: fixed;
  top: 0;
  bottom: 0;
  z-index: 10;
  width: 450px !important;
  margin: unset;
  background-image: unset; 
  -webkit-border-radius: unset; 
  border-radius: unset;
  background-color: white !important;
}
.slide-sidebar-wrapper .slide-sidebar-close {
  color: black !important;
  left: unset !important;
  right: 0 !important;
}

.slide-sidebar-wrapper .slide-sidebar-close:before {
  font: 400 normal 20px / 40px 'fontello' !important;
}

.slide-sidebar-wrapper .slide-sidebar {
  padding-left: 40px !important;
  padding-top: 20px !important;
  -webkit-justify-content: unset !important;
  -moz-justify-content: unset;
  -ms-justify-content: unset;
  justify-content: unset !important;
}

.dropdown-trigger .dropdown-trigger-item:before {
  padding-top: 12.5px;
  color: white !important;
  width: 45px;
  height: 45px;
  margin: -25px 0 0 -10px;
  background: linear-gradient(92.16deg, #020C6A 0%, #1A85F8 56.7%, #66E5FB 100%);
  border-radius: 10px;

}
.dropdown-trigger .dropdown-trigger-item:hover:after {
  opacity: 0.3;
  color: linear-gradient(92.16deg, #020C6A 0%, #1A85F8 56.7%, #66E5FB 100%) !important;
}

.dropdown-trigger .dropdown-trigger-item:after {
  width: 40px;
  height: 40px;
}

.px-6 {
  padding-left: 10.25rem !important;
  padding-right: 8rem !important;
}
.mx-6 {
  margin-left: 6.25rem !important;
  margin-right: 6rem !important;
}

body {
    font-family: 'Neue Einstellung', sans-serif;
    font-weight: 400;
    font-size: 16px !important;
    line-height: 1.5;
    background-color: #F8F8F8;
    font-style: #433E3F;
}
  
h1, h2, h3, h4, h5, h6 {
    font-weight: 700; /* Bold for headings */
    font-family: 'Neue Einstellung', sans-serif;
  }

.fs-0 {
  font-size: 2.85em !important;
  letter-spacing: .1rem !important;
}

h4 {
  letter-spacing: .01rem !important;
}

.second-section {
  display: grid;
  grid-template-columns: 1fr;
  background-color: #e8ecef;
}

.second-section > div:first-child {
  top: -50%;
  position: absolute;
  z-index: 5;
}
.second-section > div:nth-child(2) {
  display: flex;
  align-items: end;
}

.logan-img {
  margin: -10px;
}

.counter, .fs-large {
  font-size: 3.5rem !important;
  letter-spacing: .1rem !important;
}

.fw-light {
  font-weight: 300; /* Light */
}

.fw-normal {
  font-weight: 400; /* Regular */
}

.fw-bold {
  font-weight: 700; /* Bold */
}

.letter-spacing-small {
  letter-spacing: 0.01rem;
}

.letter-spacing-medium {
  letter-spacing: 0.1rem;
}

/* Menu service */

.menu-icon-wrapper {
  background-color: #e4e1e114;
  padding: 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.507);
  border-radius: 10%;
  top: 8%; 
  left: 10%;  
  cursor: pointer;
}

.menu-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 20px;
  height: 20px;
}

.menu-bar {
  height: 3px;
  background-color: #fff;
  transition: all 0.3s ease-in-out; 
}

.menu-bar.long {
  width: 100%;
}

.menu-bar.shorter {
  width: 50%;
}

.menu-bar.short {
  width: 70%;
}

.menu-icon.active .menu-bar.long {
  transform: rotate(45deg) translate(6px, 6px);
  width: 100%;
}

.menu-icon.active .menu-bar.shorter {
  opacity: 0;
}

.menu-icon.active .menu-bar.short {
  transform: rotate(-45deg) translate(6px, -6px);
  width: 100%;
}

/* Overlay xuất hiện từ dưới lên */
.menu-overlay {
  position: fixed;
  top: 45%;
  left: 0;
  width: 100%;
  height: 87%;
  background-color: rgba(0, 0, 0, 0.731);
  transition: top 0.5s ease, opacity 0.3s ease;
  opacity: 0;
}
.menu {
  height: 405px;
  width: calc(20% - 36px);
  margin: 0px 18px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
  border-radius: 3%;
  transition: transform 0.3s ease-in-out;
  transform-origin: center;
}

.menu:hover.menu.item-1, .menu:hover.menu.item-2, .menu:hover.menu.item-3, .menu:hover.menu.item-4, .menu:hover.menu.item-5 {
  transform: scale(1.05);
}

.menu.item-1 {
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.90) 100%), 
  url("../assets/services/hosting_service.png")
}

.menu.item-2 {
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.90) 100%), 
  url("../assets/services/softwave_service.png")
}

.menu.item-3 {
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.90) 100%), 
  url("../assets/services/website_service.png")
}

.menu.item-4 {
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.90) 100%), 
  url("../assets/services/marketing_service.png")
}

.menu.item-5 {
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.90) 100%), 
  url("../assets/services/branding_service.png")
}

#web-service {
  transition: top 0.5s ease, opacity 0.3s ease;
}

.hide {
  opacity: 0
}

.menu-overlay.show {
  opacity: 1;
}

#overlay-1.show, #overlay-2.show, 
#overlay-3.show, #overlay-4.show,
#overlay-5.show  {
  top: 0;
  border-radius: 3%;
}

/* #overlay-2, #overlay-4 {
  border-radius: 3%;
  height: 80%;
  width: 84.5% !important;
  left: 8%;
}

#overlay-3, #overlay-5 {
  border-radius: 3%;
  height: 90%;
  width: 84.5% !important;
  left: 8%;
}

#overlay-2.show, #overlay-3.show, #overlay-4.show, #overlay-5.show {
  top: 20px;
} */

.service-wrapper {
  transition: all 0.5s ease;
  opacity: 1;
  transform: translateY(0);
}

.service-wrapper.hide {
  transform: translateY(-235px);
}

.menu:hover .overlay-images {
  transition: all 0.5s ease;
}

/* Animation section */
#weAreHomeNest {
  transition: transform 2s ease-in-out, opacity 2s ease-in-out;
}

#homenest {
  transition: transform 2s ease-in-out, opacity 2s ease-in-out;
  opacity: 0;
  transform: translateX(-100%);
}

#homenestDetail {
  transition: transform 2s ease-in-out, opacity 2s ease-in-out;
  opacity: 0;
  transform: translateX(100%);
}

#cube-wrapper {
  transition: transform 2s ease-in-out;
}

#homenest-sort-desc {
  transition: opacity 1s ease-in-out;
  opacity: 1;
}

.wing {
  opacity: 1; 
  transform: scale(1); 
  transition: opacity 2s ease-in-out, transform 2s ease-in-out;
}

.wing.fade-out {
  opacity: 0;
  transform: scale(1); 
}

.wing.hosting.visible {
  opacity: 1;
  transform: translate(-75%, -60%) scale(1.8)
}

.wing.software.visible {
  opacity: 1;
  transform: translate(-65%, 30%) scale(1.8);
}

.wing.branding.visible {
  opacity: 1;
  transform: translate(5%, -80%) scale(2.5);
}

.wing.marketing.visible {
  opacity: 1;
  transform: translate(-72%, 16%) scale(1.25);
}

.wing.revert {
  opacity: 1; 
  transform: scale(1); /* Reset scale */
}

/* CUBES */

.cube-wrapper {
  position: absolute !important;
  top: 1.25%;
  left: 28%;
  z-index: 2 !important;
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
}

.cube-wrapper.hide {
  opacity: 0;
}


/* Cube move */
.cube-wrapper-move {
  position: fixed;
  left: 44%;
  top: 10%;
  z-index: 1;
  opacity: 0;
  transform: translateY(-150px);
  transition: left 0.5s ease, z-index 0.3s ease, opacity 0.3s ease, transform 0.5s ease;
}

.cube-wrapper-move.show {
  opacity: 1;
  transform: translateY(0);
}

.cube {
  background-size: contain;
  background-repeat: no-repeat;
  transition: all 0.3s ease;
}

#cube1, #cube-animation-1 { 
  background-image: url(../assets/cubes/top_left.png);
  width: 120px;
  height: 120px;
  position: absolute;
  left: 12%;
  top: -2%;
 }

#cube2, #cube-animation-2 { 
  background-image: url(../assets/cubes/middle_cube.png);
  width: 400px;
  height: 400px;
  position: relative;
}

#cube3, #cube-animation-3 { 
  background-image: url(../assets/cubes/left.png);
  width: 200px;
  height: 200px;
  position: absolute;
  top: 25%;
  left: -30%;
}
#cube4, #cube-animation-4 { 
  background-image: url(../assets/cubes/right.png);
  width: 100px;
  height: 100px;
  position: absolute;
  right: -5%;
  top: 30%;
}
#cube5, #cube-animation-5 { 
  background-image: url(../assets/cubes/bottom_right.png);
  width: 100px;
  height: 100px;
  position: absolute;
  bottom: -10%;
  right: 25%;
}
#cube6, #cube-animation-6 { 
  background-image: url(../assets/cubes/top_right.png);
  width: 50px;
  height: 50px;
  position: absolute;
  top: 10%;
  right: 15%;
}

/* Cube animation */
@keyframes move-up-down {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes move-left-right {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(10px);
  }
}

@keyframes move-diagonal {s
  0%, 100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(10px, -10px);
  }
}

.cube-top-left {
  animation: move-up-down 2s infinite ease-in-out;
}

.left {
  animation: move-left-right 2s infinite ease-in-out;
}

.right {
  animation: move-left-right 3s infinite ease-in-out;
}

.cube-bottom-right {
  animation: move-up-down 3s infinite ease-in-out;
}

.cube-top-right {
  animation: move-diagonal 4s infinite ease-in-out;
}

.btn-normal {
  border-radius: 100px !important;
  border: 1px solid transparent;
  transition: border 0.3s ease, background-color 0.3s ease;
}

.btn-normal:hover {
  color: #1A85F8 !important;
  border: 1px solid #1A85F8;
}

.btn-primary {
  background: linear-gradient(92.16deg, #020C6A 0%, #1A85F8 56.7%, #66E5FB 100%) !important;
  border: none !important;
  border-radius: 100px !important;
  padding: 10px 30px;
  box-shadow: 0 4px 12px rgb(0 0 0 / 10%);
  color: white !important; 
  transition: background-color 0.3s, color 0.3s;
}

.btn-primary:hover {
  background: white !important;
  color: #1A85F8 !important; /* Text màu #1A85F8 khi hover */
}

.text-primary {
  background: linear-gradient(92.16deg, #020C6A 0%, #1A85F8 56.7%, #66E5FB 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-blue {
  color: #020C6A !important;
}

.text-primary-outline {
  font-size: 42px;
  font-weight: bold;
  color: linear-gradient(92.16deg, #020C6A 0%, #1A85F8 56.7%, #66E5FB 100%) !important;
  position: relative;
  display: inline-block;
}

.text-primary-outline::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: transparent;
  background: linear-gradient(to left, #00c6ff, #0072ff);
  background-clip: text;
  -webkit-text-fill-color: white;
  -webkit-text-stroke: 3px transparent;
}

.text-primary-outline span {
  position: relative;
  z-index: 1;
  color: white;
}

.section-1-bg {
  background: url(../assets/technology-background.png);
  height: 100vh;
  margin-top: -200px;
  margin-bottom: -200px;
}

.nationality-service {
  background: linear-gradient(278.74deg, #020C6A 47.03%, #1469D7 74.84%, #1A85F8 91.03%, #66E5FB 105.66%);
}

.bg-primary {
  background: linear-gradient(135deg, #0056b3, #007bff);
}

.card,
.sliding-background {
  background: #0000001A;
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 4px 12px rgb(0 0 0 / 10%);
  backdrop-filter: blur(12px);
}

.whiteblue-blur-top {
  background: linear-gradient(to top, #fbfbfb 5%, rgb(184 231 237 / 65%) 100%)
}

.whitegray-blur-top {
  background: linear-gradient(to top, #f7f6f6 5%, rgb(218 222 227) 100%);
  width: 100%;
}

.whitegray-blur-bottom {
  background: linear-gradient(to bottom, #fbfbfb 5%, rgb(230 235 238) 100%);
}

.card-white-blur {
  background: #fffdfd00 !important;
  backdrop-filter: blur(10px) !important;
  border-radius: 10px;
}

.card-gray-blur {
  background: #e0e0e029 !important;
  backdrop-filter: blur(10px) !important;
  border-radius: 15px;
  border: 1px solid #FFFFFF80
}

.box-shadow-wrapper {
  margin-left: -2.5rem;
  box-shadow: rgba(143, 150, 231, 0.2) 0px 2px 8px 0px;
  border-radius: 15px;
}

.box-shadow-left-blue {
  box-shadow: -2px 0px 0px rgba(47, 123, 230, 0.4);
  /* box-shadow: rgba(140, 149, 248, 0.364) 0px 2px 5px 0px; */
  border-radius: 15px;
}

.card-white-blur.main {
  margin-left: -4.5rem;
  margin-right: 4.5rem;
}

@keyframes slide {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}

.align-left-menu-icon {
  background-color: #e4e1e114;
  border: 1px solid rgba(255, 255, 255, 0.507);
  border-radius: 5px;
  color: #fff;
  backdrop-filter: blur(15px);
  width: 45px;
  font-size: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 5px;
}
  
.align-left-menu-icon {
  left: 25px;
  top: 25px
}

.menu:not(:first-child) .align-left-menu-icon {
  left: 50px;
  top: 40px
}

.gallery-item img {
  object-fit: cover;
  border-radius: 10px;
}

.flag>img {
  align-self: center !important;
}

.service-item span {
  display: inline-block;
  transition: opacity 0.3s ease-in-out; /* Smooth transition */
  opacity: 1;
}

.service-item span.fade-out {
  opacity: 0;
}

.service-item span.fade-in {
  opacity: 1;
}

.service-image {
  position: absolute;
  width: 22.5%;
  left: 40%;
  transform: translateY(150%);
  opacity: 0;
  z-index: 4;
}


.image-1 {
  background: url(../assets/projects/project_1.png);
}

.image-6 {
  background: url(../assets/projects/project_6.png);
}

.image-1,
.image-6 {
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 10px;
  background-size: cover;
}
 
.card-content {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  padding: 0.5rem 1.25rem;

}

.card-wrapper {
  transition: transform 0.3s ease-in-out;
  transform-origin: center;
}

.card-wrapper:hover {
  transform: translateX(-10%) scale(1.1);
}

.image-collage {
  position: relative;
  width: 900px;
  height: 700px;
  margin: 0 auto;
  margin-left: -15%;
}

.image-collage.mascot {
  margin-left: 0 !important;
}

.main-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 80%;
  border-radius: 20px;
  overflow: hidden;
}

.secondary-image {
  position: absolute;
  width: 35%;
  height: 35%;
  border-radius: 15px;
  overflow: hidden;
}

.top-right {
  top: 0;
  right: 10%;
}

.top-left {
  width: 23%;
  height: 23%;
  top: 0%;
  left: 0%;
  border-radius: 10px;
}

.bottom-right {
  bottom: 5%;
  right: 10%;
}

.middle-right {
  bottom: 5%;
  right: 5%;
  width: 50%;
  height: auto;
}

.bottom-left {
  bottom: -5%;
  left: 10%;
}

.bottom-left-2 {
  bottom: 5%;
  left: 1%;
}
.bottom-left-2 img {
  transform: scale(1.25);
}

.icon-container {
  background-color: #b3e0ff;
  border-radius: 10px;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
}

.icon-container img {
  transform: scale(1.5);
}

.vision-bg {
  background: linear-gradient(180deg, #E0FAFE 0%, rgba(224, 250, 254, 0) 100%);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-250px * 14));
  }
}

.slider, .slider-project {
  background: transparent;
  height: 105px;
  margin: auto;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.slider-project {
  height: auto !important;
}

.slider::before,
.slider::after {
  background: linear-gradient(to right, white 25%, rgba(255, 255, 255, 0) 100%);
  content: "";
  height: 100px;
  position: absolute;
  width: 250px;
  z-index: 2;
}

.slider::after {
  right: 0;
  top: 0;
  transform: rotateZ(180deg);
}

.slider::before {
  left: 0;
  top: 0;
}

.slider-homenet {
  background: transparent;
  margin: auto;
  overflow: hidden;
  position: relative;
  width: 110vw;
  transform: rotate(-0.015turn) translate(-5vw, 10px);
  transform-origin: center center;
}

.slider-homenest {
  width: 110vw;
  transform: rotate(0.01turn) translate(-5vw, -250%);
  transform-origin: center center;
}

.slider-project  {
  background: transparent;
  margin: auto;
  overflow: hidden;
  position: relative;
}

.slider .slide-track, .slider-project .slide-track {
  animation: scroll 35s linear infinite;
  display: flex;
  width: calc(250px * 14);
}
.slider-project .slide-track {
  width: 100% !important;
}

.slider .slide {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #F2F2F2;
  align-self: center;
  border-radius: 20px;
  margin-right: 15px;
  width: 200px;
  height: 105px;
  align-content: center;
  flex-direction: column;
}

.slider .slide img {
  padding: 20px;
  align-self: center;
}

@keyframes scroll-revert {
  0% {
    transform: translateX(calc(-250px * 5));
  }

  100% {
    transform: translateX(0);
  }
}

.slider-homenest .slide-track {
  animation: scroll 15s linear infinite;
  display: flex;
  width: calc(250px * 14);
}

.slide-track-revert {
  animation: scroll-revert 15s linear infinite;
  display: flex;
  width: calc(250px * 14);
}

.homenet > img {
  padding: 10px;
}

.slide-track-revert.homenet, .slide-track.homenest {
  color: #A7B0FD;
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  padding: 10px 0;
}

.slider-project .slide-track .slide-content:hover {
  cursor: pointer;
}

.left-right-move {
  transition: transform 0.3s ease-out;
}

/* footer */

.social-icons a:not(:first-child) {
  background-color: #433E3F;
  padding: 0.275rem 0.425rem 0.125rem 0.45rem
}

.custom-input-group {
  position: relative;
  display: flex;
  align-items: center;
}
.custom-input-group input {
  border: none;
  border-bottom: 2px solid #ced4da;
  border-radius: 0px;
  padding: 10px 30px; /* Space for icon */
  background-color: transparent;
}
.custom-input-group input:focus {
  outline: none;
  box-shadow: none;
  border-color: #80bdff;
}
.custom-input-group .input-icon {
  position: absolute;
  right: 10px;
  color: #6c757d;
}