
/* fondo del encabezado del index*/

.headerImg{
    background-image: url('../../../fustibus/assets/img/Desktop/header_background.webp');
    position: relative;
    overflow: hidden;
    /* background-color: #FEFEFE; */
}

/* Animaciones para los circuitos */
.headerImg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(0, 188, 212, 0.4) 1px, transparent 1px),
        radial-gradient(circle at 40% 60%, rgba(76, 175, 80, 0.4) 1px, transparent 1px),
        radial-gradient(circle at 80% 20%, rgba(255, 193, 7, 0.4) 1px, transparent 1px),
        radial-gradient(circle at 60% 80%, rgba(33, 150, 243, 0.4) 1px, transparent 1px),
        radial-gradient(circle at 10% 70%, rgba(156, 39, 176, 0.4) 1px, transparent 1px);
    background-size: 200px 200px, 150px 150px, 180px 180px, 220px 220px, 160px 160px;
    animation: circuitFlow 8s ease-in-out infinite;
    pointer-events: none;
}

.headerImg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(45deg, transparent 48%, rgba(0, 255, 255, 0.1) 49%, rgba(0, 255, 255, 0.1) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(0, 255, 255, 0.1) 49%, rgba(0, 255, 255, 0.1) 51%, transparent 52%);
    background-size: 100px 100px, 120px 120px;
    animation: circuitPulse 4s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes circuitFlow {
    0% {
        background-position: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
        opacity: 0.3;
    }
    25% {
        background-position: 25% 25%, -25% 25%, 25% -25%, -25% -25%, 25% 25%;
        opacity: 0.6;
    }
    50% {
        background-position: 50% 50%, -50% 50%, 50% -50%, -50% -50%, 50% 50%;
        opacity: 0.8;
    }
    75% {
        background-position: 75% 75%, -75% 75%, 75% -75%, -75% -75%, 75% 75%;
        opacity: 0.6;
    }
    100% {
        background-position: 100% 100%, -100% 100%, 100% -100%, -100% -100%, 100% 100%;
        opacity: 0.3;
    }
}

@keyframes circuitPulse {
    0% {
        opacity: 0.1;
        transform: scale(1);
    }
    50% {
        opacity: 0.3;
        transform: scale(1.02);
    }
    100% {
        opacity: 0.1;
        transform: scale(1);
    }
}

  /* fondo sección hero del index*/

  .heroImg{
    background-image:url('../../../fustibus/assets/img/Desktop/hero_background.webp');
    position: relative;
    overflow: hidden;
  }

  /* Animaciones para heroImg */
  .heroImg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 40%, rgba(255, 87, 34, 0.3) 2px, transparent 2px),
        radial-gradient(circle at 70% 30%, rgba(76, 175, 80, 0.3) 2px, transparent 2px),
        radial-gradient(circle at 50% 70%, rgba(33, 150, 243, 0.3) 2px, transparent 2px);
    background-size: 180px 180px, 220px 220px, 160px 160px;
    animation: heroCircuitFlow 6s ease-in-out infinite;
    pointer-events: none;
  }

  @keyframes heroCircuitFlow {
    0%, 100% {
        background-position: 0% 0%, 100% 0%, 50% 100%;
        opacity: 0.4;
    }
    50% {
        background-position: 100% 100%, 0% 100%, 50% 0%;
        opacity: 0.7;
    }
  }

  /*fondo sescción del index*/

  .sectionImg {
    background-image: url('../../../fustibus/assets/img/Desktop/section_background.webp');
    position: relative;
    overflow: hidden;
  }

  .section4Img {
    background-image:url('../../../fustibus/assets/img/Desktop/section4_background.webp');
  }

  .section5Img {
    background-image:url('../../../fustibus/assets/img/Desktop/section5_background.webp');
  }

  /* fondo de header de página Contacto*/

  .mainContent{
    background-image: url('../../../fustibus/assets/img/Contacto/fondo.webp');
  }

  /* fondo del header de página Quiénes somos*/

  .headerWhoWeAre{
    background-image: url('../../../fustibus/assets/img/Quienes_somos/header.webp');
  }

  /*fondo secciones de promo servicios página Quiénes somos*/

  .sectionBackBlueImg{
    background-image: url('../../../fustibus/assets/img/Quienes_somos/sectionBackBlue.webp');
    position: relative;
    overflow: hidden;
  }

  /* Animaciones para sectionBackBlueImg */
  .sectionBackBlueImg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 25% 25%, rgba(33, 150, 243, 0.4) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, rgba(0, 188, 212, 0.4) 1px, transparent 1px);
    background-size: 150px 150px, 200px 200px;
    animation: blueCircuitPulse 7s ease-in-out infinite;
    pointer-events: none;
  }

  @keyframes blueCircuitPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.05);
    }
  }

  .sectionBackGreenImg{
    background-image: url('../../../fustibus/assets/img/Quienes_somos/sectionBackGreen.webp');
    position: relative;
    overflow: hidden;
  }

  /* Animaciones para sectionBackGreenImg */
  .sectionBackGreenImg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(135deg, transparent 30%, rgba(76, 175, 80, 0.2) 50%, transparent 70%);
    background-size: 300px 300px;
    animation: greenCircuitFlow 8s ease-in-out infinite;
    pointer-events: none;
  }

  @keyframes greenCircuitFlow {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: translate(50%, 50%) rotate(180deg);
        opacity: 0.6;
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
        opacity: 0.3;
    }
  }

  /*fondo sección página servicios*/

  .sectionBackOrangeImg{
    background-image: url('../../../fustibus/assets/img/Servicios/backOrange.webp');
    position: relative;
    overflow: hidden;
  }

  /* Animaciones para sectionBackOrangeImg */
  .sectionBackOrangeImg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 40% 60%, rgba(255, 87, 34, 0.4) 2px, transparent 2px),
        radial-gradient(circle at 80% 20%, rgba(255, 193, 7, 0.4) 2px, transparent 2px);
    background-size: 180px 180px, 140px 140px;
    animation: orangeCircuitSpark 5s ease-in-out infinite;
    pointer-events: none;
  }

  @keyframes orangeCircuitSpark {
    0%, 100% {
        background-position: 0% 0%, 100% 100%;
        opacity: 0.4;
    }
    25% {
        background-position: 25% 75%, 75% 25%;
        opacity: 0.7;
    }
    50% {
        background-position: 50% 50%, 50% 50%;
        opacity: 0.8;
    }
    75% {
        background-position: 75% 25%, 25% 75%;
        opacity: 0.7;
    }
  }

  /* Menu desplegable para pantallas de teléfono */

  .dropdown-content {
    position: absolute;
    right: 0;
    top: 100%;
    width: 18rem;
    background-color: rgba(59, 58, 61, 0.849);
    color: white;
    border-radius: 0.375rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 50;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }


  /* Mostrar el menu desplegable */
  .dropdown-content.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  /* links a páginas dentro de Servicios */
  .dropdown-content a {
    display: block;
    padding: 0.5rem 1rem;
    text-align: left;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
  }

  .dropdown-content a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
  }

  /* Clase para border-radius sección Nuestros Servicios del index */
  .rounded-tl-80 {
    border-top-left-radius: 80px;
  }

  .rounded-tr-80{
    border-top-right-radius: 80px;
  }

  .rounded-br-80{
    border-bottom-right-radius: 80px;
  }
