        .navbar-nav .nav-link.active {
        color: #ffc107 !important; /* Cambia este color según tu paleta */
        font-weight: bold;          /* Opcional: hace el texto más grueso */
        border-bottom: 2px solid #ffc107; /* Línea inferior para resaltar */
      }
        body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
            background-color: #f5f5f5;
        }  
         /* Animaciones */
        @keyframes fadeIn {
            0% { opacity: 0; transform: translateY(20px); }
            50% { opacity: 0.5; transform: translateY(10px); }
            100% { opacity: 1; transform: translateY(0); }
        }
        @keyframes growBar {
            0% { width: 0; opacity: 0; }
            50% { opacity: 0.7; }
            100% { opacity: 1; }
        }
        .hero-section {
            display: flex;
            flex-wrap: wrap; /* Permite que los elementos se ajusten en pantallas más pequeñas */
            align-items: center;
            padding: 40px;
            background: linear-gradient(135deg, rgba(235, 184, 13, 0.9), rgba(255, 255, 255, 0.7));
            color: #333;
            animation: fadeIn 1s ease-out;
        }
        .hero-image {
            flex: 1;
            text-align: center;
            animation: fadeIn 1s ease-out 0.5s;
        }
        .hero-image img {
            max-width: 300px;
            border-radius: 50%;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }
        .hero-text {
            flex: 2;
            padding: 20px;
            animation: fadeIn 1s ease-out 0.5s;
        }
        .hero-text h1 {
            font-size: 36px;
            color: #333;
        }
        .hero-text p {
            font-size: 18px;
            margin: 10px 0;
        }

        .stats {
            display: flex;
            margin-top: 20px;
            gap: 30px;
        }

        .stat {
            text-align: center;
            font-size: 24px;
            opacity: 0;
            animation: fadeIn 1s ease-out 1s forwards;
        }

        .stat-number {
            color: rgb(235, 184, 13);
            font-weight: bold;
        }

        .services-section {
            padding: 30px;
            background-color: white;
            animation: fadeIn 1s ease-out 1.5s;
        }

        .services-title {
            font-size: 28px;
            margin-bottom: 15px;
            color: #333;
            animation: fadeIn 1s ease-out 2s;
        }

        .progress-container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 15px;
        }

        .progress-bar {
            width: 50%;
            background-color: #ddd;
            border-radius: 20px;
            opacity: 0;
            animation: fadeIn 1s ease-out 2.5s forwards;
        }

        .progress {
            height: 25px;
            border-radius: 20px;
            text-align: center;
            color: white;
            padding: 3px;
            opacity: 0;
            animation: growBar 2s ease-out forwards;
        }

        .progress-graphic {
            background-color: rgb(235, 184, 13);
        }

        .progress-development {
            background-color: rgb(235, 184, 13);
        }

        .progress-label {
            width: 45%;
            text-align: right;
            margin-right: 5%;
            font-size: 18px;
        }

        /* Contenedor principal de la sección */
        .contenedor {
            display: flex;
            flex-wrap: wrap; /* Permite que los elementos se ajusten en pantallas más pequeñas */
            justify-content: space-between;
            align-items: flex-start;
            width: 100%;
            padding: 20px;

        }

        .izquierda {
            width: 100%; /* En pantallas pequeñas, ocupará el 100% */
            margin-bottom: 20px;
        }

        .derecha {
            width: 100%; /* En pantallas pequeñas, ocupará el 100% */
        }

        
        .barra {
        width: 100%;
        background-color: #f3f3f3;
        border-radius: 25px;
        margin: 10px 0;
        position: relative;
    }

    .progreso {
        text-align: right;
        padding-right: 10px;
        height: 30px;
        line-height: 30px;
        border-radius: 25px;
        width: 0;
        background-color: rgb(235, 184, 13);
        color: white;
        transition: width 2s;
    }

    .nombre {
        position: absolute;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
        font-weight: bold;
    }

    /* Media Queries para pantallas pequeñas (hasta 410px de ancho) */
    @media (max-width: 410px) {
        /* Cambiar las barras de progreso a formato vertical */
        .barra {
            height: 100px; /* Aumentamos la altura para hacerlas más visibles */
            flex-direction: column; /* Orientación vertical */
            justify-content: center; /* Alineamos el contenido en el centro */
        }

        .progreso {
            width: 100%; /* Barra ocupa todo el ancho */
            height: auto;
            text-align: center;
            font-size: 14px;
            line-height: 20px;
            padding-right: 10px;
            padding-left: 10px;
            border-radius: 10px;
            background-color: rgb(235, 184, 13);
        }

        .nombre {
            position: absolute;
            top: -25px;
            left: 0;
            right: 0;
            text-align: center;
            font-size: 14px;
            font-weight: bold;
        }

        .progreso {
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 16px;
        }
    }
