@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;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12), 0 1px 0 rgba(0, 0, 0, 0.08);
}

header .prime-btn,
header .prime-outline-btn2 {
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14), 0 0 0 1px rgba(0, 0, 0, 0.05);
}

header .prime-btn:hover,
header .prime-outline-btn2:hover {
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.06);
}

/* 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(90deg, rgba(2, 9, 20, 0.96) 0%, rgba(4, 14, 28, 0.88) 42%, rgba(5, 16, 30, 0.5) 72%, rgba(5, 16, 30, 0.22) 100%),
    url("../../assets/images/slide-1.webp") no-repeat;
  background-size: cover;
  background-position: center right;
  min-height: 900px;
}

.slide-2 {
  background: linear-gradient(170deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.56)),
    url("../../assets/images/slide-2.webp") no-repeat;
  background-size: cover;
  background-position: center bottom;
  min-height: 900px;
}

.slide-3 {
  background: linear-gradient(170deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.56)),
    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-slider .hero-title-image {
    font-size: 34px;
  }
  #banner-slider .hero-lead-text {
    font-size: 16px;
    line-height: 1.5;
  }
  #banner-slider .hero-service-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 14px;
  }
  #banner-slider .hero-service-item {
    min-width: 0;
    font-size: 13px;
  }
  #banner-slider .hero-actions-image {
    flex-direction: column;
    align-items: stretch;
  }
  #banner-slider .hero-btn-primary,
  #banner-slider .hero-btn-outline {
    width: 100%;
    justify-content: center;
  }
  .banner-bg::after {
    display: none;
  }
  .py-6{
    padding: 40px 0 !important;
  }
}
.theme-btn {
  width: 52px;
  height: 42px;
}

/* Content container */
.splide-container {
  max-width: 760px;
}

#banner-slider .hero-layout {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(320px, 430px) minmax(420px, 1fr);
  gap: 54px;
  align-items: center;
}

#banner-slider .hero-layout-single {
  grid-template-columns: minmax(360px, 620px);
}

#banner-slider .hero-panel {
  min-width: 0;
}

#banner-slider .hero-panel-left {
  max-width: 440px;
  padding-top: 42px;
}

#banner-slider .slide-1 .hero-panel-left {
  max-width: 500px;
}

#banner-slider .slide-2 .hero-panel-left {
  position: absolute;
  top: 76px;
  left: 36px;
  width: 430px;
  max-width: 430px;
  padding-top: 0;
}

#banner-slider .slide-2 .hero-panel-left::before {
  display: none;
}

#banner-slider .slide-2 .hero-panel-left > * {
  position: relative;
  z-index: 1;
}

#banner-slider .hero-panel-right-centered {
  align-self: center;
  padding-bottom: 0;
}

#banner-slider .hero-brand-row {
  display: flex;
  align-items: center;
}

#banner-slider .hero-brand-logo {
  width: 210px;
  max-width: 100%;
  object-fit: contain;
}

#banner-slider .hero-slide-badge {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  font-family: "Manrope", var(--primefont), sans-serif;
  font-size: 20px;
  font-weight: 700;
}

#banner-slider .hero-slide-badge-green {
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.7);
  background: rgba(10, 25, 21, 0.45);
}

#banner-slider .hero-slide-badge-gold {
  color: #e0b26d;
  border: 1px solid rgba(224, 178, 109, 0.7);
  background: rgba(49, 35, 15, 0.42);
}

#banner-slider .splide-container h1 {
  margin-bottom: 8px !important;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.38);
}

#banner-slider .hero-title-image {
  display: flex;
  flex-direction: column;
  font-family: "Manrope", var(--primefont), sans-serif !important;
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.04em;
  max-width: 560px;
}

#banner-slider .slide-1 .hero-title-image {
  max-width: 620px;
}

#banner-slider .slide-2 .hero-title-image {
  max-width: none;
}

#banner-slider .slide-2 .hero-title-top,
#banner-slider .slide-2 .hero-title-bottom {
  white-space: nowrap;
}

#banner-slider .slide-2 .hero-title-medium {
  font-size: 44px;
  line-height: 1.03;
  max-width: none;
}

