body {
  font-family: "Outfit", sans-serif;
  overflow-x: hidden;
}

/* Animación de carga */
#preloader {
  position: fixed;
  /* inset: 0; */
  background-color: #fff;
  display: flex;
  width: 100vw;
  height: 100vh;
  justify-content: center;
  align-items: center;
  z-index: 100;
  transition: all 1s linear;
  .loader {
    width: 48px;
    height: 48px;
    border: 5px solid #fff;
    border-bottom-color: #0891b2;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
  }
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Cursor personalizado */
.custom-cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: rgba(8, 145, 178, 0.5);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, background-color 0.3s;
  mix-blend-mode: difference;
}

.custom-cursor-follower {
  position: fixed;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(8, 145, 178, 0.3);
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.5s, height 0.5s, border-color 0.5s;
}

/* Efecto de glassmorphism */
.glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-dark {
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Efecto de neón */
.neon-text {
  text-shadow: 0 0 5px rgba(34, 211, 238, 0.7), 0 0 10px rgba(34, 211, 238, 0.5),
    0 0 15px rgba(34, 211, 238, 0.3);
}

.neon-box {
  box-shadow: 0 0 5px rgba(34, 211, 238, 0.7), 0 0 10px rgba(34, 211, 238, 0.5),
    0 0 15px rgba(34, 211, 238, 0.3);
}

/* Formas decorativas */
.shape {
  position: absolute;
  z-index: -1;
  opacity: 0.5;
}

.shape-1 {
  top: 10%;
  left: 5%;
  width: 300px;
  height: 300px;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  background: linear-gradient(45deg, #0891b2, #4f46e5);
  animation: morph 15s linear infinite alternate;
}

.shape-2 {
  bottom: 10%;
  right: 5%;
  width: 250px;
  height: 250px;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  background: linear-gradient(45deg, #06b6d4, #a855f7);
  animation: morph 12s linear infinite alternate;
}

@keyframes morph {
  0% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }

  25% {
    border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
  }

  50% {
    border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
  }

  75% {
    border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
  }

  100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
}

/* Efecto de parallax */
.parallax {
  position: relative;
  overflow: hidden;
}

.parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  background-size: cover;
  background-position: center;
  z-index: -1;
  transform: translateZ(-1px) scale(2);
}

/* Animación de texto */
.text-gradient {
  background: linear-gradient(to right, #0891b2, #4f46e5, #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% auto;
  animation: textShine 5s linear infinite;
}

@keyframes textShine {
  to {
    background-position: 200% center;
  }
}

/* Efecto de partículas */
#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
}

/* Efecto de desplazamiento de texto */
.marquee {
  overflow: hidden;
  white-space: nowrap;
}

.marquee-content {
  display: inline-block;
  animation: marquee 20s linear infinite;
}

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

  100% {
    transform: translateX(-50%);
  }
}

/* Efecto de hover para tarjetas */
.hover-card {
  transition: all 0.3s ease;
}

.hover-card:hover {
  transform: translateY(-10px) scale(1.02);
}

/* Efecto de hover para botones */
.btn-hover-effect {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-hover-effect:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.2);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s ease;
  z-index: -1;
}

.btn-hover-effect:hover:after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Efecto de scroll */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Efecto de tilt 3D */
.tilt {
  transform-style: preserve-3d;
  transform: perspective(1000px);
}

.tilt-inner {
  transform: translateZ(20px);
}

/* Efecto de ondas */
.wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.wave svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 150px;
}

.wave .shape-fill {
  fill: #ffffff;
}

/* Breadcrumb */
.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  padding: 0 0.5rem;
  color: #9ca3af;
}

/* Form inputs */
.form-input {
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.form-input:focus {
  border-color: #0891b2;
  box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.2);
}

/* Feature card */
.feature-card {
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
}

/* Tech stack */
.tech-icon {
  transition: all 0.3s ease;
}

.tech-icon:hover {
  transform: scale(1.1);
}

/* Progress bar */
.progress-bar {
  height: 8px;
  background-color: #e5e7eb;
  border-radius: 9999px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  border-radius: 9999px;
  transition: width 1.5s ease;
}

/* Pricing card */
.pricing-card {
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.pricing-card.featured {
  transform: scale(1.05);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-10px);
}

/* Job card */
.job-card {
  transition: all 0.3s ease;
}

.job-card:hover {
  transform: translateY(-10px);
}

/* Benefit card */
.benefit-card {
  transition: all 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-10px);
}

/* Accordion */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-content.active {
  max-height: 500px;
}

/* Contact info card */
.contact-card {
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
}

