@import url(mainstyle.css);

* {
  font-family: var(--primefont);
}

a {
  color: inherit;
  text-decoration: none;
}

/* icon BG */
.icon-bg {
  min-width: 40px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--icon-text);
}

.icon-bg-lg {
  min-width: 50px;
  min-height: 50px;
}

header {
  transition: 0.2s ease;
  z-index: 999;
}
header.fix {
  background-color: var(--head-bg) !important;
  position: fixed !important;
}

/* Normal header nav */
.nav-link {
  color: var(--head-text);
}

header.fix .nav-link {
  color: var(--head-text) !important;
}

.nav-link.blog-highlight {
  color: var(--prime-text) !important;
}

header.fix .nav-link.blog-highlight {
  color: var(--prime-text) !important;
}

@media(min-width: 992px){
  .dropdown-hover:hover .dropdown-menu {
    display: block;
  }

}

.dropdown-menu {
  background-color: var(--head-bg);
  min-width: 200px;
  padding: 8px 0;
}

.offcanvas .dropdown-menu {
  position: absolute;
}


.dropdown-item {
  position: relative;
  color: var(--para-text) !important;
  transition: all 0.3s ease;
  font-family: var(--secondfont);
  font-weight: 400;
  text-transform: capitalize;
}

.dropdown-item:hover {
  color: var(--nav-alt-text) !important;
  padding-left: 35px;
}

.dropdown-item:hover::before {
  content: "//";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--nav-alt-text);
  font-weight: 600;
}

.dropdown-item:focus,
.dropdown-item:active {
  background-color: transparent !important;
  color: var(--nav-alt-text) !important;
  outline: none !important;
  box-shadow: none !important;
}
/* Show active menu clearly */
.nav-link.active {
  color: var(--nav-alt-text) !important;
}

/* Parent dropdown active */
.nav-item.active > .nav-link {
  color: var(--nav-alt-text) !important;
}



/* header CSS */
.nav-link {
  color: var(--nav-text);
  font-weight: 500;
}
.nav-item.active .nav-link,
.nav-item:hover .nav-link,
.nav-item .nav-link:focus,
.social-icon a:hover {
  color: var(--prime-text) !important;
}
@media (max-width: 1200px) {
  .offcanvas-body {
    background-color: var(--head-bg);
  }
  .nav-link {
    color: var(--head-text);
  }
}

#banner-slider {
  min-height: 900px;
}

/* Slide backgrounds */
.slide-1 {
  background: linear-gradient(170deg, rgb(10 10 10), rgba(106, 129, 75, 0.3)),
    url("../../assets/images/slide-1.webp") no-repeat;
  background-size: cover;
  background-position: top center;
  min-height: 900px;
}

.slide-2 {
  background: linear-gradient(170deg, rgb(10 10 10), rgb(106, 129, 75, 0.2)),
    url("../../assets/images/slide-2.webp") no-repeat;
  background-size: cover;
  background-position: center bottom;
  min-height: 900px;
}

.slide-3 {
  background: linear-gradient(170deg, rgb(10 10 10), rgba(106, 129, 75, 0.2)),
    url("../../assets/images/slide-3.webp") no-repeat;
  background-size: cover;
  background-position: bottom center;
  min-height: 900px;
}

@media (max-width: 575px) {
  #banner-slider {
    min-height: 750px;
  }

  .slide-1,
  .slide-2,
  .slide-3 {
    min-height: 750px;
  }
  .fs-10 {
    font-size: 32px;
  }
  .banner-bg::after {
    display: none;
  }
  .py-6{
    padding: 40px 0 !important;
  }
}
.theme-btn {
  width: 52px;
  height: 42px;
}

/* Content container */
.splide-container {
  max-width: 720px;
}

/* Navigation Arrows */
.splide__arrow {
  display: none;
}
.banner-bg {
  overflow: hidden !important;
  position: relative;
}

.banner-bg::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 228px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-image: url("../../assets/images/banner_shape.svg");
}