/* Media Queries para pantallas entre 663px y 729px */
@media (max-width: 729px) and (min-width: 663px) {
  .hero-section {
      padding: 30px; /* Ajuste del padding */
      flex-direction: column; /* Hero se acomoda en columna */
      text-align: center;
  }

  .hero-image img {
      max-width: 250px; /* Ajustar la imagen */
  }

  .hero-text {
      padding: 15px;
  }

  .hero-text h1 {
      font-size: 28px; /* Ajustar el tamaño del texto */
  }

  .hero-text p {
      font-size: 16px;
  }

  .stats {
      flex-direction: column;
      align-items: center;
  }

  .stat {
      font-size: 18px;
      margin-bottom: 10px;
  }

  .contenedor {
      padding: 10px;
      flex-direction: column; /* Contenedor se acomoda en columna */
  }

  .izquierda, .derecha {
      width: 100%;
  }

  .barra {
      width: 100%; /* Las barras de progreso ocupan el 100% */
  }

  .progreso {
      font-size: 14px;
      line-height: 20px;
  }
}

/* Media Queries para pantallas entre 405px y 663px */
@media (max-width: 663px) and (min-width: 405px) {
  .hero-section {
      padding: 20px;
      flex-direction: column;
      text-align: center;
  }

  .hero-image img {
      max-width: 180px; /* Ajuste de la imagen */
  }

  .hero-text {
      padding: 10px;
  }

  .hero-text h1 {
      font-size: 24px; /* Ajuste del tamaño del título */
  }

  .hero-text p {
      font-size: 14px;
  }

  .stats {
      flex-direction: column;
      align-items: center;
  }

  .stat {
      font-size: 16px;
      margin-bottom: 8px;
  }

  .contenedor {
      padding: 8px;
      flex-direction: column;
  }

  .izquierda, .derecha {
      width: 100%;
  }

  .barra {
      width: 100%;
  }

  .progreso {
      font-size: 12px;
      line-height: 20px;
  }
}

/* Media Queries para pantallas menores a 405px */
@media (max-width: 405px) {
  .hero-section {
      padding: 15px;
      flex-direction: column;
      text-align: center;
  }

  .hero-image img {
      max-width: 150px;
  }

  .hero-text {
      padding: 5px;
  }

  .hero-text h1 {
      font-size: 20px; /* Ajuste de la fuente en pantallas pequeñas */
  }

  .hero-text p {
      font-size: 12px;
  }

  .stats {
      flex-direction: column;
      align-items: center;
  }

  .stat {
      font-size: 14px;
      margin-bottom: 6px;
  }

  .contenedor {
      padding: 5px;
      flex-direction: column;
  }

  .izquierda, .derecha {
      width: 100%;
  }

  .barra {
      width: 100%;
  }

  .progreso {
      font-size: 10px;
      line-height: 18px;
  }
}

        /* Media Queries para pantallas más grandes */
        @media (min-width: 768px) {
            .hero-section {
                flex-direction: row; /* Alineación horizontal en tabletas y pantallas más grandes */
            }

            .hero-image {
                flex: 1;
            }

            .hero-text {
                flex: 2;
            }

            .contenedor {
                flex-wrap: nowrap; /* No dejar que los elementos se ajusten en pantallas grandes */
            }

            .izquierda,
            .derecha {
                width: 45%; /* Ambos ocuparán el 45% en pantallas grandes */
            }
        }

        @media (min-width: 1200px) {
            .hero-text h1 {
                font-size: 48px;
            }

            .hero-text p {
                font-size: 20px;
            }
        }

        /* Media Queries para pantallas pequeñas (310px x 729px) */
        @media (max-width: 410px) {
            /* Reduce el tamaño de la imagen de héroe */
            .hero-image img {
                max-width: 150px;
                margin-bottom: 10px;
            }

            /* Ajusta el tamaño del texto */
            .hero-text h1 {
                font-size: 22px;
            }

            .hero-text p {
                font-size: 14px;
            }

            /* Modificar la disposición de las estadísticas */
            .stats {
                flex-direction: column;
                align-items: center;
                margin-top: 15px;
            }

            .stat {
                font-size: 18px;
                margin-bottom: 10px;
            }

            /* Modificar el tamaño y disposición de las barras */
            .contenedor {
                padding: 10px;
                flex-direction: column;
            }

            .izquierda,
            .derecha {
                width: 100%;
            }

            .barra {
                width: 100%;
            }

            .progreso {
                font-size: 12px;
                line-height: 20px;
                padding-right: 5px;
            }

            .nombre {
                font-size: 12px;
            }
        }
