@import url('https://fonts.googleapis.com/css2?family=Battambang:wght@100;300;400;700;900&display=swap');

* {
  font-family: "Battambang", system-ui;
}

body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-color: #ffe7e7;
}

input:-webkit-autofill {
  background-color: #ffe7e7 !important;
  -webkit-box-shadow: 0 0 0 1000px #ffe7e7 inset !important;
  -webkit-text-fill-color: #000 !important;
}

.main-container {
  position: relative;
  cursor: url(../images/cursor.svg), auto;
  z-index: 7;
}

.panorama-container {
  width: 100vw;
  height: 100vh;
}

.main-container .panorama-container {
  height: 500px;
  width: 775px;
  overflow: hidden;
  position: relative;
}

@media (max-width:1024px) {
  .main-container .panorama-container {
    height: 500px;
    width: 100%;
    overflow: hidden;
    position: relative;
  }
}

@media (max-width:768px) {
  .main-container .panorama-container {
    height: 500px;
    width: 600px;
    overflow: hidden;
    position: relative;
  }
}

@media (max-width:639px) {
  .main-container .panorama-container {
    width: 288px;
    ;
    overflow: hidden;
    position: relative;
  }

}


/* second panorama */

.main-container2 {
  position: relative;
  cursor: url(../images/cursor.svg), auto;
  z-index: 7;
}

.panorama2-container {
  width: 100vw;
  height: 100vh;
}

.main-container2 .panorama2-container {
  height: 500px;
  width: 710px;
  overflow: hidden;
  position: relative;
}

@media (max-width:1024px) {
  .main-container2 .panorama2-container {
    height: 500px;
    width: 600px;
    overflow: hidden;
    position: relative;
  }
}

@media (max-width:639px) {
  .main-container2 .panorama2-container {
    width: 288px;
    ;
    overflow: hidden;
    position: relative;
  }

}


/* text word limit */
@media (max-width:640px) {
  .limit-2 {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* header btn */
/* From Uiverse.io by SujitAdroja */
.btn {
  text-decoration: none;
  font-size: 17px;
  cursor: pointer;
  background: #E31E24;
  position: relative;
  transition: all 1s;
  overflow: hidden;
}

.btn p {
  color: white;
  transition: all 1s;
}

.btn i {
  color: white;
  transition: all 1s;
}

.btn:hover p {
  color: #1B1925;
}

.btn:hover i {
  color: #1B1925;

}

.btn::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 0%;
  top: 0;
  left: -40px;
  transform: skewX(45deg);
  background-color: #D4AF37;
  z-index: 2;
  transition: all 1s;
}

.btn:hover::before {
  width: 160%;
}


/* second-button */
.second-btn {
  color: #1B1925;
  text-decoration: none;
  font-size: 17px;
  cursor: pointer;
  background: #D4AF37;
  position: relative;
  transition: all 1s;
  overflow: hidden;
}

.second-btn i {
  color: #1B1925;
  transition: all 1s;
}

.second-btn:hover {
  color: #fff;
}

.second-btn:hover i {
  color: #fff;
}

.second-btn::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 0%;
  top: 0;
  left: -40px;
  transform: skewX(45deg);
  background-color: #E31E24;
  z-index: 2;
  transition: all 1s;
}

.second-btn:hover::before {
  width: 160%;
}


/* third-btn */
.third-btn {
  color: #E31E24;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  transition: all 1s;
  overflow: hidden;
  border: 1px solid #E31E24;
}

.third-btn i {
  color: #E31E24;
  transition: all 1s;
}

.third-btn:hover {
  color: #fff;
}

.third-btn:hover i {
  color: #fff;
}

.third-btn::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 0%;
  top: 0;
  left: -40px;
  transform: skewX(45deg);
  background-color: #E31E24;
  z-index: 2;
  transition: all 1s;
}

.third-btn:hover::before {
  width: 160%;
}



