/* Estilos Generales */
:root {
    --primary-color: #90caf9; /* Azul claro */
    --secondary-color: #64b5f6; /* Azul medio */
    --dark-bg: #121212; /* Fondo muy oscuro */
    --medium-dark-bg: #1e1e1e; /* Fondo oscuro medio */
    --light-text: #e0e0e0; /* Texto claro */
    --dark-text: #121212; /* Texto oscuro */
    --accent-color: #2ecc71; /* Verde acento */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--dark-bg);
    color: var(--light-text);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Barra de Navegación */
.navbar {
    background-color: var(--medium-dark-bg);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-logo:hover {
    color: var(--secondary-color);
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.nav-menu li {
    margin-left: 2.5rem;
}

.nav-menu a {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: url('images/hero-bg.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: flex; /* Usar flexbox para el contenedor */
    flex-direction: column; /* Organizar elementos en columna */
    justify-content: space-between; /* Distribuir espacio entre elementos */
    height: 100%; /* Asegurar que el contenedor ocupe toda la altura */
    padding-top: 100px; /* Espacio para la barra de navegación */
    padding-bottom: 50px; /* Espacio para el indicador de scroll */
}

.hero-text {
    flex-grow: 1; /* Permitir que el texto ocupe el espacio disponible */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centrar el texto verticalmente */
    align-items: center; /* Centrar el texto horizontalmente */
}

.hero-text h1 {
    font-size: 4.5rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: var(--light-text);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 120px; /* Subido otro 20% */
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    z-index: 2;
}

.scroll-indicator i {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.scroll-indicator.hidden {
    opacity: 0;
    transition: opacity 0.5s ease;
}

#glitch-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Secciones */
section {
    padding: 6rem 0;
    background-color: var(--dark-bg);
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 4rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Sobre Mí */
.about {
    background-color: var(--medium-dark-bg);
}

.about-content {
    display: flex;
    flex-direction: row; /* Por defecto, en fila (dos columnas) */
    align-items: center;
    gap: 3rem;
    max-width: 1000px; /* Limitar el ancho del contenido */
    margin: 0 auto; /* Centrar el contenedor */
    text-align: left; /* Alinear el texto a la izquierda por defecto */
}

.about-image {
    flex: 1; /* La imagen ocupa una parte del espacio */
    display: flex;
    justify-content: center; /* Centrar la imagen horizontalmente */
    align-items: center; /* Centrar la imagen verticalmente */
}

.about-image img {
    max-width: 250px;
    border-radius: 50%;
    border: 5px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(144, 202, 249, 0.4);
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

.about-text.animate-on-scroll {
    flex: 2; /* El texto ocupa más espacio */
}

.about-text h2 {
    text-align: left; /* Asegurar que el título se alinee a la izquierda */
    margin-bottom: 1rem;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-align: justify;
}

.cv-download-section {
    text-align: left; /* Alinear el botón de CV a la izquierda */
    margin-top: 2rem;
}

/* Portafolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.portfolio-item {
    background-color: var(--medium-dark-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex; /* Make it a flex container */
    flex-direction: column; /* Stack children vertically */
}

.portfolio-caption {
    padding: 1.8rem; /* Add padding similar to .portfolio-info */
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Allow it to grow and push the button down */
    height: 100%;
}

.portfolio-caption .btn {
    margin-top: auto; /* Push the button to the bottom */
}

.portfolio-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.7);
}

.portfolio-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.portfolio-info {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 1rem; /* Espacio entre los botones */
    flex-grow: 1; /* Allow portfolio-info to grow and push buttons down */
}

.portfolio-info p {
    text-align: justify;
}

.portfolio-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem; /* Margen entre botones */
    margin-top: auto; /* Alinea el grupo de botones abajo */
}

/* Educación */
.education-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.education-timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
}

.timeline-item {
    padding: 1rem 2rem;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 4rem;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 4rem;
}

/* .timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--accent-color);
    border: 4px solid var(--dark-bg);
    top: 1.5rem;
    border-radius: 50%;
    z-index: 1;
} */

.timeline-item:nth-child(odd)::after {
    right: -10px;
}

.timeline-item:nth-child(even)::after {
    left: -10px;
}

.timeline-content {
    background-color: var(--medium-dark-bg);
    padding: 1.8rem;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2; /* Asegura que el contenido esté sobre la línea de tiempo */
}

.timeline-content h3 {
    margin-top: 0;
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    font-size: 0.95rem;
}

/* Habilidades */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.skill-category {
    background-color: var(--medium-dark-bg);
    padding: 2.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-10px);
}

.skill-category h3 {
    margin-top: 0;
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.skills-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.skills-icons img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.skills-icons img:hover {
    transform: scale(1.1);
}

.skills-text {
    text-align: left;
    padding: 0 1rem;
}

.skills-text p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.skills-progress {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.progress-item p {
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: var(--light-text);
    text-align: left;
}

.progress-bar-container {
    background-color: #333;
    border-radius: 10px;
    height: 20px;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    background-color: var(--primary-color);
    height: 100%;
    width: 0%; /* Initial width for animation */
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    transition: width 1.5s ease-out; /* Animation for width */
}

.progress-bar span {
    color: var(--dark-text);
    font-weight: bold;
    font-size: 0.8rem;
    margin-right: 10px;
    opacity: 0; /* Hidden initially */
    transition: opacity 0.5s ease 1s; /* Delay opacity transition */
}

.progress-bar.animated span {
    opacity: 1;
}


/* Contacto */
.contact {
    background-color: var(--medium-dark-bg);
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: center;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.contact-info i {
    margin-right: 10px;
    color: var(--primary-color);
}

.contact-info .fa-whatsapp {
    color: #25d366;
}

.contact-form {
    flex: 2;
    min-width: 300px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1.2rem;
    border: 1px solid #333;
    border-radius: 8px;
    background-color: #2c2c2c;
    color: var(--light-text);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(144, 202, 249, 0.3);
    outline: none;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background-color: var(--medium-dark-bg);
    padding: 2.5rem 0;
    text-align: center;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.6);
}

.footer p {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #b0b0b0;
}

.social-links a {
    color: var(--light-text);
    font-size: 1.8rem;
    margin: 0 1rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.social-links a[href*="wa.me"]:hover {
    color: #25d366; /* WhatsApp Green */
}

/* Animaciones */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Botones */
.btn {
    display: block;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background-color: var(--accent-color); /* Verde */
    color: var(--dark-text);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
    background-color: #1e8449; /* Verde más oscuro para el hover */
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent-color); /* Verde */
    border: 2px solid var(--accent-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.btn-secondary:hover {
    background-color: var(--accent-color); /* Verde */
    color: var(--dark-text);
    transform: translateY(-7px) scale(1.03);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.7);
}

.btn-danger {
    background-color: #e74c3c; /* Rojo */
    color: var(--dark-text);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.btn-danger:hover {
    background-color: #c0392b; /* Rojo más oscuro para el hover */
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.btn-info {
    background-color: var(--primary-color); /* Azul */
    color: var(--dark-text);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.btn-info:hover {
    background-color: var(--secondary-color); /* Azul más oscuro para el hover */
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.btn-purple {
    background-color: #8e44ad; /* Morado */
    color: var(--dark-text);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.btn-purple:hover {
    background-color: #732d91; /* Morado más oscuro para el hover */
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

/* Media Queries para Responsividad */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
    }

    .nav-menu {
        margin-top: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-menu li {
        margin: 0.5rem 1rem;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .hero-text h2 {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .about-content {
        flex-direction: column;
    }

    .about-image {
        order: -1; /* Mueve la imagen arriba en móviles */
    }

    .education-timeline::after {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 40px;
        padding-right: 1rem;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-item::after {
        left: 10px;
    }

    .about-text img {
        max-width: 100%;
        height: auto;
    }

    .contact-content {
        flex-direction: column;
    }
}



.button-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

@media (min-width: 768px) {
    .button-group {
        flex-direction: row;
        justify-content: center;
    }
}

/* Estilo específico para el botón de verificación de Linux */
#education .btn-danger {
    background-color: #e74c3c !important; /* Rojo */
    color: var(--dark-text) !important;
}

#education .btn-danger:hover {
    background-color: #c0392b !important; /* Rojo más oscuro */
}

#education .btn-info {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-shadow: none;
    transform: none;
}

#education .btn-info:hover {
    background-color: white;
    color: black;
    transform: none;
    box-shadow: none;
}

#education .btn-info::before {
    display: none;
}
.bubble-menu {
  left: 0;
  right: 0;
  top: 2em;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  padding: 0 2em;
  pointer-events: none;
  z-index: 99;
}

.bubble-menu.fixed {
  position: fixed;
}

.bubble-menu.absolute {
  position: absolute;
}

.bubble-menu .bubble {
  --bubble-size: 48px;
  width: var(--bubble-size);
  height: var(--bubble-size);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}

.bubble-menu .logo-bubble,
.bubble-menu .toggle-bubble {
  will-change: transform;
}

.bubble-menu .logo-bubble {
  width: auto;
  min-height: var(--bubble-size);
  height: var(--bubble-size);
  padding: 0 16px;
  border-radius: calc(var(--bubble-size) / 2);
  gap: 8px;
}

.bubble-menu .toggle-bubble {
  width: var(--bubble-size);
  height: var(--bubble-size);
}

.bubble-menu .bubble-logo {
  max-height: 60%;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.bubble-menu .logo-content {
  --logo-max-height: 60%;
  --logo-max-width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 100%;
}

.bubble-menu .logo-content > .bubble-logo,
.bubble-menu .logo-content > img,
.bubble-menu .logo-content > svg {
  max-height: var(--logo-max-height);
  max-width: var(--logo-max-width);
}

.bubble-menu .menu-btn {
  border: none;
  background: #fff;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.bubble-menu .menu-line {
  width: 26px;
  height: 2px;
  background: #111;
  border-radius: 2px;
  display: block;
  margin: 0 auto;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
  transform-origin: center;
}

.bubble-menu .menu-line + .menu-line {
  margin-top: 6px;
}

.bubble-menu .menu-btn.open .menu-line:first-child {
  transform: translateY(4px) rotate(45deg);
}

.bubble-menu .menu-btn.open .menu-line:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

 @media (min-width: 768px) {
  .bubble-menu .bubble {
    --bubble-size: 56px;
  }

  .bubble-menu .logo-bubble {
    padding: 0 16px;
  }
}

.bubble-menu-items {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 98;
}

.bubble-menu-items.fixed {
  position: fixed;
}

.bubble-menu-items.absolute {
  position: absolute;
}

.bubble-menu-items .pill-list {
  list-style: none;
  margin: 0;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  row-gap: 4px;
  width: 100%;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
  pointer-events: auto;
  justify-content: stretch;
}

.bubble-menu-items .pill-list .pill-spacer {
  width: 100%;
  height: 0;
  pointer-events: none;
}

.bubble-menu-items .pill-list .pill-col {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex: 0 0 calc(100% / 3);
  box-sizing: border-box;
}

.bubble-menu-items .pill-list .pill-col:nth-child(4):nth-last-child(2) {
  margin-left: calc(100% / 6);
}

.bubble-menu-items .pill-list .pill-col:nth-child(4):last-child {
  margin-left: calc(100% / 3);
}

.bubble-menu-items .pill-link {
  --pill-bg: #ffffff;
  --pill-color: #111;
  --pill-border: rgba(0, 0, 0, 0.12);
  --item-rot: 0deg;
  --pill-min-h: 160px;
  --hover-bg: #f3f4f6;
  --hover-color: #111;
  width: 100%;
  min-height: var(--pill-min-h);
  padding: clamp(1.5rem, 3vw, 8rem) 0;
  font-size: clamp(1.5rem, 4vw, 4rem);
  font-weight: 400;
  line-height: 0;
  border-radius: 999px;
  background: var(--pill-bg);
  color: var(--pill-color);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition:
    background 0.3s ease,
    color 0.3s ease;
  will-change: transform;
  box-sizing: border-box;
  white-space: nowrap;
  overflow: hidden;
  height: 10px;
}

 @media (min-width: 900px) {
  .bubble-menu-items .pill-link {
    transform: rotate(var(--item-rot));
  }

  .bubble-menu-items .pill-link:hover {
    transform: rotate(var(--item-rot)) scale(1.06);
    background: var(--hover-bg);
    color: var(--hover-color);
  }

  .bubble-menu-items .pill-link:active {
    transform: rotate(var(--item-rot)) scale(0.94);
  }
}

#stepper-back,
#stepper-next {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: opacity 0.3s ease;
    box-shadow: none;
    opacity: 0.7;
}

#stepper-back:hover,
#stepper-next:hover {
    background: none;
    transform: none;
    box-shadow: none;
    color: var(--primary-color);
    opacity: 1;
}

#stepper-back:disabled {
    opacity: 0.3;
    cursor: default;
    color: #555;
}

/* Stepper Component */
.stepper-container {
    background-color: var(--medium-dark-bg);
    border-radius: 10px;
    padding: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.stepper-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.step-indicator {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #333;
    color: var(--light-text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.step-indicator.active {
    background-color: var(--primary-color);
    color: var(--dark-text);
}

.step-connector {
    flex-grow: 1;
    height: 2px;
    background-color: #333;
}

.stepper-content {
    position: relative;
}

.step-content-item {
    display: none;
}

.step-content-item.active {
    display: block;
}

.stepper-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.bubble-menu-items .pill-link .pill-label {
  display: inline-block;
  will-change: transform, opacity;
  height: 1.2em;
  line-height: 1.2;
}

 @media (max-width: 899px) {
  .bubble-menu-items {
    padding-top: 0px;
    align-items: flex-start;
    padding-top: 120px;
  }

  .bubble-menu-items .pill-list {
    row-gap: 16px;
  }

  .bubble-menu-items .pill-list .pill-col {
    flex: 0 0 100%;
    margin-left: 0 !important;
    overflow: visible;
  }

  .bubble-menu-items .pill-link {
    font-size: clamp(1.2rem, 3vw, 4rem);
    padding: clamp(1rem, 2vw, 2rem) 0;
    min-height: 80px;
  }

  .bubble-menu-items .pill-link:hover {
    transform: scale(1.06);
    background: var(--hover-bg);
    color: var(--hover-color);
  }

  .bubble-menu-items .pill-link:active {
    transform: scale(0.94);
  }
}