#banner-slider .slide-3 .hero-title-medium {
  font-size: 44px;
  line-height: 1.03;
  max-width: none;
}

#banner-slider .slide-3 .hero-title-top,
#banner-slider .slide-3 .hero-title-bottom {
  white-space: nowrap;
}

#banner-slider .hero-title-medium {
  font-size: clamp(28px, 3.2vw, 42px);
  max-width: 430px;
}

#banner-slider .hero-title-medium .hero-title-top,
#banner-slider .hero-title-medium .hero-title-bottom {
  white-space: normal;
}

#banner-slider .hero-title-top {
  color: #ffffff;
  white-space: nowrap;
}

#banner-slider .hero-title-bottom {
  color: var(--prime-text);
  white-space: nowrap;
}

#banner-slider .hero-title-gold {
  color: #d8ab68;
}

#banner-slider .hero-line {
  display: block;
  width: 54px;
  height: 5px;
  border-radius: 999px;
  background: var(--prime-text);
}

#banner-slider .hero-line-gold {
  background: #d8ab68;
}

#banner-slider .splide-container p.white-text {
  margin-bottom: 26px !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

#banner-slider .hero-lead-text {
  max-width: 560px;
  font-family: "Manrope", var(--primefont), sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.96);
}

#banner-slider .hero-lead-short {
  max-width: 470px;
}

#banner-slider .hero-service-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(88px, 1fr));
  gap: 16px 14px;
  max-width: 760px;
  align-items: start;
}

#banner-slider .hero-layout .hero-panel-right {
  padding-left: 14px;
}

#banner-slider .slide-2 .hero-panel-right {
  position: absolute;
  top: 64px;
  left: 590px;
  width: 740px;
  max-width: 740px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: 0;
}

#banner-slider .slide-2 .hero-panel-right::before {
  display: none;
}

#banner-slider .slide-2 .hero-panel-right::after {
  display: none;
}

#banner-slider .hero-service-list-plain {
  max-width: 620px;
  margin-left: 0;
}

#banner-slider .hero-service-list-four {
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  max-width: 640px;
}

#banner-slider .hero-service-list-wide {
  grid-template-columns: repeat(5, minmax(118px, 1fr));
  gap: 14px 12px;
  width: 740px;
  max-width: 740px;
  margin-left: 0;
  position: relative;
  z-index: 1;
}

#banner-slider .hero-service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  text-align: center;
  color: #ffffff;
  font-family: "Manrope", var(--primefont), sans-serif;
  font-weight: 500;
}

#banner-slider .hero-service-item-plain {
  min-height: 96px;
  justify-content: flex-start;
}

#banner-slider .hero-service-card-gold,
#banner-slider .hero-service-card-green {
  min-height: 134px;
  padding: 22px 14px 16px;
  border-radius: 18px;
  backdrop-filter: blur(6px);
}

#banner-slider .hero-service-card-gold {
  background: rgba(97, 73, 37, 0.28);
  border: 1px solid rgba(224, 178, 109, 0.18);
}

#banner-slider .hero-service-card-green {
  background: rgba(15, 39, 36, 0.38);
  border: 1px solid rgba(203, 244, 225, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

#banner-slider .hero-service-list-wide .hero-service-card-green {
  min-height: 130px;
  padding: 16px 12px 14px;
  justify-content: center;
  border-radius: 16px;
}

#banner-slider .hero-service-list-four .hero-service-card-green {
  min-height: 148px;
  padding: 16px 12px 14px;
  justify-content: center;
  border-radius: 16px;
}

#banner-slider .hero-service-item i {
  color: var(--prime-text);
  font-size: 28px;
}

#banner-slider .hero-service-item-plain i {
  font-size: 30px;
  line-height: 1;
}

#banner-slider .hero-service-card-gold i {
  color: #d8ab68;
}

#banner-slider .hero-service-card-green i {
  color: #B0DFB9;
  font-size: 52px;
  line-height: 1;
}

#banner-slider .hero-service-card-green .svg-inline--fa {
  width: 52px;
  height: 52px;
  color: #B0DFB9;
}