/* Map container */
.map-container {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Cookie card */
.cookie-card {
  transition: all 0.3s ease;
}

.cookie-card:hover {
  transform: translateY(-10px);
}

/* API card */
.api-card {
  transition: all 0.3s ease;
}

.api-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Code block */
.code-block {
  font-family: "Courier New", monospace;
  background-color: #1e293b;
  color: #e2e8f0;
  border-radius: 0.5rem;
  overflow-x: auto;
}

.code-block .token-line {
  line-height: 1.5;
}

.code-block .token-comment {
  color: #94a3b8;
}

.code-block .token-string {
  color: #a5d6ff;
}

.code-block .token-keyword {
  color: #ff7b72;
}

/* Database card */
.db-card {
  transition: all 0.3s ease;
}

.db-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Design card */
.design-card {
  transition: all 0.3s ease;
}

.design-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Portfolio item */
.portfolio-item {
  overflow: hidden;
  position: relative;
}

.portfolio-item img {
  transition: transform 0.5s ease;
}

.portfolio-item:hover img {
  transform: scale(1.05);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.5s ease;
}

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

/* Platform card */
.platform-card {
  transition: all 0.3s ease;
}

.platform-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Stats counter */
.stats-counter {
  transition: all 0.5s ease;
}

/* Team member card */
.team-card {
  transition: all 0.3s ease;
  overflow: hidden;
}

.team-card:hover {
  transform: translateY(-10px);
}

.team-card .social-links {
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.team-card:hover .social-links {
  transform: translateY(0);
}

/* Department card */
.department-card {
  transition: all 0.3s ease;
}

.department-card:hover {
  transform: translateY(-10px);
}

/* Testimonial card */
.testimonial-card {
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-10px);
}

.slick-prev:before,
.slick-next:before {
  color: #b75a9b;
}

/* Culture card */
.culture-card {
  transition: all 0.3s ease;
}

.culture-card:hover {
  transform: translateY(-10px);
}

/* Privacy card */
.privacy-card {
  transition: all 0.3s ease;
}

.privacy-card:hover {
  transform: translateY(-10px);
}

/* Project card */
.project-card {
  transition: all 0.5s ease;
  overflow: hidden;
}

.project-card:hover .project-image {
  transform: scale(1.05);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-image {
  transition: all 0.5s ease;
}

.project-overlay {
  background: rgba(15, 23, 42, 0.8);
  opacity: 0;
  transition: all 0.5s ease;
}

/* Filter buttons */
.filter-btn {
  transition: all 0.3s ease;
}

.filter-btn.active {
  background: linear-gradient(to right, #0891b2, #4f46e5);
  color: white;
}

/* Value card */
.value-card {
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-10px);
}

/* Timeline */
.timeline-container {
  position: relative;
}

.timeline-container::after {
  content: "";
  position: absolute;
  width: 6px;
  background: linear-gradient(to bottom, #2eb19a, #2e7ad1, #b75a9b);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  width: 50%;
}

.timeline-item::after {
  content: "";
  position: absolute;
  width: 25px;
  height: 25px;
  right: -12px;
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

.timeline-left {
  left: 0;
}

.timeline-right {
  left: 50%;
}

.timeline-left::after {
  right: -12px;
}

.timeline-right::after {
  left: -12px;
}

@media screen and (max-width: 768px) {
  .timeline-container::after {
    left: 31px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

  .timeline-left::after,
  .timeline-right::after {
    left: 19px;
  }

  .timeline-right {
    left: 0;
  }
}

/* Stat card */
.stat-card {
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-10px);
}

/* Testimonial card */
.testimonial-card {
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-10px);
}

/* timeline */
.timeline-container::after {
  z-index: -1;
}

.timeline-item.item1::after {
  background-color: rgba(46, 177, 154, 1);
}

.timeline-item.item2::after {
  background-color: rgba(46, 122, 209, 1);
  z-index: 10;
}

.timeline-item.item3::after {
  background-color: rgba(183, 90, 155, 1);
  z-index: 10;
}

.timeline-item.item4::after {
  background-color: rgba(46, 122, 209, 1);
  z-index: 10;
}

.timeline-item.item5::after {
  background-color: rgba(75, 185, 91, 1);
  z-index: 10;
}

/* Tech card */
.tech-card {
  transition: all 0.3s ease;
  overflow: hidden;
}

.tech-card:hover .tech-icon {
  transform: scale(1.1);
}

.tech-icon {
  transition: all 0.5s ease;
}

/* Table of contents */
.toc-link {
  transition: all 0.3s ease;
}

.toc-link:hover {
  transform: translateX(5px);
}

/* Legal section */
.legal-section {
  transition: all 0.3s ease;
}

.legal-section:hover {
  transform: translateY(-5px);
}

/* ---- whatsapp ----*/
@keyframes whatsapp_animation {
  0% {
    opacity: 0;
    right: 0;
    bottom: 4%;
  }
  100% {
    opacity: 1;
    right: 4%;
    bottom: 4%;
  }
}

@keyframes whatsapp_rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-360deg);
  }
}

.w-flotante {
  opacity: 0;
  background-color: green;
  width: 4rem;
  height: 4rem;
  position: fixed;
  bottom: 4%;
  right: 4%;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  /* animation */
  animation-name: whatsapp_animation;
  animation-duration: 2s;
  animation-delay: 2s;
  animation-fill-mode: forwards;

  &:hover {
    background-color: #2879ff;
  }

  .whatsapp {
    color: white;
    font-size: 2.5rem;
    /* animation */
    animation-name: whatsapp_rotation;
    animation-duration: 2s;
    animation-delay: 2s;
    animation-fill-mode: forwards;
  }
}
