  :root {
      --bg-color: #f4f6f9;
      --text-color: #2d3436;
      --card-bg: #ffffff;
      --nav-bg: rgba(255, 255, 255, 0.95);
  }

  .dark-mode {
      --bg-color: #121212;
      --text-color: #f1f1f1;
      --card-bg: #1e1e1e;
      --nav-bg: rgba(18, 18, 18, 0.95);
  }

  body {
      background-color: var(--bg-color);
      color: var(--text-color);
      transition: background-color 0.3s, color 0.3s;
      font-family: "Roboto", sans-serif;
  }

  h1 {
      font-family: "Roboto", sans-serif;
      font-weight: 800;

  }

  h2,
  h3,
  h4,
  h5,
  h6 {
      font-family: "Roboto", sans-serif;
      font-weight: 800;

  }

  .text-primary {
      color: #7843e9 !important;
  }


  .btn-outline-primary {
      border: solid 1px #7843e9 !important;
      color: #00bcd4 !important;
  }

  .btn-outline-primary:hover {
      background-color: #7843e9 !important;
      color: #f1f1f1 !important;
  }

  .btn-primary {
      background-color: #7843e9 !important;
  }

  .btn-primary:hover {
      background-color: #121212 !important;
  }

  .typewriter-container {
      position: relative;
      font-size: 1.25rem;
      min-height: 1.5em;
  }

  #typewriter {
      display: inline-block;
      vertical-align: top;
      min-width: 1px;

  }

  .cursor {
      display: inline-block;
      width: 2px;
      animation: blink 1s infinite;
      color: currentColor;
  }

  @keyframes blink {

      0%,
      50%,
      100% {
          opacity: 1;
      }

      25%,
      75% {
          opacity: 0;
      }
  }

  .card,
  .form-control,
  .form-select {
      background-color: var(--card-bg);
      color: var(--text-color);
      border: 1px solid #444;
  }

  .form-control,
  .form-select {
      caret-color: var(--text-color);
  }

  .form-control::placeholder {
      color: #aaa;
  }

  .btn-outline-secondary {
      color: var(--text-color);
      border-color: var(--text-color);
  }

  .btn-outline-secondary:hover {
      background-color: var(--text-color);
      color: var(--card-bg);
  }


  .hamburger {
      width: 40px;
      height: 30px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      cursor: pointer;
      background: none;
      border: none;
  }

  .hamburger span {
      display: block;
      width: 100%;
      height: 4px;
      background-color: currentColor;
      color: #f1f1f1;
      transition: all 0.3s ease-in-out;
  }

  /* Animaci贸n al abrir */
  .hamburger.open span:nth-child(1) {
      transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.open span:nth-child(2) {
      opacity: 0;
  }

  .hamburger.open span:nth-child(3) {
      transform: rotate(-45deg) translate(5px, -5px);
  }


  /* efecto de l铆nea rectangular en enlaces de navegacion */
  .nav-link {
      position: relative;
      padding: 0.5rem 1rem !important;
      color: inherit;
      text-decoration: none;
      font-family: "Roboto", sans-serif;
  }

  .nav-link::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 2px;
      background-color: #3e5f8a;
      /* Color primario */
      transition: width 0.3s ease-in-out;
  }

  .nav-link:hover::after {
      width: 50%;

  }

  .nav-link:hover {
      color: #3e5f8a !important;
      font-weight: 500;
  }

  /* Navegaci贸n transparente inicial */
  .navbar {
      background-color: transparent !important;
      transition: background-color 0.4s ease-in-out;
      color: #f1f1f1;
      font-family: "Inter", sans-serif;
  }

  /* Fondo semitransparente al hacer scroll */
  .navbar.scrolled {
      background-color: #121212 !important;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  }


  /* Hero Parallax */
  .parallax-hero {
      background-image: url('https://images.pexels.com/photos/29445973/pexels-photo-29445973.jpeg');
      /* Imagen de fondo */
      background-attachment: fixed;
      /* Efecto parallax */
      background-size: cover;
      background-position: center;
      min-height: 100vh;
      position: relative;
  }

  /* Overlay oscuro para mejorar contraste */
  .parallax-hero::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.904);
      /* Negro semi-transparente */
      z-index: 1;
  }

  /* Contenido encima del overlay */
  .parallax-hero .container {
      position: relative;
      z-index: 2;
      padding-top: 5rem;
      padding-bottom: 5rem;
  }

  /* Efecto de entrada */
  .section-hidden {
      opacity: 0;
      transform: translateY(40px);
      transition: all 0.8s ease-out;
  }

  .section-visible {
      opacity: 1;
      transform: translateY(0);
  }


  /*animaciones card*/
  .service-card {
      transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
      border: none;
      cursor: pointer;
      overflow: hidden;
  }

  .service-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
      background-color: rgba(0, 188, 212, 0.1);
      /* Fondo suave al hacer hover */
  }

  .service-card .icon-box i {
      transition: transform 0.3s ease, color 0.3s ease;
  }

  .service-card:hover .icon-box i {
      transform: scale(1.1) rotate(5deg);
      color: #00bcd4;
      /* Color primario */
  }


  /* Botones flotantes ocultos por defecto */
.social-buttons {
    position: fixed;
    bottom: 20px;
    right: -100px; /* Fuera de pantalla */
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
    opacity: 0;
    transition: right 0.4s ease, opacity 0.4s ease;
}

/* Mostrar los botones cuando tenga la clase 'visible' */
.social-buttons.visible {
    right: 20px;
    opacity: 1;
}

/* Estilo de los botones */
.btn-social {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.2s ease;
}

.btn-social:hover {
    transform: scale(1.1);
}

/* Colores de cada bot贸n */
.btn-social.whatsapp { background-color: #25D366; }
.btn-social.linkedin { background-color: #0077B5; }
.btn-social.github { background-color: #333; }
.btn-social.email { background-color: #DB4437; }


/* ocultar recapcha*/
.grecaptcha-badge {
    visibility: hidden;
    display: none;
}

/***********************/
/* SERVICIOS WEB       */
/***********************/
  /* Hero Parallax */
  .parallax-hero-web {
      background-image: url('https://images.pexels.com/photos/196644/pexels-photo-196644.jpeg');
      /* Imagen de fondo */
      background-attachment: fixed;
      /* Efecto parallax */
      background-size: cover;
      background-position: center;
      min-height: 100vh;
      position: relative;
  }

  /* Overlay oscuro para mejorar contraste */
  .parallax-hero-web::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(45, 44, 110, 0.904);
      /* Negro semi-transparente */
      z-index: 1;
  }

  /* Contenido encima del overlay */
  .parallax-hero-web .container {
      position: relative;
      z-index: 2;
      padding-top: 5rem;
      padding-bottom: 5rem;
  }

  /* Efecto de entrada */
  .section-hidden {
      opacity: 0;
      transform: translateY(40px);
      transition: all 0.8s ease-out;
  }

  .section-visible {
      opacity: 1;
      transform: translateY(0);
  }