/* seccion de eventos*/
h1, h2 {
      text-align: center;
      font-weight: bold;
      color: #343a40;
    }

    .section-title {
      margin-top: 50px;
      margin-bottom: 30px;
      font-size: 3rem;
      color: #f7a100;
      text-transform: uppercase;
      font-family: 'Dancing Script', cursive;
      animation: slideIn 1s ease-out;
      transform: rotate(-5deg);
      letter-spacing: 5px;
    }

    @keyframes slideIn {
      0% {
        transform: translateX(-100%) rotate(-5deg);
      }

      100% {
        transform: translateX(0) rotate(0deg);
      }
    }

    /* Diseño de las tarjetas de evento */
    .event-card {
      display: flex;
      flex-direction: row;
      position: relative;
      /*
      background-colorlinear-gradient(to right, #f7a100, #f72b00) ;*/
      background: linear-gradient(to right, #f7a100, #f72b00);

      border: none;
      border-radius: 15px;
      box-shadow: 0 6px 30px rgba(0, 0, 0, 0.2);
      margin-bottom: 30px;
      overflow: hidden;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .event-card:hover {
      transform: scale(1.05);
      box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    }

    /* Contenedor para el texto */
    .event-text {
      padding: 40px;
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
      color: #fff;
      z-index: 1;
      position: relative;
    }

    .event-text .event-title {
      font-family: 'Dancing Script', cursive;
      font-size: 3rem;
      font-weight: 700;
      margin-bottom: 20px;
      text-transform: capitalize;
      color: black;
    }

    .event-description {
      font-size: 1.2rem;
      color: #f8f9fa;
      margin-top: 20px;
    }

    /* Imagen principal del evento */
    .event-img {
      /*width: 100%; /* Imagen se adapta al 100% del contenedor */
      height: 200px;
      object-fit: cover;
      border-radius: 15px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
      margin-top: 20px;
    }
   
    .polaroid {
      border: 1px solid #fff;
      background: #fff;
      text-align: center;
      border-radius: 8px;
      transform: rotate(-5deg); /* Mantener la rotación */
      width: 150px; /* Reducir el tamaño de la Polaroid */
      height: auto;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); /* Sombra para el efecto */
      margin-top: 20px;
    }

    .polaroid-caption {
      margin-top: 5px;
      font-size: 0.8rem; /* Ajuste el tamaño de la fuente para que se vea más pequeño */
      font-weight: bold;
      color: #343a40;
    }

    /* Estilo Polaroid 2 (rotación contraria) */
    .polaroid2 {
      border: 1px solid #fff;
      background: #fff;
      text-align: center;
      border-radius: 8px;
      transform: rotate(5deg); /* Rotación contraria */
      width: 150px; /* Reducir el tamaño de la Polaroid */
      height: auto;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); /* Sombra para el efecto */
      margin-top: 20px;
    }

/* Animación de entrada para las tarjetas de evento */
@keyframes slideUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Animación para el título */
@keyframes fadeInTitle {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Animación para la descripción */
@keyframes fadeInDescription {
  0% {
    opacity: 0;
    transform: translateX(50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Aplicación de las animaciones cuando los elementos están visibles */
.event-card {
  opacity: 0; /* Por defecto, las tarjetas estarán ocultas */
  transition: opacity 0.5s ease-out;
}

.event-card.show {
  opacity: 1;
  animation: slideUp 1.8s forwards;
}

.event-title.show {
  animation: fadeInTitle 1.8s forwards;
}

.event-description.show {
  animation: fadeInDescription 1.8s forwards;
}
 /* Clase para hacer que las imágenes sean circulares */
/* Contenedor del título y las imágenes flotantes */
.event-title-container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Estilo para las imágenes circulares flotantes */
/* Contenedor para el título y las imágenes flotantes */
.event-title-container {
    display: flex;
    align-items: center; /* Alinea el título y las imágenes verticalmente */
    margin-bottom: 15px; /* Espaciado debajo del título */
}

/* Contenedor para el título y las imágenes flotantes */
.event-title-container {
    display: flex;
    align-items: center; /* Alinea el título y las imágenes verticalmente */
    margin-bottom: 15px; /* Espaciado debajo del título */
}

/* Estilo para las imágenes circulares al lado del título */
.circle-img {
    width: 200px; /* Aumentamos el tamaño de las imágenes circulares */
    height: 200px;
    overflow: hidden;
    border-radius: 50%; /* Hace la imagen circular */
    margin: 0 25px; /* Aumentamos el espacio entre las imágenes y el título */
}

/* Para que las imágenes se ajusten bien dentro del círculo */
.circle-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Asegura que la imagen cubra el círculo completamente */
}

/* Posiciona la imagen a la izquierda */
.circle-img.float-left {
    order: -1; /* Coloca la imagen a la izquierda */
}

/* Posiciona la imagen a la derecha */
.circle-img.float-right {
    order: 1; /* Coloca la imagen a la derecha */
}

/* Estilo para el título del evento */
.event-title {
    font-size: 2rem; /* Aumentamos el tamaño del título para que se vea más prominente */
    font-weight: bold;
    text-align: center;
}
