* {
    scroll-behavior: smooth;
}

body {
    background-color: #f0f0f0;
    color: #333;
    font-family: "Poppins", sans-serif;
}

.bg-secondary{
    background: #2d3748 !important;
}

.btn-primary {
    background-color: #004080;
    border-color: #004080;
}

.btn-primary:hover {
    background-color: white;
    border-color: #003366;
    color: #003366;
}

.bg-primary {
    background: #223466 !important;
}

.text-claro {
    line-height: 1.8;
}

.text-primary {
    color: #223466 !important;
}

.card-img-top {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    /* Mantiene proporciones y cubre el espacio */
}


/* Espaciado de secciones */
section {
    scroll-margin-top: 50px;
    /* Ajusta según el alto de tu navbar */
    padding: 50px 0;
}


nav ul li a:hover {
    color: #ffffff !important;
    font-weight: 600;
    /* Cambio de color al hover */
}


.custom-toggler:focus {
    outline: none !important;
    box-shadow: none !important;
}

.custom-toggler {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
    transition: transform 0.6s ease;
    /* Rotación */
}

.custom-toggler .toggler-icon {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 5px 0;
    transition: all 0.4s ease;
}

/* Efecto de rotación del botón completo */
.custom-toggler[aria-expanded="true"] {
    transform: rotate(360deg);
}

/* Animación barras para formar la X */
.custom-toggler[aria-expanded="true"] .top-bar {
    transform: rotate(45deg) translate(5px, 5px);
}

.custom-toggler[aria-expanded="true"] .middle-bar {
    opacity: 0;
}

.custom-toggler[aria-expanded="true"] .bottom-bar {
    transform: rotate(-45deg) translate(6px, -6px);
}




/* Estilo base de la tarjeta con transición suave */
.slide-hover {
    transition: transform 0.3s ease;
    transform: translateY(0);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Efecto al hacer hover: sube ligeramente y se eleva */
.slide-hover:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}





.footer-container {
    padding: 40px 0;
}

.footer-logo {
    max-width: 200px;
}

.footer-link {
    text-decoration: none;
    color: white;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #e6e6e6;
    /* Cambio de color al hover */
}

.footer-social-icon {
    font-size: 20px;
    margin-right: 10px;
    color: white;
    transition: color 0.3s ease;
}

.footer-social-icon:hover {
    color: #004080;
    /* Cambio de color al hover */
}

.footer-copyright {
    background-color: #001a38;
    /* Sombra más oscura */
    padding: 10px 0;
    text-align: center;
    color: white;
    font-size: 14px;
}

/* Efecto de desplazamiento en enlaces del footer */
.footer-link-slide {
    display: inline-block;
    position: relative;
    transition: transform 0.3s ease;
    color: white;
    text-decoration: none;
}

.footer-link-slide:hover {
    transform: translateX(5px); /* Mueve 5px a la derecha */
    color: #ddd; /* Opcional: cambia el color al hacer hover */
}







.accordion-button:focus {
    outline: none !important;
    box-shadow: none !important;
    color: #97989b !important;
}



.list-group-item-footer {
    background: transparent !important;
    color: #fff;
}



#myBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: #223466;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 4px;
}


.container-header{
    padding: 50px 20px;
}




    .timeline-container {
      overflow-x: auto;
      white-space: nowrap;
      padding: 20px 0;
      margin: 20px 0;
      -webkit-overflow-scrolling: touch; /* Suaviza el scroll en móviles iOS */
      scrollbar-width: thin;
    }

    .timeline {
      display: flex;
      justify-content: flex-start;
      position: relative;
      min-width: 100%;
    }

    .timeline::before {
      content: '';
      position: absolute;
      top: 20px;
      left: 15px;
      right: 15px;
      height: 2px;
      background-color: #dee2e6;
      z-index: 0;
    }

    .timeline-item {
      position: relative;
      display: inline-flex;
      flex-direction: column;
      align-items: center;
      margin: 0 12px;
      min-width: 140px;
      padding: 0 8px;
      flex: 0 0 auto; /* Evita que se contraigan */
    }

    .timeline-item::before {
      content: '';
      width: 14px;
      height: 14px;
      border-radius: 50%;
      background-color: #fff;
      border: 3px solid #0d6efd;
      margin-bottom: 8px;
      transition: background-color 0.3s ease;
      z-index: 1;
    }

    .timeline-item.active::before {
      background-color: #0d6efd;
    }

    .timeline-title {
      font-size: 0.85rem;
      color: #495057;
      text-align: center;
      line-height: 1.3;
    }

    .timeline-item.active .timeline-title {
      font-weight: bold;
      color: #0d6efd;
    }

    /* Ajustes para pantallas pequeñas */
    @media (max-width: 576px) {
      .timeline-item {
        min-width: 120px;
        margin: 0 10px;
      }
      .timeline-title {
        font-size: 0.75rem;
        white-space: normal;
        word-break: break-word;
      }
      .timeline::before {
        left: 12px;
        right: 12px;
      }
    }

    /* Para pantallas medianas, reducir un poco el espacio */
    @media (max-width: 768px) {
      .timeline-item {
        min-width: 130px;
        font-size: 0.8rem;
      }
    }
    
    
    
    
            .blog-img {
            width: 100%;
            height: 450px;
            object-fit: cover;
            border-radius: 12px;
            margin-bottom: 20px;
        }
    
    
           .post-image {
            width: 100%;
            border-radius: 15px;
            margin-bottom: 30px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.3);
        }
        .section-icon {
            font-size: 2rem;
            color: #223466;
            margin-bottom: 10px;
        }
        .highlight {
            background-color: #eaf0ff;
            border-left: 5px solid #223466;
            padding: 15px;
            margin-top: 20px;
            border-radius: 10px;
        }
        .benefit-card {
            border: none;
            border-radius: 15px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.08);
            transition: transform 0.3s ease-in-out;
        }
        .benefit-card:hover {
            transform: translateY(-5px);
        }
    
    
    
    
    
 