#banner-slider .hero-service-item span {
  display: block;
  font-size: 14px;
  line-height: 1.35;
}

#banner-slider .hero-service-list-wide .hero-service-item span {
  font-size: 10px;
  line-height: 1.15;
  max-width: 96px;
  margin: 0 auto;
}

#banner-slider .hero-service-list-four .hero-service-item span {
  font-size: 10px;
  line-height: 1.15;
  max-width: 94px;
  margin: 0 auto;
}

#banner-slider .hero-service-item-plain span {
  max-width: 110px;
}

#banner-slider .hero-support-copy {
  font-family: "Manrope", var(--primefont), sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.96);
  text-align: center;
}

#banner-slider .hero-support-copy-wide {
  width: 740px;
  max-width: 740px;
  margin-left: 0;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 16px 24px 0;
}

#banner-slider .slide-2 .hero-layout {
  position: relative;
  display: block;
  min-height: 430px;
}

#banner-slider .slide-3 .hero-layout {
  position: relative;
  display: block;
  min-height: 430px;
}

#banner-slider .slide-3 .hero-panel-left {
  position: absolute;
  top: 76px;
  left: 36px;
  width: 430px;
  max-width: 430px;
  padding-top: 0;
}

#banner-slider .slide-3 .hero-panel-right {
  position: absolute;
  top: 64px;
  left: 660px;
  width: 640px;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: 0;
}

#banner-slider .slide-3 .hero-service-list-four {
  width: 640px;
  max-width: 640px;
  margin-left: 0;
}

#banner-slider .hero-support-copy-slide-3 {
  width: 640px;
  max-width: 640px;
  padding-top: 16px;
}

#banner-slider .hero-support-copy span {
  color: #22c55e;
  font-weight: 700;
}

#banner-slider .hero-support-copy-gold span {
  color: #d8ab68;
}

#banner-slider .hero-actions-image {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 4px;
}

#banner-slider .hero-actions-primary {
  margin-top: 8px;
}

#banner-slider .hero-btn-primary,
#banner-slider .hero-btn-outline {
  min-width: 190px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 28px;
  font-family: "Manrope", var(--primefont), sans-serif;
  font-size: 18px;
  font-weight: 700;
  transition: 0.25s ease;
}

#banner-slider .hero-btn-icon {
  min-width: 198px;
  justify-content: flex-start;
  gap: 12px;
  padding: 0 22px;
}

#banner-slider .slide-2 .hero-actions-primary {
  gap: 16px;
}

#banner-slider .slide-3 .hero-actions-primary {
  gap: 16px;
}

#banner-slider .slide-2 .hero-btn-icon {
  min-width: 234px;
  white-space: nowrap;
}

#banner-slider .slide-3 .hero-btn-icon {
  min-width: 234px;
  white-space: nowrap;
}

#banner-slider .slide-2 .hero-btn-icon span {
  white-space: nowrap;
}

#banner-slider .slide-3 .hero-btn-icon span {
  white-space: nowrap;
}

#banner-slider .hero-btn-icon i {
  font-size: 20px;
  line-height: 1;
}

#banner-slider .hero-btn-icon span {
  display: inline-block;
}

#banner-slider .hero-btn-primary {
  background: #22c55e;
  color: #ffffff;
  border: 1px solid #22c55e;
}

#banner-slider .hero-btn-primary:hover {
  background: #1fb456;
  border-color: #1fb456;
  color: #ffffff;
}

#banner-slider .hero-btn-outline {
  background: transparent;
  color: #ffffff;
  border: 2px solid #22c55e;
}

#banner-slider .hero-btn-outline:hover {
  background: rgba(34, 197, 94, 0.14);
  color: #ffffff;
}

#banner-slider .hero-btn-gold,
#banner-slider .hero-btn-outline-gold {
  min-width: 190px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 28px;
  font-family: "Manrope", var(--primefont), sans-serif;
  font-size: 18px;
  font-weight: 700;
  transition: 0.25s ease;
}

#banner-slider .hero-btn-gold {
  background: #d8ab68;
  color: #ffffff;
  border: 1px solid #d8ab68;
}