/* blog-btn */
.blog-btn {
  color: #1B1925;
  text-decoration: none;
  font-size: 17px;
  cursor: pointer;
  background: #D4AF37;
  position: relative;
  transition: all 1s;
  overflow: hidden;
}

.blog-btn i {
  color: #1B1925;
  transition: all 1s;
}

.blog-btn:hover {
  color: #fff;
}

.blog-btn:hover i {
  color: #fff;

}

.blog-btn::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 0%;
  top: 0;
  left: -40px;
  transform: skewX(45deg);
  background-color: #1B1925;
  z-index: 2;
  transition: all 1s;
}

.blog-btn:hover::before {
  width: 160%;
}



/* card open close */

.process-flow-container {
  display: flex;
  width: 100%;
  height: 500px;
  border-radius: 15px;
  overflow: hidden;

}

.card-item {
  flex-grow: 1;
  cursor: pointer;
  transition: all 0.5s ease-in-out;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  position: relative;
}

.card-item:not(.active) {
  width: 21%;
  flex-shrink: 0;
  background-color: #FDEDEC;
  border-radius: 30px;
  margin-right: 20px;
  overflow: hidden;
}

.process-flow-container .card-item:nth-child(4) {
  margin-right: 0;
}


.card-item:not(.active) .card-header {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 30px 0;
}


.card-item:not(.active) .step-title-collapsed {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
  font-size: 36px;
  line-height: 46px;
  font-weight: bold;
}


.card-item.active {
  width: 32%;
  flex-shrink: 0;
  background-color: #E31E24;
  padding: 20px;
  border-radius: 20px;
  margin-right: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Content Hiding/Showing */
.card-content {
  max-height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out 0.2s, visibility 0.3s ease-in-out 0.2s;
}

.card-item.active .card-content {
  opacity: 1;
  visibility: visible;
}


.card-item:not(.active) .step-title-expanded,
.card-item.active .step-title-collapsed {
  display: none;
}

.card-item:not(.active) .step-title-expanded,
.card-item.active .step-number {
  display: none;
}

.card-item:not(.active) .step-title-expanded,
.card-item.active .step-icon {
  display: none;
}



.step-number {
  display: block;
  text-align: center;
}

.card-item.active .step-number {
  border-color: #fff;
  color: #fff;
}

.card-item:not(.active) .step-number {
  color: black;
  font-size: 56px;
  line-height: 68px;
  font-weight: 700;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
}


@media (max-width:1279px) {
  .card-item.active {
    padding: 15px
  }

  .card-item:not(.active) {
    width: 18%;
  }
}

@media (max-width:1023px) {
  .card-item:not(.active) {
    width: 7%;
    margin-right: 15px;
  }

  .card-item.active {
    margin-right: 15px;
  }

  .card-item:not(.active) .step-number {
    font-size: 44px;
    line-height: 56px;
  }

  .process-flow-container {
    height: 450px;
  }
}

@media (max-width:767px) {
  .card-item:not(.active) {
    width: 4%;
    margin-right: 10px;
  }

  .card-item.active {
    margin-right: 10px;
  }

  .card-item:not(.active) .step-number {
    font-size: 40px;
    line-height: 50px;
  }

  .card-item:not(.active) .step-title-collapsed {
    font-size: 30px;
    line-height: 38px;
  }

  .process-flow-container {
    height: 480px;
  }

}

@media (max-width:639px) {
  .card-item.active {
    width: 100%;
    height: auto;
    transition: height 0.6s linear;
    border-radius: 20px;
    margin-right: 0px;
  }

  .card-item:not(.active) {
    width: 100%;
    height: 85px;
    transition: height 0.6s linear;
    margin-right: 0px;
  }

  .process-flow-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .card-item:not(.active) .card-header {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    padding: 15px;
  }

  .card-item:not(.active) .step-number {
    transform: rotate(0deg);
    writing-mode: horizontal-tb;
    font-size: 32px;
    line-height: 38px;
  }

  .card-item:not(.active) .step-title-collapsed {
    transform: rotate(0deg);
    writing-mode: horizontal-tb;
    font-size: 26px;
    line-height: 34px;
  }
}



.title-line::before,
.title-line::after {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  border-color: #E31E24;
  /* orange border color */
}

.title-line::before {
  top: 0;
  left: 0;
  border-top: 1px solid #E31E24;
  border-left: 1px solid #E31E24;
}

.title-line::after {
  bottom: 0;
  right: 0;
  border-bottom: 1px solid #E31E24;
  border-right: 1px solid #E31E24;
}



/* home slider pagination button */

.homeSwiper-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background-color: #E31E24;
  opacity: 1;
}

