/********** Template CSS **********/
:root {
  --primary: #21b191;
  --secondary: #fff;
  --light: #F7FAFF;
  --dark: #1D1D27;
}


** Spinner ** #spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s ease-out, visibility 0s linear .5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity .5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 45px;
  bottom: 45px;
  z-index: 99;
}


/*** Heading ***/
h1,
h2,
h3,
.fw-bold {
  font-weight: 700 !important;
}

h4,
h5,
h6,
.fw-medium {
  font-weight: 500 !important;
}


/*** Button ***/
.btn {
  font-weight: 500;
  transition: .5s;
}

.btn-square {
  width: 38px;
  height: 38px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
  border-radius: 50px;
}


/*** Navbar ***/
.navbar-light .navbar-nav .nav-link {
  position: relative;
  margin-left: 25px;
  padding: 35px 0;
  color: var(--light) !important;
  outline: none;
  transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
  padding: 20px 0;
  color: var(--dark) !important;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
  color: #000000 !important;
}

.navbar-light .navbar-brand h1 {
  color: #FFFFFF;
}

.navbar-light .navbar-brand img {
  max-height: 60px;
  transition: .5s;
}

.sticky-top.navbar-light .navbar-brand img {
  max-height: 45px;
}

@media (max-width: 991.98px) {
  .sticky-top.navbar-light {
    position: relative;
    background: #FFFFFF;
  }

  .navbar-light .navbar-collapse {
    margin-top: 15px;
    border-top: 1px solid #DDDDDD;
  }

  .navbar-light .navbar-nav .nav-link,
  .sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 10px 0;
    margin-left: 0;
    color: var(--dark) !important;
  }

  .navbar-light .navbar-brand h1 {
    color: var(--primary);
  }

  .navbar-light .navbar-brand img {
    max-height: 45px;
  }
}

@media (min-width: 992px) {
  .navbar-light {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    border-bottom: 1px solid rgba(256, 256, 256, .1);
    z-index: 999;
  }

  .sticky-top.navbar-light {
    position: fixed;
    background: #FFFFFF;
  }

  .navbar-light .navbar-nav .nav-link::before {
    position: absolute;
    content: "";
    width: 0;
    height: 2px;
    bottom: -1px;
    left: 50%;
    background: var(--secondary);
    transition: .5s;
  }

  .navbar-light .navbar-nav .nav-link:hover::before,
  .navbar-light .navbar-nav .nav-link.active::before {
    width: 100%;
    left: 0;
  }

  .navbar-light .navbar-nav .nav-link.nav-contact::before {
    display: none;
  }

  .sticky-top.navbar-light .navbar-brand h1 {
    color: var(--primary);
  }
}


/*** Hero Header ***/
.hero-header {
  background:
    url(../img/bg-dot.png),
    url(../img/bg-dot.png),
    url(../img/bg-round.png),
    url(../img/bg-tree.png),
    url(../img/bg-bottom-hero.png);
  background-position:
    10px 10px,
    bottom 190px right 10px,
    left 55% top -1px,
    left 45% bottom -1px,
    center bottom -1px;
  background-repeat: no-repeat;
}


/*** Section Title ***/
.section-title::before {
  position: absolute;
  content: "";
  width: 45px;
  height: 4px;
  bottom: 0;
  left: 0;
  background: var(--dark);
}

.section-title::after {
  position: absolute;
  content: "";
  width: 4px;
  height: 4px;
  bottom: 0;
  left: 50px;
  background: var(--dark);
}

.section-title.text-center::before {
  left: 50%;
  margin-left: -25px;
}

.section-title.text-center::after {
  left: 50%;
  margin-left: 25px;
}

.section-title h6::before,
.section-title h6::after {
  position: absolute;
  content: "";
  width: 10px;
  height: 10px;
  top: 2px;
  left: 0;
  background: rgba(33, 66, 177, .5);
}

.section-title h6::after {
  top: 5px;
  left: 3px;
}


/*** Service ***/
.service-item {
  position: relative;
  height: 350px;
  padding: 30px 25px;
  background: #FFFFFF;
  box-shadow: 0 0 45px rgba(0, 0, 0, .08);
  transition: .5s;
}

.service-item:hover {
  background: var(--primary);
}

.service-item .service-icon {
  margin: 0 auto 20px auto;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light);
  background: url(../img/icon-shape-primary.png) center center no-repeat;
  transition: .5s;
}