/* Dark theme override */
[data-nanobytech-theme="dark"] .banner-bg::after {
    background-image: url("../../assets/images/banner_shape_dark.svg");
}


/* about-card */
.about-card-section {
  margin-top: -10%;
}
.box-item {
  position: relative;
  width: 100%;
  margin-bottom: 35px;
  max-width: 100%;
}

.flip-box {
  -ms-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  perspective: 1000px;
  -webkit-perspective: 1000px;
}

.flip-box-front,
.flip-box-back {
  background-color: var(--card-bg);
  border-radius: 8px;
  min-height: 350px;
  -ms-transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
  transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
  -webkit-transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.flip-box-front {
  -ms-transform: rotateY(0deg);
  -webkit-transform: rotateY(0deg);
  transform: rotateY(0deg);
  -webkit-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d;
  transform-style: preserve-3d;

  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.flip-box:hover .flip-box-front {
  -ms-transform: rotateY(-180deg);
  -webkit-transform: rotateY(-180deg);
  transform: rotateY(-180deg);
  -webkit-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d;
  transform-style: preserve-3d;
  box-shadow: 18px 20px 40px rgba(0, 0, 0, 0.12);
}

.flip-box-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  -ms-transform: rotateY(180deg);
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
  -webkit-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

.flip-box:hover .flip-box-back {
  -ms-transform: rotateY(0deg);
  -webkit-transform: rotateY(0deg);
  transform: rotateY(0deg);
  -webkit-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

.flip-box .inner {
  position: absolute;
  left: 0;
  width: 100%;
  padding: 35px;
  outline: 1px solid transparent;
  -webkit-perspective: inherit;
  perspective: inherit;
  z-index: 2;

  transform: translateY(-50%) translateZ(60px) scale(0.94);
  -webkit-transform: translateY(-50%) translateZ(60px) scale(0.94);
  -ms-transform: translateY(-50%) translateZ(60px) scale(0.94);
  top: 50%;
}

.flip-box-icon {
  position: relative;
  width: 120px;
  height: 120px;
  background-color: var(--prime-bg);
  border-radius: 22% 78% 70% 30% / 29% 59% 41% 71%;
}
.flip-box-icon img {
  position: absolute;
  top: 18px;
  left: -8px;
}

/* experience section */
.img-block-1 {
  background-image: url(../../assets/images/experience-image-2.webp);
  background-size: cover;
  background-position: center;
  height: 300px;
  width: 65%;
  margin-left: 0%;
  z-index: 2;
  position: relative;
}
.img-block-2 {
  background-image: url(../../assets/images/experience-image-1.webp);
  background-size: cover;
  background-position: center;
  height: 300px;
  width: 65%;
  margin-top: -100px;
  margin-left: 20%;
  z-index: 1;
  position: relative;
}
.experience-imge-container::before {
  content: "";
  position: absolute;
  bottom: 40px;
  left: -50px;
  background: url("../../assets/images/circle-shape.webp") no-repeat center;
  background-size: contain;
  width: 300px;
  height: 300px;
  z-index: 0;
  animation: floatShape 3s ease-in-out infinite;
}
@keyframes floatShape {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-12px) rotate(2deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

.horizontal-spinner {
  max-width: 300px;
  height: 4px;
  margin-top: 12px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 50px;
  overflow: hidden;
  position: relative;
}

.horizontal-spinner::before {
  content: "";
  position: absolute;
  top: 0;
  left: -40%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    var(--prime-color, #0d6efd),
    transparent
  );
  animation: spinnerMove 1.4s linear infinite;
}

@keyframes spinnerMove {
  0% {
    left: -40%;
  }
  100% {
    left: 100%;
  }
}

/* service-section */
.service-section {
  background: linear-gradient(170deg, rgb(36 36 36), rgba(36, 36, 36, 0.4)),
    url("../../assets/images/service-banner.webp") no-repeat center/cover;
  min-height: 750px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.flip-box-bg-1 {
  background: linear-gradient(to top, #1d47cfec, #5b8ee663),
    url("../../assets/images/service-image-1.webp");
}
.flip-box-bg-2 {
  background: linear-gradient(to top, #1d47cfec, #5b8ee663),
    url("../../assets/images/service-image-2.webp");
}
.flip-box-bg-3 {
  background: linear-gradient(to top, #1d47cfec, #5b8ee663),
    url("../../assets/images/service-image-3.webp");
}
.flip-box-bg-4 {
  background: linear-gradient(to top, #1d47cfec, #5b8ee663),
    url("../../assets/images/service-image-4.webp");
}
.flip-box-bg-5 {
  background: linear-gradient(to top, #1d47cfec, #5b8ee663),
    url("../../assets/images/service-image-5.webp");
}
.flip-box-bg-6 {
  background: linear-gradient(to top, #1d47cfec, #5b8ee663),
    url("../../assets/images/service-image-6.webp");
}

/* team section */
.team-section {
  background: linear-gradient(
      170deg,
      rgba(236, 236, 236, 0.897),
      rgba(236, 236, 236, 0.897)
    ),
    url("../../assets/images/map-1.webp") no-repeat;
  background-size: cover;
  background-position: center;
}
[data-nanobytech-theme="dark"] .team-section {
  background: linear-gradient(
      170deg,
      rgba(10, 10, 10, 0.993),
      rgba(0, 0, 0, 0.89),
      rgba(0, 0, 0, 0.911)
    ),
    url("../../assets/images/map-2.webp") no-repeat;
  background-size: cover;
  background-position: center;
}

.team-manager {
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.team-manager .card-image img {
  width: 100%;
  min-height: 450px;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s ease;
}

.team-manager:hover .card-image img {
  transform: scale(1.02);
}

.social-bar {
  position: absolute;
  top: 20px;
  right: -60px;
  width: 60px;
  background: var(--prime-bg);
  padding: 15px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  transition: all 0.4s ease;
  z-index: 10;
}

.social-bar a {
  color: var(--white-text);
  font-size: 18px;
  transition: 0.3s ease;
}

.social-bar a:hover {
  opacity: 0.7;
}

.team-manager:hover .social-bar {
  right: 0;
}
/* feature */
.feature-image {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  max-height: 450px !important;
  width: 100%;
  overflow: hidden;
  object-fit: cover;
}

/* Overlay */
.feature-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.15));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

/* Content */
.feature-content {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 2;
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.4s ease;
}

/* Hover effect */
.feature-image:hover::after {
  opacity: 1;
}

.feature-image:hover .feature-content {
  opacity: 1;
  transform: translateY(0);
}

/* feature-process */
.process-card {
  /* background: transparent; */
  transition: background-color 0.3s ease, box-shadow 0.3s ease,
    transform 0.3s ease;
  padding: 20px;
  border-radius: 12px;
}

.process-card:hover {
  background: var(--card-bg);
  box-shadow: 6px 6px 20px rgba(0, 0, 0, 0.15);
  transform: translate(-3px, -3px);
  border: 1px solid var(--prime-border);
}

/* counter section  */
.counter-section {
  background:
    linear-gradient(
      270deg,
      rgba(58, 112, 200, 0.918),
      rgba(46, 100, 187, 0.959),
      rgba(58, 112, 200, 0.945)
    ),
    url('../../assets/images/world-map-1.webp') no-repeat top center;

  background-size: cover;
}
[data-nanobytech-theme="dark"] .counter-section {
  background:
    linear-gradient(
      270deg,
      rgba(58, 112, 200, 0.918),
      rgba(46, 100, 187, 0.959),
      rgba(58, 112, 200, 0.945)
    ),
    url('../../assets/images/world-map-2.webp') no-repeat top center;

  background-size: cover;
}
/* testimonial */
.testimonial-img {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  outline: 2px solid var(--prime-border);
  outline-offset: 2px;
  overflow: hidden;
}
.testimonial-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Tooltip box */
.testimonial-box {
  position: relative;
  background: var(--card-bg);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--prime-border);
}

/* Tooltip arrow */
.testimonial-box::after {
  content: "";
  position: absolute;
  bottom: -14px;
  left: 40px; /* adjust position */
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 14px solid var(--card-bg);
}

/* Border for arrow (optional but recommended) */
.testimonial-box::before {
  content: "";
  position: absolute;
  bottom: -16px;
  left: 39px;
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 15px solid var(--prime-border);
}

.testimonial-user {
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 35px;
}
/* Consultant-from */
.Consultant-section {
  background: linear-gradient(180deg, rgb(65, 152, 233), rgba(75, 100, 129, 0.3)),
    url("../../assets/images/Consultant-section.webp") no-repeat;
  background-size: cover;
  background-position: center center;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.Consultant-section .form-control::placeholder{
  color: var(--white-text) !important;
}
.Consultant-section .form-control,
.Consultant-section .form-control input,
.Consultant-section .form-control textarea {
    background: transparent;
    color: var(--white-text);
    border-color: rgba(255, 255, 255, 0.4);
}

/* article */
.article-card {  
  transition: background-color 0.3s ease, box-shadow 0.3s ease,
  transform 0.3s ease;
  border-radius: 12px;
}

.article-card:hover {
  box-shadow: 6px 6px 20px rgba(0, 0, 0, 0.15);
  transform: translate(-3px, -3px);
   background: var(--card-bg);
}
/* news latter */
.animated-gradient {
  background: linear-gradient(270deg, #3a70c8, #5f9cff, #3a70c8);
  background-size: 400% 400%;
  animation: gradientMove 5s ease infinite;
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.f-menu a {
  position: relative;
    display: inline-block;
}
.f-menu a:hover {
  color: var(--prime-text);
}

.footer-section {
  background:
  linear-gradient( to top,
    rgba(17, 26, 58, 0.9) 0%,
    rgba(17, 26, 58, 0.9) 50%,
    rgba(17, 26, 58, 0.9) 100%
  ),
    url('../../assets/images/map-1.webp') no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
[data-nanobytech-theme="dark"] .footer-section {
    background-image:  linear-gradient( to top,
    rgba(17, 26, 58, 0.9) 0%,
    rgba(17, 26, 58, 0.9) 50%,
    rgba(17, 26, 58, 0.9) 100%
  ), url("../../assets/images/map-2.webp");
}
.post-card .image {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  overflow: hidden;
}

.post-card .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


#backtotop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
  width: 50px !important;
  min-width: unset;
  height: 50px !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

#backtotop.show {
  opacity: 1;
  visibility: visible;
}

.prime-btn-2 {
  background: var(--prime-btn);
  padding: 16px 32px;
  font-size: 18px;
  font-weight: 500;
  display: inline-block;
  transition: 0.5s;
  position: relative;
  overflow: hidden;
  z-index: 1;
  border-radius: 5px;
  color: var(--prime-btn-text) !important;
}

/* Keep text color white on hover */
.prime-btn-2:hover,
.prime-btn-2:focus {
  color: var(--prime-btn-text) !important;
}

/* Sliding overlay */
.prime-btn-2::before {
  content: "";
  position: absolute;
  top: 0;
  left: -25%;
  height: 100%;
  width: 150%;
  background: var(--prime-btn2);
  transform: skew(50deg) translateX(-100%);
  transition: transform 0.6s ease;
  z-index: -1;
}

/* Hover animation */
.prime-btn-2:hover::before {
  transform: skew(50deg) translateX(0%);
}

/* About-Page */
.about-banner{
  background:linear-gradient( to top,
    rgba(17, 26, 58, 0.644) 0%,
    rgba(17, 26, 58, 0.644) 50%,
    rgba(17, 26, 58, 0.63) 100%
  ), url('../../assets/images/about-banner.webp') no-repeat;
  min-height: 550px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.about-menu{
  max-width: 400px;
}
/* about-content */
.about-image-container .image-block-2{
  position: absolute;
  top: 15px;
  right: 10px;
}

/* call-section */
.call-section{
  background: url('../../assets/images/call-banner.webp') no-repeat;
  background-position: center;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
}
.call-icon {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.call-icon a {
  width: 100px;
  height: 100px;
  background-color: var(--prime-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.call-icon::before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px dashed var(--white-text);
  animation: rotateRing 6s linear infinite;
}


.call-icon::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  animation: pulseRing 2.5s ease-out infinite;
  z-index: 0;
}

@keyframes rotateRing {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulseRing {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}
.call-modal-container {
  position: absolute;
  bottom: -47px;
  right: 0px;
  max-width: 100%;
  text-align: end;
}

.call-modal-container img {
  max-width: 100%;
  max-height: 550px;
}

@media (max-width: 991px) {
  .call-modal-container {
    position: relative;
    bottom: 0;
    right: 0;
    margin-top: 40px;
    text-align: center;
  }

  .call-modal-container img {
    height: 480px;
  }
}


@media (max-width: 576px) {
  .call-modal-container img {
    height: 350px;
  }
  .call-content {
    text-align: center;
  }

  .call-icon {
    margin-left: auto;
    margin-right: auto;
  }
}

.counter-section-2 {
  background:
    linear-gradient(
      270deg,
      rgba(58, 112, 200, 0.918),
      rgba(46, 100, 187, 0.959),
      rgba(58, 112, 200, 0.945)
    ),
    url('../../assets/images/world-map-1.webp') no-repeat top center;

  background-size: cover;
}
[data-nanobytech-theme="dark"] .counter-section-2 {
  background:
    linear-gradient(
      270deg,
      rgba(58, 112, 200, 0.918),
      rgba(46, 100, 187, 0.959),
      rgba(58, 112, 200, 0.945)
    ),
    url('../../assets/images/world-map-2.webp') no-repeat top center;

  background-size: cover;
}
.pricing-card {
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color 0.3s ease;
    color: var(--head-text);
}

.pricing-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: var(--card-alt-bg);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
  z-index: -1;
}

.pricing-card:hover::before {
  transform: translateX(0);
}

.pricing-card:hover {
  color: var(--white-text) !important;
}

/* service-page */
.service-Source-card {
  background: var(--card-bg);
  padding: 30px 20px;
  border-radius: 16px;
  transition: transform 0.4s ease;
  position: relative;
  border: 1px solid var(--prime-border);
}

.service-Source-card::after{
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  box-shadow: 0 0 0 rgba(0,0,0,0);
  transition: box-shadow 0.45s ease;
  z-index: -1;
}

.service-Source-card:hover{
  transform: translateY(-10px);
}

.service-Source-card:hover::after{
  box-shadow: 0 25px 60px rgba(0,0,0,0.18);
}


/* Project-Page */
.project-card{
  position: relative;
}
.project-image img{
  display: block;
}
.project-content{
  position: absolute;
  left: 20px;
  bottom: 0px;             
  background: var(--card-bg);
  padding: 18px 22px;
  width: calc(100% - 40px);
  border-radius: 10px;
  z-index: 2;
  border: 2px solid var(--prime-border);
}
/* project slider pagination */
.splide__pagination__page {
    background: #ccc;
    border: 0;
    border-radius: 50%;
    display: inline-block;
    height: 8px;
    margin: 3px;
    opacity: 0.7;
    padding: 0;
    position: relative;
    bottom: -45px;
    transition: transform 0.2s linear;
    width: 8px;
}
.splide__pagination__page.is-active {
    background: var(--prime-bg);
    transform: scale(1.4);
    z-index: 1;
}
.contact-card{
  position: relative;
  background: var(--card-bg);
}
.contact-card::before{
  content:'';
  position:absolute;
  left:0;
  top:0;
  width:4px;
  height:100%;
  background:var(--prime-bg);
  transform:scaleY(0);
  transition:0.3s;
}
.contact-card:hover::before{
  transform:scaleY(1);
}
.contact-form .form-control::placeholder{
  color: var(--head-text);
}
.alertmsg{
  z-index: 9999;
}