#banner-slider .hero-btn-gold:hover {
  background: #c59a59;
  border-color: #c59a59;
  color: #ffffff;
}

#banner-slider .hero-btn-outline-gold {
  background: transparent;
  color: #ffffff;
  border: 2px solid #d8ab68;
}

#banner-slider .hero-btn-outline-gold:hover {
  background: rgba(216, 171, 104, 0.14);
  color: #ffffff;
}

#banner-slider .hero-actions {
  margin-top: 0;
}

@media (max-width: 991px) {
  #banner-slider .hero-layout,
  #banner-slider .hero-layout-single {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  #banner-slider .hero-panel-left {
    max-width: none;
    padding-top: 0;
  }

  #banner-slider .slide-1 .hero-panel-left {
    max-width: none;
  }

  #banner-slider .slide-2 .hero-title-top,
  #banner-slider .slide-2 .hero-title-bottom,
  #banner-slider .slide-3 .hero-title-top,
  #banner-slider .slide-3 .hero-title-bottom {
    white-space: normal;
  }

  #banner-slider .slide-2 .hero-panel-left {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    max-width: none;
    padding-top: 0;
  }

  #banner-slider .slide-2 .hero-panel-left::before {
    display: none;
  }

  #banner-slider .slide-3 .hero-panel-left {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    max-width: none;
    padding-top: 0;
  }

  #banner-slider .hero-panel-right-centered {
    padding-bottom: 0;
  }

  #banner-slider .hero-service-list {
    grid-template-columns: repeat(3, minmax(100px, 1fr));
  }

  #banner-slider .hero-service-list-four {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }

  #banner-slider .hero-service-list-wide {
    grid-template-columns: repeat(3, minmax(120px, 1fr));
    width: 100%;
    max-width: 100%;
  }

  #banner-slider .slide-2 .hero-panel-right {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    max-width: none;
    padding: 0;
  }

  #banner-slider .slide-3 .hero-panel-right {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    max-width: none;
    padding: 0;
  }

  #banner-slider .hero-support-copy-wide {
    width: 100%;
    max-width: 100%;
  }

  #banner-slider .hero-support-copy-slide-3 {
    width: 100%;
    max-width: 100%;
  }

  #banner-slider .slide-2 .hero-panel-right::before,
  #banner-slider .slide-2 .hero-panel-right::after {
    display: none;
  }

  #banner-slider .hero-service-list-plain {
    margin-left: 0;
  }

  #banner-slider .hero-title-top,
  #banner-slider .hero-title-bottom {
    white-space: normal;
  }
}