.service-item:hover .service-icon {
  color: var(--primary);
  background: url(../img/icon-shape-white.png);
}

.service-item h5,
.service-item p {
  transition: .5s;
}

.service-item:hover h5,
.service-item:hover p {
  color: var(--light);
}

.service-item a.btn {
  position: relative;
  display: flex;
  color: var(--primary);
  transition: .5s;
  z-index: 1;
}

.service-item:hover a.btn {
  color: var(--primary);
}

.service-item a.btn::before {
  position: absolute;
  content: "";
  width: 35px;
  height: 35px;
  top: 0;
  left: 0;
  border-radius: 35px;
  background: #DDDDDD;
  transition: .5s;
  z-index: -1;
}

.service-item:hover a.btn::before {
  width: 100%;
  background: var(--light);
}


/*** Testimonial ***/
.newsletter,
.testimonial {
  background:
    url(../img/bg-top.png),
    url(../img/bg-bottom.png);
  background-position:
    left top,
    right bottom;
  background-repeat: no-repeat;
}

.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item.center .testimonial-item * {
  transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
  background: var(--light) !important;
  border-color: var(--light);
}

.testimonial-carousel .owl-item.center .testimonial-item * {
  color: #888888;
}

.testimonial-carousel .owl-item.center .testimonial-item i {
  color: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item h6 {
  color: var(--dark) !important;
}


/*** Team ***/
.team-item {
  position: relative;
  transition: .5s;
  z-index: 1;
}

.team-item::after {
  position: absolute;
  content: "";
  top: 3rem;
  right: 3rem;
  bottom: 0;
  left: 0;
  border-radius: 10px;
  background: #FFFFFF;
  box-shadow: 0 0 45px rgba(0, 0, 0, .1);
  transition: .5s;
  z-index: -1;
}

.team-item:hover::after {
  background: var(--primary);
}

.team-item h5,
.team-item small {
  transition: .5s;
}

.team-item:hover h5,
.team-item:hover small {
  color: var(--light);
}


/*** Project Portfolio ***/
#portfolio-flters .btn {
  position: relative;
  display: inline-block;
  margin: 10px 4px 0 4px;
  transition: .5s;
}

#portfolio-flters .btn::after {
  position: absolute;
  content: "";
  right: -1px;
  bottom: -1px;
  border-left: 20px solid transparent;
  border-right: 0 solid transparent;
  border-bottom: 50px solid #FFFFFF;
}

#portfolio-flters .btn:hover,
#portfolio-flters .btn.active {
  color: var(--light);
  background: var(--primary);
}

.portfolio-overlay {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 30px;
  top: 0;
  left: 0;
  background: var(--primary);
  transition: .5s;
  z-index: 1;
  opacity: 0;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-item .btn {
  position: absolute;
  width: 90px;
  height: 90px;
  top: 0px;
  right: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url(../img/icon-shape-white.png) center center no-repeat;
  border: none;
  transition: .5s;
  opacity: 0;
  z-index: 2;
}

.portfolio-item:hover .btn {
  opacity: 1;
  transition-delay: .15s;
}


/*** Footer ***/
.footer {
  background: url(../img/footer.png) center center no-repeat;
  background-size: contain;
}

.footer .btn.btn-social {
  margin-right: 5px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light);
  border: 1px solid rgba(256, 256, 256, .1);
  border-radius: 40px;
  transition: .3s;
}

.footer .btn.btn-social:hover {
  color: var(--primary);
}

.footer .btn.btn-link {
  display: block;
  margin-bottom: 10px;
  padding: 0;
  text-align: left;
  color: var(--light);
  font-weight: normal;
  transition: .3s;
}

.footer .btn.btn-link::before {
  position: relative;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 10px;
}

.footer .btn.btn-link:hover {
  letter-spacing: 1px;
  box-shadow: none;
}

.footer .copyright {
  padding: 25px 0;
  font-size: 14px;
  border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
  color: var(--light);
}

.footer .footer-menu a {
  margin-right: 15px;
  padding-right: 15px;
  border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
  margin-right: 0;
  padding-right: 0;
  border-right: none;
}



/* ===========  Loader Cube =============*/

