/* Chosen Palette */
:root {
  --color-primary: #2563eb;
  --color-secondary: #10b981;
  --color-accent: #f59e0b;
  --color-bg: #f3f4f6;
  --color-card: #ffffff;
  --color-text: #1f2937;
}

body {
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  overflow-x: hidden;
}

/* Helper Class */
.hidden {
  display: none !important;
}

/* --- SLIDE SECTIONS --- */
.slide-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  /* Espaciado para móviles y navbar */
  padding-top: 100px;
  padding-bottom: 180px;
}

/* --- NEXT SLIDE BUTTON STYLES --- */
.nav-next-btn {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  z-index: 50;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-next-btn:hover {
  transform: translateX(-50%) translateY(5px);
}

.nav-next-btn span {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.nav-next-btn:hover span {
  opacity: 1;
}

.nav-next-btn .icon-circle {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  border-width: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  animation: scroll-down 2s infinite ease-in-out;
}

/* Variant: LIGHT (For Dark Backgrounds) */
.btn-light {
  color: white;
}
.btn-light .icon-circle {
  border-color: rgba(255, 255, 255, 0.5);
  background-color: rgba(0, 0, 0, 0.3);
}
.btn-light:hover .icon-circle {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: white;
}

/* Variant: DARK (For Light Backgrounds) */
.btn-dark {
  color: var(--color-primary);
}
.btn-dark .icon-circle {
  border-color: var(--color-primary);
  background-color: rgba(255, 255, 255, 0.6);
}
.btn-dark:hover .icon-circle {
  background-color: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

@keyframes scroll-down {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
  100% {
    transform: translateY(0);
  }
}

/* --- OTHER STYLES --- */
.chart-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  height: 350px;
  max-height: 400px;
}
.card {
  background-color: var(--color-card);
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease, filter 0.3s ease;
}
.card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  z-index: 1;
}
.parallax::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

.bg-hero {
  background-image: url("https://images.unsplash.com/photo-1550751827-4bd374c3f58b?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80");
}
.bg-solution {
  background-image: url("https://images.unsplash.com/photo-1451187580459-43490279c0fa?ixlib=rb-1.2.1&auto=format&fit=crop&w=1952&q=80");
}
.bg-team {
  background-image: url("https://images.unsplash.com/photo-1522071820081-009f0129c71c?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80");
}

.timeline-item {
  border-left: 4px solid var(--color-primary);
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 3rem;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 6px;
  width: 16px;
  height: 16px;
  background-color: var(--color-secondary);
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 0 0 2px var(--color-secondary);
}

.nav-link {
  cursor: pointer;
  transition: color 0.2s;
  position: relative;
}
.nav-link:hover {
  color: var(--color-primary);
}
.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: var(--color-primary);
  transition: width 0.3s;
}
.nav-link:hover::after {
  width: 100%;
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}
.floating {
  animation: float 4s ease-in-out infinite;
}

#backToTop {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background-color: rgba(30, 41, 59, 0.5);
  backdrop-filter: blur(8px);
  color: white;
  padding: 12px;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  width: 50px;
  height: 50px;
  align-items: center;
  justify-content: center;
}
#backToTop:hover {
  background-color: var(--color-primary);
  transform: translateY(-3px);
}
/* --- PARTÍCULAS ANIME.JS (SECCIÓN EQUIPO) --- */
.team-particle {
  position: absolute;
  border-radius: 50%;
  background-color: rgba(59, 130, 246, 0.6); /* Azul semitransparente */
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.4);
}