/* 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);
  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);
  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/innovaprime1.jpg);
  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/innovaprime2.jpg);
  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,
    #30BF44 20%,
    #552CDB 70%,
    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;
}

.service-section .flip-box {
  position: relative;
  border-radius: 16px;
}

.service-section .flip-box-front,
.service-section .flip-box-back {
  overflow: hidden;
  border-radius: 16px !important;
}

.service-section .flip-box .inner {
  transform: translateY(-50%) translateZ(88px) scale(0.92);
  -webkit-transform: translateY(-50%) translateZ(88px) scale(0.92);
  -ms-transform: translateY(-50%) translateZ(88px) scale(0.92);
}

.service-section .flip-box-icon {
  transform: translateZ(34px);
  -webkit-transform: translateZ(34px);
  -ms-transform: translateZ(34px);
}

.service-section .flip-box-front {
  background: rgba(255, 255, 255, 0.82) !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
}

.service-section .flip-box-front h4 {
  color: var(--head-text) !important;
  text-shadow: 0 10px 18px rgba(255, 255, 255, 0.32), 0 8px 18px rgba(0, 0, 0, 0.08);
}

.service-section .flip-box-front p {
  color: var(--para-alt-text) !important;
  text-align: center;
  text-shadow: 0 6px 14px rgba(255, 255, 255, 0.18), 0 6px 14px rgba(0, 0, 0, 0.05);
}

.service-section .flip-box-back h4,
.service-section .flip-box-back p,
.service-section .flip-box-back .prime-btn-2 {
  color: #ffffff !important;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.92), 0 10px 30px rgba(0, 0, 0, 0.74);
}

.service-section .flip-box-back {
  background-position: center;
  background-size: cover;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.2);
}

.service-section .flip-box:hover .flip-box-back {
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.08), 0 0 24px rgba(34, 197, 94, 0.18), 0 18px 34px rgba(0, 0, 0, 0.22);
}

.flip-box-bg-1 {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.58)),
    url("../../assets/images/optimized/service-image-1.webp");
}

.flip-box-bg-2 {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.58)),
    url("../../assets/images/optimized/service-image-2.webp");
}

.flip-box-bg-3 {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.58)),
    url("../../assets/images/optimized/service-image-3.webp");
}
.flip-box-bg-4 {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.58)),
    url("../../assets/images/optimized/service-image-4.webp");
}
.flip-box-bg-5 {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.58)),
    url("../../assets/images/optimized/service-image-5.webp");
}
.flip-box-bg-6 {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.58)),
    url("../../assets/images/optimized/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(122, 74, 214, 0.92),
      rgba(85, 44, 219, 0.96),
      rgba(108, 60, 205, 0.94)
    ),
    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(98, 56, 196, 0.92),
      rgba(85, 44, 219, 0.96),
      rgba(120, 74, 214, 0.94)
    ),
    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, rgba(115, 63, 181, 0.88), rgba(80, 44, 131, 0.42)),
    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-solutions li a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-solutions li a i {
  color: var(--prime-text);
  font-size: 14px;
  width: 16px;
  text-align: center;
}

.footer-section {
  background:
  linear-gradient( to top,
    rgba(9, 10, 16, 0.96) 0%,
    rgba(9, 10, 16, 0.94) 50%,
    rgba(9, 10, 16, 0.96) 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(9, 10, 16, 0.96) 0%,
    rgba(9, 10, 16, 0.94) 50%,
    rgba(9, 10, 16, 0.96) 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.8;
  }
  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(122, 74, 214, 0.92),
      rgba(85, 44, 219, 0.96),
      rgba(108, 60, 205, 0.94)
    ),
    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(98, 56, 196, 0.92),
      rgba(85, 44, 219, 0.96),
      rgba(120, 74, 214, 0.94)
    ),
    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;
}

/* boton de WhatsApp de los formularios */
.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #ffffff !important;
  border: 1px solid #25d366;
  border-radius: 5px;
  font-size: 18px;
  font-weight: 500;
  transition: 0.3s ease;
}

.btn-wa:hover {
  background: #1da851;
  border-color: #1da851;
  color: #ffffff !important;
}

.btn-wa i {
  font-size: 20px;
  line-height: 1;
}

/* ==========================================================================
   RESPONSIVE — celular y tablet
   Puntos de corte: 1199 (tablet horizontal) / 991 (tablet) / 767 / 575 (celular)
   ========================================================================== */

/* --- Guardas globales --- */
body {
  overflow-x: clip;
}

@media (max-width: 991px) {
  img {
    max-width: 100%;
  }
}

/* --- Tarjetas que giran (about + servicios): version tactil ---------------
   En pantalla tactil no existe :hover, asi que la cara trasera (descripcion
   y boton "ver mas") era inalcanzable. Aqui la tarjeta deja de girar y las
   dos caras se apilan como una sola tarjeta estatica.                        */