/* From Uiverse.io by 20essentials */
.loader {
  --size: 100px;
  width: var(--size);
  height: var(--size);
  position: absolute;
  top: 35%;
  left: 50%;
  transform-origin: 50% 100%;
  transform-style: preserve-3d;
  perspective: 5000px;
  animation: rotar 10s linear infinite alternate both;

  .side {
    width: var(--size);
    height: var(--size);
    position: absolute;
    background: repeating-linear-gradient(to right,
        transparent 1% 9%,
        #1482a3 9% 10%),
      repeating-linear-gradient(to top, transparent 1% 9%, #1482a3 9% 10%);
    background-color: #0008;
  }

  .behind {
    transform: translateZ(calc(-1 * var(--size)));
  }

  .right {
    transform-origin: 100% 50%;
    transform: rotateY(-90deg);
  }

  .left {
    transform-origin: 0% 50%;
    transform: rotateY(90deg);
  }

  .top {
    transform-origin: 50% 0;
    transform: rotateX(-90deg);
  }

  .bottom {
    transform-origin: 50% 100%;
    transform: rotateX(90deg);
  }
}

@keyframes rotar {
  0% {
    transform: translate(-50%, -50%) rotateX(0deg) rotateY(0deg);
  }

  100% {
    transform: translate(-50%, -50%) rotateX(360deg) rotateY(360deg);
  }
}


.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin: 40px;
}

/* TARJETA DE SERVICIO */
.service-item {
  background: #fff;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* ICONO */
.service-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f0f0;
  border-radius: 50%;
  color: #0d6efd;
  /* color azul bootstrap */
  transition: background 0.3s, color 0.3s;
}

.service-item:hover .service-icon {
  background: #0d6efd;
  color: #fff;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* From Uiverse.io by seoulchik */
.card {
  --primary: #1482a3;
  --primary-hover: #ff6d43;
  --secondary: #21b191;
  --secondary-hover: #2a3fdf;
  --accent: #00e0b0;
  --text: #050505;
  --bg: #ffffff;
  --shadow-color: #000000;
  --pattern-color: #cfcfcf;

  position: relative;
  width: 20em;
  background: var(--bg);
  border: 0.35em solid var(--text);
  border-radius: 0.6em;
  box-shadow:
    0.7em 0.7em 0 var(--shadow-color),
    inset 0 0 0 0.15em rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  overflow: hidden;
  font-family: ui-sans-serif, system-ui, sans-serif;
  transform-origin: center;
  margin: 40px;
}

.card:hover {
  transform: translate(-0.4em, -0.4em) scale(1.02);
  box-shadow: 1em 1em 0 var(--shadow-color);
}

.card:hover .card-pattern-grid,
.card:hover .card-overlay-dots {
  opacity: 1;
}

.card:active {
  transform: translate(0.1em, 0.1em) scale(0.98);
  box-shadow: 0.5em 0.5em 0 var(--shadow-color);
}

.card::before {
  content: "";
  position: absolute;
  top: -1em;
  right: -1em;
  width: 4em;
  height: 4em;
  background: var(--accent);
  transform: rotate(45deg);
  z-index: 1;
}

.card::after {
  content: "★";
  position: absolute;
  top: 0.4em;
  right: 0.4em;
  color: var(--text);
  font-size: 1.2em;
  font-weight: bold;
  z-index: 2;
}

.card-pattern-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right,
      rgba(0, 0, 0, 0.05) 1px,
      transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
  background-size: 0.5em 0.5em;
  pointer-events: none;
  opacity: 0.5;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.card-overlay-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--pattern-color) 1px, transparent 1px);
  background-size: 1em 1em;
  background-position: -0.5em -0.5em;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.bold-pattern {
  position: absolute;
  top: 0;
  right: 0;
  width: 6em;
  height: 6em;
  opacity: 0.15;
  pointer-events: none;
  z-index: 1;
}

.card-title-area {
  position: relative;
  padding: 1.4em;
  background: var(--primary);
  color: var(--bg);
  font-weight: 800;
  font-size: 1.2em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 0.35em solid var(--text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 2;
  overflow: hidden;
}

.card-title-area::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(45deg,
      rgba(0, 0, 0, 0.1),
      rgba(0, 0, 0, 0.1) 0.5em,
      transparent 0.5em,
      transparent 1em);
  pointer-events: none;
  opacity: 0.3;
}

.card-tag {
  background: var(--bg);
  color: var(--text);
  font-size: 0.6em;
  font-weight: 800;
  padding: 0.4em 0.8em;
  border: 0.15em solid var(--text);
  border-radius: 0.3em;
  box-shadow: 0.2em 0.2em 0 var(--shadow-color);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transform: rotate(3deg);
  transition: all 0.3s ease;
}