.homeSwiper-pagination .swiper-pagination-bullet-active {
  width: 30px;
  height: 8px;
  background-color: #E31E24;
  border-radius: 10px;
}

.image-spin {
  animation: spin 10s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}



/* gallery slider */
.gallerySlider .swiper-wrapper .swiper-slide img {
  filter: blur(2.5px);
}

.gallerySlider .swiper-wrapper .swiper-slide.swiper-slide-active img {
  filter: blur(0px);
}



/* loader */
/* From Uiverse.io by reglobby */
.cube-loader {
  width: 100px;
  height: 100px;
  position: relative;
  transform-style: preserve-3d;
  animation: spinCubes 2s linear infinite;
}

@keyframes spinCubes {
  to {
    transform: rotateY(360deg) rotateX(360deg);
  }
}

.cube {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 5px solid #E31E24;
  transform-style: preserve-3d;
}

@media (max-width:767px) {
  .cube-loader {
    width: 70px;
    height: 70px;
  }

  .cube {
    border: 5px solid #E31E24;
  }
}

.cube:nth-child(2) {
  transform: rotateY(45deg) rotateX(45deg) scale(0.7);
  border-color: #D4AF37;
}

.cube:nth-child(3) {
  transform: rotateY(90deg) rotateX(90deg) scale(0.4);
  border-color: #FFFFFF;
}

.glass-input {
  position: relative;
  width: 100%;
  max-width: 320px;
}

.glass-input input {
  width: 100%;
  padding: 12px 15px;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
  border: 2px solid rgba(46, 142, 255, 0.3);
  border-radius: 8px;
  color: #fff;
  outline: none;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}

.glass-input input:focus {
  border-color: #2e8eff;
  box-shadow: 0 0 8px rgba(46, 142, 255, 0.7);
}

.glass-input::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150%;
  height: 150%;
  background: conic-gradient(from 0deg,
      transparent,
      #2e8eff,
      #2e8eff,
      transparent);
  transform: translate(-50%, -50%) rotate(0deg) scale(0);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: 0.5s;
}

.glass-input input:focus~*::before {
  transform: translate(-50%, -50%) rotate(720deg) scale(1);
  opacity: 0.1;
}


.gallery-slider2 {
  width: 100%;

}

@media (max-width:639.98px) {
  .gallery-slider2 {
    width: 288px;
    margin: 0 auto;
  }
}

.gallery-slider2 .swiper-slide {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}





/* scrollbar css */

::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

/* Track (the background) */
::-webkit-scrollbar-track {
  background: #F1F1F1;
  border-radius: 8px;
}

/* Multi-level Menu Styling */
.group\/sub:hover>.sub-menu {
  max-height: 500px;
  overflow: visible;
}

/* Ensure sub-menus don't have horizontal scroll */
.sub-child-menu {
  left: 100%;
  top: 0;
}

@media (max-width: 1023px) {

  /* Mobile nested dropdown spacing */
  .mobile-sub-content {
    padding-left: 1rem;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
  }
}

/* Handle (the actual scroll thumb) */
::-webkit-scrollbar-thumb {
  background: #E31E24;
  border-radius: 8px;
}

/* On hover */
::-webkit-scrollbar-thumb:hover {
  background: #999;
}