@media (max-width: 991px), (hover: none) and (pointer: coarse) {
  .box-item {
    margin-bottom: 24px;
  }

  .flip-box {
    display: flex;
    flex-direction: column;
    perspective: none;
    -webkit-perspective: none;
    transform-style: flat;
    -webkit-transform-style: flat;
    border: 1px solid var(--prime-border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  }

  .flip-box:hover .flip-box-front,
  .flip-box:hover .flip-box-back,
  .flip-box-front,
  .flip-box-back {
    position: static;
    width: 100%;
    min-height: 0;
    transform: none !important;
    -webkit-transform: none !important;
    backface-visibility: visible;
    transition: none;
    background-color: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .flip-box .inner {
    position: static;
    top: auto;
    width: 100%;
    padding: 0;
    transform: none !important;
    -webkit-transform: none !important;
  }

  .flip-box-front .inner {
    padding: 32px 22px 8px;
  }

  .flip-box-back .inner {
    padding: 0 22px 32px;
  }

  /* el titulo viene repetido en las dos caras */
  .flip-box-back .inner h4 {
    display: none;
  }

  /* about: la cara trasera aporta la descripcion */
  .about-card-section .flip-box {
    background-color: var(--card-bg);
  }

  /* servicios: la foto de la cara trasera pasa a ser el fondo de la tarjeta */
  .service-section {
    min-height: 0;
  }

  .service-section .flip-box {
    background-color: rgba(8, 18, 29, 0.82);
    background-size: cover;
    background-position: center;
  }

  /* las reglas de escritorio son mas especificas (.service-section .flip-box-front),
     hay que anularlas con el mismo peso: el fondo pasa a la tarjeta padre */
  .service-section .flip-box-front,
  .service-section .flip-box-back {
    background: transparent !important;
    background-image: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: visible;
  }

  .service-section .flip-box:has(.flip-box-bg-1) {
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.94), rgba(0, 0, 0, 0.78)),
      url("../../assets/images/optimized/service-image-1.webp");
  }
  .service-section .flip-box:has(.flip-box-bg-2) {
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.94), rgba(0, 0, 0, 0.78)),
      url("../../assets/images/optimized/service-image-2.webp");
  }
  .service-section .flip-box:has(.flip-box-bg-3) {
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.94), rgba(0, 0, 0, 0.78)),
      url("../../assets/images/optimized/service-image-3.webp");
  }
  .service-section .flip-box:has(.flip-box-bg-4) {
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.94), rgba(0, 0, 0, 0.78)),
      url("../../assets/images/optimized/service-image-4.webp");
  }
  .service-section .flip-box:has(.flip-box-bg-5) {
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.94), rgba(0, 0, 0, 0.78)),
      url("../../assets/images/optimized/service-image-5.webp");
  }
  .service-section .flip-box:has(.flip-box-bg-6) {
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.94), rgba(0, 0, 0, 0.78)),
      url("../../assets/images/optimized/service-image-6.webp");
  }

  /* sobre la foto oscura, todo el texto va en blanco */
  .service-section .flip-box-front h4,
  .service-section .flip-box-front p {
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
  }

  .service-section .flip-box-front p {
    text-align: center;
  }

  /* la cara frontal ya trae el resumen: en la trasera solo queda el boton */
  .service-section .flip-box-back .inner p {
    display: none;
  }

  .service-section .flip-box-back .inner {
    text-align: center;
  }

  /* --- Features: la descripcion aparecia solo en hover --- */
  .feature-image::after {
    opacity: 1;
  }

  .feature-content {
    opacity: 1;
    transform: none;
  }

  .feature-image {
    height: 400px;
  }

  .feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* --- Equipo: la barra social estaba escondida fuera de la tarjeta --- */
  .social-bar {
    right: 0;
    width: 48px;
    padding: 12px 0;
    gap: 16px;
    border-radius: 0 0 0 12px;
  }
}

/* --- Hero: los slides 2 y 3 anclaban sus paneles con left/width fijos
       (left:590px + width:740px = 1330px), asi que en tablet se salian del
       contenedor y quedaban recortados por el overflow del banner.          */
@media (max-width: 1199px) {
  #banner-slider .slide-2 .hero-layout,
  #banner-slider .slide-3 .hero-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px;
    min-height: 0;
  }

  #banner-slider .slide-2 .hero-panel-left,
  #banner-slider .slide-3 .hero-panel-left,
  #banner-slider .slide-2 .hero-panel-right,
  #banner-slider .slide-3 .hero-panel-right {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    max-width: none;
    padding: 0;
  }

  #banner-slider .hero-service-list-wide,
  #banner-slider .hero-service-list-four,
  #banner-slider .slide-3 .hero-service-list-four,
  #banner-slider .hero-support-copy-wide,
  #banner-slider .hero-support-copy-slide-3 {
    width: 100%;
    max-width: 100%;
  }

  #banner-slider .hero-title-top,
  #banner-slider .hero-title-bottom {
    white-space: normal;
  }

  #banner-slider .slide-2 .hero-title-medium,
  #banner-slider .slide-3 .hero-title-medium {
    font-size: clamp(26px, 3.4vw, 40px);
  }
}