.card:hover .card-tag {
  transform: rotate(-2deg) scale(1.1);
  box-shadow: 0.25em 0.25em 0 var(--shadow-color);
}

.card-body {
  position: relative;
  padding: 1.5em;
  z-index: 2;
}

.card-description {
  margin-bottom: 1.5em;
  color: var(--text);
  font-size: 0.95em;
  line-height: 1.4;
  font-weight: 500;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1em;
  margin-bottom: 1.5em;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.6em;
  transition: transform 0.2s ease;
}

.feature-item:hover {
  transform: translateX(0.3em);
}

.feature-icon {
  width: 1.4em;
  height: 1.4em;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary);
  border: 0.12em solid var(--text);
  border-radius: 0.3em;
  box-shadow: 0.2em 0.2em 0 rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}

.feature-item:hover .feature-icon {
  background: var(--secondary-hover);
  transform: rotate(-5deg);
}

.feature-icon svg {
  width: 0.9em;
  height: 0.9em;
  fill: var(--bg);
}

.feature-text {
  font-size: 0.85em;
  font-weight: 600;
  color: var(--text);
}

.card-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5em;
  padding-top: 1.2em;
  border-top: 0.15em dashed rgba(0, 0, 0, 0.15);
  position: relative;
}

.card-actions::before {
  content: "✂";
  position: absolute;
  top: -0.8em;
  left: 50%;
  transform: translateX(-50%) rotate(90deg);
  background: var(--bg);
  padding: 0 0.5em;
  font-size: 1em;
  color: rgba(0, 0, 0, 0.4);
}

.price {
  position: relative;
  font-size: 1.8em;
  font-weight: 800;
  color: var(--text);
  background: var(--bg);
}

.price::before {
  content: "";
  position: absolute;
  bottom: 0.15em;
  left: 0;
  width: 100%;
  height: 0.2em;
  background: var(--accent);
  z-index: -1;
  opacity: 0.5;
}

.price-currency {
  font-size: 0.6em;
  font-weight: 700;
  vertical-align: top;
  margin-right: 0.1em;
}

.price-period {
  display: block;
  font-size: 0.4em;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.6);
  margin-top: 0.2em;
}

.card-button {
  position: relative;
  background: var(--secondary);
  color: var(--bg);
  font-size: 0.9em;
  font-weight: 700;
  padding: 0.7em 1.2em;
  border: 0.2em solid var(--text);
  border-radius: 0.4em;
  box-shadow: 0.3em 0.3em 0 var(--shadow-color);
  cursor: pointer;
  transition: all 0.2s ease;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.card-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(255, 255, 255, 0.2) 50%,
      transparent 100%);
  transition: left 0.6s ease;
}

.card-button:hover {
  background: var(--secondary-hover);
  transform: translate(-0.1em, -0.1em);
  box-shadow: 0.4em 0.4em 0 var(--shadow-color);
}

.card-button:hover::before {
  left: 100%;
}

.card-button:active {
  transform: translate(0.1em, 0.1em);
  box-shadow: 0.15em 0.15em 0 var(--shadow-color);
}

.dots-pattern {
  position: absolute;
  bottom: 2em;
  left: -2em;
  width: 8em;
  height: 4em;
  opacity: 0.3;
  transform: rotate(-10deg);
  pointer-events: none;
  z-index: 1;
}

.accent-shape {
  position: absolute;
  width: 2.5em;
  height: 2.5em;
  background: var(--secondary);
  border: 0.15em solid var(--text);
  border-radius: 0.3em;
  transform: rotate(45deg);
  bottom: -1.2em;
  right: 2em;
  z-index: 0;
  transition: transform 0.3s ease;
}

.card:hover .accent-shape {
  transform: rotate(55deg) scale(1.1);
}

.stamp {
  position: absolute;
  bottom: 1.5em;
  left: 1.5em;
  width: 4em;
  height: 4em;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0.15em solid rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  transform: rotate(-15deg);
  opacity: 0.2;
  z-index: 1;
}

.stamp-text {
  font-size: 0.6em;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.corner-slice {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 1.5em;
  height: 1.5em;
  background: var(--bg);
  border-right: 0.25em solid var(--text);
  border-top: 0.25em solid var(--text);
  border-radius: 0 0.5em 0 0;
  z-index: 1;
}


.Container-Res {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin: 20px;
  padding: 20px;
}


@media (width <=768px) {
  .Container-Res {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (width >=368px) {}