/* ==========================================================================
   Validacion de formularios + popups SweetAlert
   ========================================================================== */

/* Mensaje de error debajo de cada campo */
.campo-error {
  display: block;
  margin-top: 6px;
  color: #dc2626;
  font-size: 13px;
  font-family: var(--primefont);
  animation: campoErrorIn 0.18s ease;
}

@keyframes campoErrorIn {
  from { opacity: 0; transform: translateY(-3px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Borde rojo del campo invalido (refuerza el .is-invalid de Bootstrap) */
.form-control.is-invalid {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 1px rgba(220, 38, 38, 0.15) !important;
}

/* SweetAlert acorde a la marca */
.swal2-popup {
  border-radius: 18px;
  font-family: var(--primefont);
}

.swal2-title {
  color: var(--head-text);
  font-weight: 700;
}

.swal2-html-container {
  color: var(--para-text);
}

.swal2-styled.swal2-confirm {
  border-radius: 10px;
  padding: 10px 26px;
  font-weight: 600;
  letter-spacing: 0.3px;
  box-shadow: none !important;
}

/* --- Tablet --- */
@media (max-width: 991px) {
  /* ritmo vertical */
  .py-6 {
    padding: 72px 0 !important;
  }

  .p-6 {
    padding: 56px 0;
  }

  /* tipografia fluida */
  .fs-9 {
    font-size: clamp(26px, 4.4vw, 40px);
  }

  .fs-10 {
    font-size: clamp(24px, 4vw, 30px);
  }

  h2 {
    font-size: clamp(24px, 3.6vw, 32px);
  }

  h3 {
    font-size: clamp(22px, 3.2vw, 28px);
  }

  /* cabecera y menu lateral */
  header .navbar-brand img {
    height: 62px;
  }

  .navbar-toggler {
    min-width: 46px;
    min-height: 46px;
  }

  .offcanvas {
    width: min(86vw, 360px) !important;
  }

  .offcanvas-body .nav-link {
    padding: 15px 4px;
    border-bottom: 1px solid var(--light-border);
  }

  /* hero: altura razonable y contenido bajo la cabecera */
  #banner-slider,
  .slide-1,
  .slide-2,
  .slide-3 {
    min-height: 640px;
  }

  .slide-1 {
    background-position: 68% center;
  }

  #banner-slider .splide-container {
    max-width: 100%;
    padding-top: 116px !important;
    padding-bottom: 64px !important;
  }

  #banner-slider .hero-panel-right {
    padding-left: 0 !important;
  }

  /* las tarjetas de servicio del hero se vuelven fichas compactas */
  #banner-slider .hero-service-list,
  #banner-slider .hero-service-list-wide,
  #banner-slider .hero-service-list-four {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  #banner-slider .hero-service-card-green,
  #banner-slider .hero-service-card-gold {
    min-height: 0 !important;
    padding: 16px 10px !important;
    border-radius: 14px;
  }

  #banner-slider .hero-service-card-green i,
  #banner-slider .hero-service-item i {
    font-size: 30px !important;
  }

  #banner-slider .hero-service-card-green .svg-inline--fa {
    width: 30px !important;
    height: 30px !important;
  }

  #banner-slider .hero-service-item span {
    font-size: 12px !important;
    max-width: none !important;
  }

  #banner-slider .hero-support-copy {
    font-size: 16px;
    padding-top: 12px !important;
  }

  /* la onda decorativa del banner ocupaba 228px */
  .banner-bg::after {
    height: 120px;
  }

  .about-card-section {
    margin-top: 0;
  }

  /* secciones con altura minima pensada para escritorio */
  .Consultant-section,
  .call-section {
    min-height: 0;
  }

  .team-manager .card-image img {
    min-height: 360px;
  }

  /* Puntos del hero. El banner no tiene autoplay ni flechas visibles, asi que
     en tactil no habia ninguna pista de que los slides 2 y 3 existen.
     main.js activa la paginacion por debajo de 992px. */
  #banner-slider .splide__pagination {
    bottom: 18px;
    padding: 0;
    gap: 4px;
  }

  #banner-slider .splide__pagination__page {
    bottom: 0;
    width: 9px;
    height: 9px;
    margin: 0 4px;
    opacity: 1;
    background: rgba(255, 255, 255, 0.45);
  }

  #banner-slider .splide__pagination__page.is-active {
    background: var(--prime-text);
    transform: scale(1.35);
  }
}

/* --- Celular grande / tablet vertical --- */
@media (max-width: 767px) {
  .py-6 {
    padding: 56px 0 !important;
  }

  .p-6 {
    padding: 44px 0;
  }

  /* banner interior de las paginas secundarias */
  .about-banner {
    min-height: 380px;
  }

  /* collage de la seccion experiencia */
  .experience-imge-container::before {
    display: none;
  }

  .img-block-1,
  .img-block-2 {
    height: 220px;
    width: 78%;
  }

  .img-block-2 {
    margin-top: -60px;
    margin-left: 22%;
  }

  .feature-image {
    height: 360px;
  }

  .team-manager .card-image img {
    min-height: 320px;
  }

  /* los inputs por debajo de 16px hacen que iOS haga zoom al enfocarlos */
  .form-control,
  .form-select,
  textarea.form-control {
    font-size: 16px;
  }

  .testimonial-user {
    margin-top: 28px;
    padding: 12px 0 0;
  }
}

/* --- Celular --- */
@media (max-width: 575px) {
  .py-6 {
    padding: 44px 0 !important;
  }

  .p-6 {
    padding: 36px 0;
  }

  .fs-9 {
    font-size: 28px;
  }

  .fs-10 {
    font-size: 26px;
  }

  header .navbar-brand img {
    height: 52px;
  }

  /* hero */
  #banner-slider,
  .slide-1,
  .slide-2,
  .slide-3 {
    min-height: 560px;
  }

  #banner-slider .splide-container {
    padding-top: 104px !important;
    padding-bottom: 52px !important;
  }

  #banner-slider .hero-title-image {
    font-size: 32px;
  }

  #banner-slider .hero-lead-text {
    font-size: 15px;
  }

  /* fichas del hero: icono y texto en linea, dos columnas */
  #banner-slider .hero-service-list,
  #banner-slider .hero-service-list-wide,
  #banner-slider .hero-service-list-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  #banner-slider .hero-service-item {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    gap: 8px;
  }

  #banner-slider .hero-service-card-green,
  #banner-slider .hero-service-card-gold {
    padding: 11px 12px !important;
    border-radius: 12px;
  }

  #banner-slider .hero-service-card-green i,
  #banner-slider .hero-service-item i {
    font-size: 20px !important;
    flex-shrink: 0;
  }

  #banner-slider .hero-service-card-green .svg-inline--fa {
    width: 20px !important;
    height: 20px !important;
  }

  #banner-slider .hero-service-item span {
    font-size: 11.5px !important;
    line-height: 1.25;
    text-align: left;
    margin: 0 !important;
  }

  #banner-slider .hero-btn-primary,
  #banner-slider .hero-btn-outline,
  #banner-slider .hero-btn-gold,
  #banner-slider .hero-btn-outline-gold {
    height: 50px;
    font-size: 16px;
    min-width: 0;
  }

  #banner-slider .hero-support-copy {
    font-size: 14px;
    text-align: left;
    padding: 10px 0 0 !important;
  }

  /* tarjetas */
  .flip-box-icon {
    width: 104px;
    height: 104px;
  }

  .feature-image {
    height: 320px;
  }

  .project-content {
    left: 12px;
    width: calc(100% - 24px);
    padding: 14px 16px;
  }

  .service-Source-card {
    padding: 24px 18px;
  }

  #backtotop {
    bottom: 18px;
    right: 16px;
    width: 46px !important;
    height: 46px !important;
  }
}