

/* ================================ */
/* 1. Fuentes Personalizadas        */
/* ================================ */
   
/* Definición de la fuente Publico Headline Bold */
@font-face {
    font-family: 'Publico Headline Web';
    src: url('https://clientes.axacolpatria.co/documents/41258/21551328/PublicoHeadline-Bold-Web.woff2') format('woff2'),
      url('https://clientes.axacolpatria.co/documents/41258/21551328/PublicoHeadline-Bold-Web.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}
  
/* Definición de la fuente Source Sans Pro Regular */
@font-face {
    font-family: 'Source Sans Pro';
    src: url('https://clientes.axacolpatria.co/documents/41258/21551328/SourceSansPro-Regular.ttf') format('truetype');  
    font-weight: 400;
    font-style: normal;
}
  
/* Definición de la fuente Source Sans Pro SemiBold */
@font-face {
    font-family: 'Source Sans Pro';
    src: url('https://clientes.axacolpatria.co/documents/41258/21551328/SourceSansPro-SemiBold.ttf') format('truetype');  
    font-weight: 600;  
    font-style: normal;
}
  
  /* Aplicar Publico Headline a los títulos */
  h1, h2, h3, h4, h5, h6 {
    font-family: 'Publico Headline Web', sans-serif !important;
    font-weight: 700;
    font-style: normal;
    line-height: 1.2;
  }
  
  /* Aplicar Source Sans Pro al body y otros textos */
  body {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 400; /* Regular */
  }
  
  p, a, li, span, div {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 400;
  }

/* ================================ */
/* 2. Reset de Estilos              */
/* ================================ */

 
body, h1, h2, h3, p, div, section, header {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color:  #fff;
}

body {
   
    line-height: 1.6;
    background-color: #fff;
}

/* ================================ */
/* 3. Header                        */
/* ================================ */
.header {
    display: flex;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header .logo img {
    max-height: 50px;
}

/* ================================ */
/* 4. Hero Section                  */
/* ================================ */
.hero {
    position: relative; 
    width: 100%;  
    height: auto;  
    display: flex;  
    align-items: center;  
    justify-content: flex-start;  
    overflow: hidden;  
}

.hero-image {
    display: block; 
    width: 100%;
    height: auto;
    object-fit: cover;  
}

.hero-content {
    position: absolute; 
    top: 50%;  
    left: 30px;  
    transform: translateY(-50%);  
    color: #fff;  
    
}

.hero-content h1 {
    font-size: 48px;  
    margin: 0;  
    line-height: 1.2;  
}

/* Responsive  */
@media (max-width: 768px) {
    .hero-content {
        left: 15px;
        padding: 15px;
        
    }

    .hero-content h1 {
        font-size: 32px;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .hero-content {
        left: 10px;
        padding: 10px;
    }

    .hero-content h1 {
        font-size: 30px;
    }

    .hero-image {
    content: url('https://image.email.online.axacolpatria.co/lib/fe2911747364047e721277/m/1/903a5954-8528-4787-901d-5f008e06c55d.png');
    width: 100%;
    height: auto;
    max-height: 100vh;
    object-fit: cover;
    object-position: center center;
    
     
  }
}


/* ================================ */
/* 5. Sección de Estadísticas       */
/* ================================ */
.stats {
    padding: 4rem 2rem;
    background-color: #fff;
    text-align: center;
}

.stats h2 {
    font-size: 40px;
    margin-bottom: 2rem;
    color: #343C3D;
}

.plus {
    margin-right: 1%; /* Ajusta el valor según sea necesario para que se vea pegado */
    font-weight: bold; /* Opcional: hacer el "+" más visible */
    color: inherit; /* Hereda el color del texto padre */
}

.counter {
font-weight: 700;
font-family: 'Publico Headline Web';
 
}


.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.stat-item {
    width: 22%;
    padding: 1.5rem;
    margin: 1rem 0;
    
}

.stat-item h3 {
    font-size: 38px;
    color: #4976BA;
}

.stat-item p {
    font-size: 18px;
    color: #343C3D;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .stats-grid {
        flex-direction: column;
    }

    .stat-item {
        width: 100%;
    }
}

/* ================================ */
/* 6. Por Qué Trabajar con Nosotros */
/* ================================ */

  /* Contenedor principal para toda la sección */
        .scroll-section-wrapper {
            max-width: 1200px;
            margin: 0 auto;
            box-sizing: border-box;
            position: relative;
            /* Eliminar estas propiedades que causaban el desplazamiento */
            width: auto;           /* Eliminar width: 100vw */
            margin-left: auto;     /* Eliminar margin-left: calc(-50vw + 50%) */
            margin-right: auto;    /* Eliminar margin-right: calc(-50vw + 50%) */
            padding: 0 20px;       /* Agregar padding horizontal */
        }

        /* Sección del encabezado con título e iconos */
        .header-section-content {
            width: 100%;
            margin: 0 auto;
            padding: 4rem 20px;
            box-sizing: border-box;
            /* Eliminar estas propiedades */
            margin-left: auto;
            margin-right: auto;
            background-color: #f0f8ff;
            border-radius: 10px;
        }

        /* Estilos para la cápsula de "Tu carrera profesional" */
        .professional-career-capsule {
            background-color: #e0e6f6; /* Fondo azul claro/gris similar a la imagen */
            padding: 0.75rem 1.5rem; /* Relleno */
            border-radius: 9999px; /* Bordes muy redondeados para forma de cápsula */
            display: flex; /* Para alinear el icono y el texto */
            align-items: center; /* Centrar verticalmente el icono y texto */
            justify-content: center; /* Centrar horizontalmente el contenido de la cápsula */
            width: fit-content; /* El ancho se ajusta al contenido */
            margin: 0 auto 0.5rem auto; /* Centra la cápsula y agrega margen inferior */
            box-sizing: border-box;
        }

        .professional-career-capsule img {
            width: 20px;
            height: 20px;
            margin-right: 0.5rem; /* Espacio entre el icono y el texto */
            display: block; /* Asegura que la imagen no tenga espacio extra */
        }

        .professional-career-capsule span {
            color: #4976BA; /* Color azul para el texto */
            font-weight: 600; /* Negrita */
            font-size: 1.125rem; /* text-lg */
            white-space: nowrap; /* Evita que el texto se rompa en varias líneas */
        }

        /* Modifica los estilos de la cápsula profesional */
.professional-career-capsule i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
    color: #4976BA; /* Cambia el color del icono */
}

        /* Estilos para el título principal en el header */
        .main-title {
            font-family: 'Publico Headline Web', sans-serif;
            font-weight: 700;
            font-size: 40px;
            line-height: 1.2;
            text-align: center;
            margin: 0 auto;
            max-width: 800px;
        }

        .main-title span {
            font-family: 'Publico Headline Web', sans-serif !important; /* Forzar la fuente */
            font-weight: 700;
        }

        /* Colores específicos para cada span */
        .main-title span:first-child {
            color: #343C3D;
        }

        .main-title span:last-child {
            color: #00008F;
        }

        .font-bold {
            color: #5C5CB7;
            font-weight: 600;
        }

        /* Media query para pantallas más grandes */
        @media (min-width: 768px) {
            .main-title {
                font-size: 40px; /* md:text-5xl */
            }
        }

        /* Párrafo descriptivo debajo del título */
        .description-paragraph {
            margin-top: 1rem; /* mt-4 */
            color: #4a5568; /* text-gray-700 */
            max-width: 42rem; /* max-w-2xl */
            margin-left: auto;
            margin-right: auto;
            font-size: 1.125rem; /* text-lg */
            text-align: center;
            margin: 1rem auto;
            max-width: 800px; /* o el ancho que prefieras */
        }

        /* Contenedor de los iconos en el header */
        .header-icons-container {
            display: flex; /* flex */
            justify-content: center; /* justify-center */
            align-items: center; /* items-center */
            margin-top: 2rem; /* mt-8 */
            gap: 2rem; /* space-x-8 */
            color: #4a5568; /* text-gray-600 */
        }

        .header-icon-item {
            display: flex; /* flex */
            flex-direction: column; /* flex-col */
            align-items: center; /* items-center */
        }

        .header-icon-circle {
            background-color: #FFFFFF;
            padding: 0.75rem;
            border-radius: 9999px;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            margin-bottom: 0.5rem;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .header-icon-circle span {
            color: #5C5CB7;
            font-size: 1.5rem;
        }

        /* Contenedor principal para la línea de tiempo y los segmentos */
        .main-timeline-container {
            max-width: 1200px;
            margin: 0 auto;
            position: relative;
            padding: 4rem 20px;
            box-sizing: border-box;
        }

        /* Línea vertical central */
        .central-line {
            position: absolute;
            left: 50%;
            width: 0.5px; /* Más delgada (0.5px) */
            background-color: rgba(0, 0, 143, 0.1); /* Color azul oscuro con más transparencia (0.1) */
            height: 94%;
            transform: translateX(-50%);
            z-index: 0;
        }

        /* Cada segmento (fila) de la línea de tiempo */
        .timeline-segment {
            display: flex;
            justify-content: space-between;
            align-items: center; /* Alinea los elementos en el centro verticalmente */
            width: 100%;
            margin: 0 auto;
            max-width: 1000px;
            margin-bottom: 3rem; /* Espacio entre segmentos */
            position: relative; /* Para el posicionamiento del punto */
        }

        /* Contenedor para el contenido de cada lado (texto o imagen) */
        .timeline-content-wrapper {
            width: calc(50% - 2rem); /* Ocupa casi la mitad del ancho, dejando espacio para la línea y padding */
            box-sizing: border-box;
            position: relative;
        }

        /* Alineación específica para el contenido de texto a la izquierda */
        .timeline-content-wrapper.text-left {
            padding-right: 3rem;
            text-align: right;
        }

        /* Alineación específica para el contenido de imagen a la derecha */
        .timeline-content-wrapper.image-right {
            padding-left: 3rem;
            text-align: left;
        }

        /* Alineación específica para el contenido de imagen a la izquierda */
        .timeline-content-wrapper.image-left {
            padding-right: 3rem;
            text-align: right;
        }

        /* Alineación específica para el contenido de texto a la derecha */
        .timeline-content-wrapper.text-right {
            padding-left: 3rem;
            text-align: left;
        }

        /* Estilos generales para las tarjetas de contenido (transparentes por defecto) */
        .timeline-card {
            background-color: transparent;
            padding: 0;
            border-radius: 0;
            box-shadow: none;
            border: none;
            width: 100%;
            display: flex;
            flex-direction: column;
        }

        /* Estilos específicos para tarjetas de TEXTO */
        .timeline-card.is-text {
            padding: 0px;
            border-radius: 0.75rem;
        }



        .timeline-card.is-image img {
            width: 100%;
            height: auto;
            display: block;
            border-radius: 0;
        }

        .timeline-card h3 {
            font-size: 1.75rem;
            font-weight: bold;
            color: #1a202c;
            margin-bottom: 1rem;
        }

        .timeline-card p {
            color: #4a5568;
        }

        /* Punto de conexión en la línea de tiempo */
        .timeline-dot {
            width: 16px;
            height: 16px;
            background-color: rgba(0, 0, 143, 0.1);
            border: 2px solid #00008F;
            border-radius: 50%;
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
            z-index: 1;
        }

        /* Clase para activar el efecto de pulso una sola vez */
        .timeline-dot.dot-pulse-once {
            animation: pulse-dot 3s forwards;
        }

        /* Keyframes para el efecto de pulso del dot */
        @keyframes pulse-dot {
            0% {
                transform: translate(-50%, -50%) scale(1);
                box-shadow: 0 0 0 0 rgba(0, 0, 143, 0.7);
            }
            70% {
                transform: translate(-50%, -50%) scale(1.1);
                box-shadow: 0 0 0 10px rgba(0, 0, 143, 0);
            }
            100% {
                transform: translate(-50%, -50%) scale(1);
                box-shadow: 0 0 0 0 rgba(0, 0, 143, 0);
            }
        }

        /* Animaciones del contenido */
        .animate-on-scroll {
            opacity: 0;
            transition: opacity 1s ease-out, transform 1s ease-out;
        }

        .animate-on-scroll.slide-in-left {
            transform: translateX(-80px);
        }

        .animate-on-scroll.slide-in-right {
            transform: translateX(80px);
        }

        .animate-on-scroll.animated {
            opacity: 1;
            transform: translateX(0);
        }

        /* Media queries para responsividad */
       
 @media (max-width: 768px) {
            /* Ajustes para la cápsula de carrera profesional en móviles */
            .professional-career-capsule {
                padding: 0.5rem 1rem;
                font-size: 0.9rem;
                margin-bottom: 1rem; /* Más espacio abajo en móvil */
            }
            .professional-career-capsule img {
                width: 16px;
                height: 16px;
            }

            /* Ajustes para el header en móviles */
            .header-section-content {
                padding: 2rem 1rem; /* Reducir padding en móviles */
            }

            .main-title {
                font-size: 1.8rem; /* Reducir tamaño del título principal en móviles */
                margin-bottom: 0.5rem; /* Ajustar margen */
            }

            .description-paragraph {
                font-size: 1rem; /* Ajustar tamaño de párrafo en móviles */
                padding: 0 0.5rem; /* Asegurar padding lateral para el párrafo */
                margin-top: 0.5rem; /* Ajustar margen */
            }

            .header-icons-container {
                flex-wrap: wrap; /* Permite que los iconos se envuelvan a la siguiente línea */
                gap: 1rem; /* Reducir espacio entre iconos en móviles */
                margin-top: 1.5rem; /* Ajustar margen */
            }
            .header-icon-item {
                flex: 1 1 auto; /* Permite que los ítems se distribuyan y crezcan */
                min-width: 100px; /* Asegura un ancho mínimo para cada ítem */
            }

            /* La línea de tiempo se convierte en una sola columna */
            .timeline-segment {
                flex-direction: column;
                padding-left: 25px; /* Dar espacio para la línea y el dot */
                margin-bottom: 3rem; /* Mantener espacio entre segmentos */
            }

            /* Posicionamiento de la línea central en móvil */
            .central-line {
                left: 20px; /* Mueve la línea a la izquierda de la pantalla */
                transform: translateX(0);
            }

            /* Orden de elementos en móvil: Primero texto, luego imagen */
            /* Los contenedores que tienen texto siempre irán primero */
            .timeline-content-wrapper.text-left,
            .timeline-content-wrapper.text-right {
                order: 1;
                margin-bottom: 1.5rem; /* Espacio después del bloque de texto */
            }

            /* Los contenedores que tienen imagen siempre irán después */
            .timeline-content-wrapper.image-left,
            .timeline-content-wrapper.image-right {
                order: 2;
                margin-bottom: 0; /* Eliminar margen inferior ya que timeline-segment tiene margin-bottom */
            }

            /* Contenedores de contenido (texto/imagen) en móvil */
            .timeline-content-wrapper {
                width: 100%; /* Ocupa todo el ancho disponible */
                padding-left: 0;
                padding-right: 0;
            }

            /* Eliminar alineaciones específicas para móvil, todo a la izquierda */
            .timeline-content-wrapper.text-left,
            .timeline-content-wrapper.text-right,
            .timeline-content-wrapper.image-left,
            .timeline-content-wrapper.image-right {
                text-align: left;
                padding: 0;
            }

            /* Asegurar que los paddings sean consistentes para todos los wrappers en móvil */
            .timeline-card.is-text {
                padding: 0; /* Asegurar que no haya padding extra en la tarjeta de texto */
                text-align: left; /* Asegurar alineación de texto a la izquierda */
            }

            .timeline-card.is-image {
                padding: 0; /* Asegurar que no haya padding extra en la tarjeta de imagen */
            }

            /* Ajustes específicos para la imagen en móvil */
            .timeline-card.is-image img {
                width: 100%; /* La imagen ocupa todo el ancho de su contenedor */
                max-width: 300px; /* Limita el tamaño de la imagen para que no sea demasiado grande en móviles */
                height: auto;
                display: block;
                margin-left: auto; /* Centrar imagen */
                margin-right: auto; /* Centrar imagen */
                margin-top: 1rem; /* Espacio superior para la imagen */
            }

            /* Posicionamiento del dot en móvil para alinearse con la línea lateral */
            .timeline-dot {
                left: 0px; /* Mueve el dot a la izquierda, coincidiendo con la línea */
                transform: translate(-50%, -50%); /* Centra el dot horizontalmente en 'left: 20px' */
                z-index: 1; /* Asegura que el dot esté sobre la línea */
                top: 0; /* Alinea el dot con la parte superior del segmento en modo columna */
                margin-top: 1.5rem; /* Añade un pequeño margen para que no esté pegado al borde superior del primer elemento */
            }

            /* Asegurar que el padding horizontal del scroll-section-wrapper se mantenga */
            .scroll-section-wrapper {
                padding: 0 10px; /* Ajustar padding lateral para móviles */
            }
        }
 /* ================================ */
        /* Review CSS - */
        /* ================================ */

      /* Contenedor principal de la sección */
        .section-container {
            padding-top: 8rem; /* py-16 */
            padding-bottom: 4rem; /* py-16 */
            padding-left: 1rem; /* px-4 */
            padding-right: 1rem; /* px-4 */
            background: linear-gradient(180deg, #F6F9FD 0%, #E0E7ED 100%);
        }
        @media (min-width: 640px) { /* sm:px-6 */
            .section-container {
                padding-left: 1.5rem;
                padding-right: 1.5rem;
            }
        }
        @media (min-width: 1024px) { /* lg:px-8 */
            .section-container {
                padding-left: 2rem;
                padding-right: 2rem;
            }
        }

        /* Contenedor de contenido máximo y cuadrícula principal */
        .max-width-container {
            max-width: 80rem; /* max-w-7xl */
            margin-left: auto; /* mx-auto */
            margin-right: auto; /* mx-auto */
            display: grid;
            grid-template-columns: 1fr; /* grid-cols-1 */
            gap: 2rem; /* gap-8 */
            align-items: flex-start; /* items-start */
        }
        @media (min-width: 1024px) { /* lg:grid-cols-4 lg:gap-16 */
            .max-width-container {
                grid-template-columns: repeat(3, 1fr);
                gap: 2rem;
            }
        }

        /* Columna izquierda del título */
        .title-column {
            text-align: left; /* text-left */
            margin-bottom: 3rem; /* Añadido: Espacio extra debajo del título para separarlo de las cards */
        }
        @media (min-width: 1024px) { /* lg:col-span-1 lg:sticky lg:top-16 */
            .title-column {
                grid-column: span 1 / span 1;
                position: sticky;
                top: 4rem;
                margin-bottom: 0; /* Reiniciar el margen en desktop si es sticky para evitar doble espacio */
            }
        }

        /* Texto del subtítulo */
        .subtitle-text {
            font-size: 0.875rem; /* text-sm */
            font-weight: 700; /* font-semibold */
            text-transform: uppercase; /* uppercase */
            letter-spacing: 0.025em; /* tracking-wide */
            color: #343C3D; /* text-blue-light */
            margin-bottom: 0.5rem; /* mb-2 */
        }

        /* Título principal */
        .main-title-h2 {
            margin-top: 0.5rem; /* mt-2 */
            font-size: 3.6rem; /* main-title-h2 (tamaño personalizado) */
            line-height: 1.2;
            font-weight: 700; /* font-extrabold */
            color: #00008F; /* text-blue-dark */
        }
        .main-title-h2 .line-break-desktop {
            display: none; /* hidden */
        }
        @media (min-width: 1024px) { /* lg:inline */
            .main-title-h2 .line-break-desktop {
                display: inline;
            }
        }

        /* Modifica los estilos del título principal para móvil */
        @media (max-width: 768px) {
            .main-title-h2 {
                font-size: 2.6rem; /* Ajustar tamaño para móvil */
                line-height: 1.2;
            }
        }

        /* Contenedor de la galería de testimonios */
        .testimonials-grid-container {
            grid-column: span 2 / span 3; /* lg:col-span-3 */
            display: grid;
            grid-template-columns: 1fr; /* Cambiado de 3fr a 1fr para una columna por defecto */
            gap: 2.5rem; /* Aumentado de 1rem a 2.5rem para más espacio entre tarjetas */
            align-items: flex-start; /* grid-align-start */
        }
        @media (min-width: 768px) { /* md:grid-cols-2 */
            .testimonials-grid-container {
                grid-template-columns: repeat(2, 1fr);
                /* Restauramos el gap a 2.5rem también para pantallas medianas */
                gap: 2.5rem;
            }
            /* Reducir el desfase del efecto zig-zag y hacerlo más sutil */
            .testimonials-grid-container > .testimonial-card:nth-child(odd) {
                margin-top: 2.6rem; /* Reducido de 2rem a 1.25rem para un desfase más sutil */
            }
              .testimonials-grid-container > .testimonial-card:nth-child(even) {
                margin-top: -2.6rem; /* Reducido de 2rem a 1.25rem para un desfase más sutil */
            }
        }

        /* Diseño de la tarjeta de testimonio individual */
        .testimonial-card {
            background-color: #fff;
            border: 1px solid #e0e0e0; /* Borde gris claro */
            border-radius: 0.75rem; /* Esquinas ligeramente redondeadas */
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); /* Sombra con más efecto */
            padding: 1rem;
            padding-top: 2rem; /* Más espacio superior para el ícono de comillas "fuera" */
            display: flex;
            flex-direction: column;
            align-items: flex-start; /* Alineado a la izquierda para todo el contenido de la tarjeta */
            text-align: left; /* Alinea el texto internamente a la izquierda */
            transition: all 0.3s ease; /* Transición para todos los cambios al hover */
            height: auto; /* Permitir que la altura se adapte al contenido */
            opacity: 0; /* Inicialmente oculto para la animación */
            transform: translateY(20px); /* Inicialmente movido hacia abajo */
            position: relative;
            max-width: 350px; /* Aumentado de 300px a 350px para hacer las cards más anchas */
            margin-left: auto; /* Centrar la card dentro de su columna */
            margin-right: auto;
            overflow: visible; /* Necesario para que la imagen de comillas sobresalga */
        }
        /* La clase 'show' será añadida por JavaScript para mostrar la tarjeta */
        .testimonial-card.show {
            opacity: 1;
            transform: translateY(0);
        }

        .testimonial-card:hover {
            border: 2px solid #00008F; /* Borde azul de 2px al hover */
            background-color: rgba(0, 0, 143, 0.06); /* Fondo azul con 6% de opacidad al hover */
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); /* Sombra más pronunciada al hover */
            transform: translateY(-5px);
        }

        /* Contenedor del video incrustado */
        .video-thumbnail-container {
            position: relative;
            width: 100%;
            padding-top: 133.33%; /* Proporción para video vertical (3:4) - Menos alto */
            overflow: hidden;
            border-radius: 0.5rem;
            margin-bottom: 1rem;
            flex-shrink: 0;
        }
        .video-thumbnail-container iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: 0;
            border-radius: 0.5rem;
            opacity: 1; /* Visible por defecto */
            z-index: 1; /* Por encima del contenido normal */
        }

        /* Imagen de Comillas - Mitad dentro, mitad fuera */
        .quote-image {
            position: absolute;
            top: -0.8rem; /* Mueve la imagen 1.5rem hacia arriba, fuera de la tarjeta */
            right: -0.5rem; /* Mueve la imagen 0.5rem hacia la derecha, fuera de la tarjeta */
            width: 30px; /* Tamaño un poco más grande para que se note fuera */
            height: auto;
            z-index: 20; /* Asegura que esté por encima del borde y contenido */
        }

        /* Texto del testimonio */
.testimonial-text {
    font-size: 0.9rem; /* Texto dentro de la card más pequeño */
    line-height: 1.5;
    color: #333333;
    margin-bottom: 0.75rem;
    flex-grow: 1;
    text-align: left; /* Asegura la alineación a la izquierda */
    padding: 0 0.25rem;
    width: 100%; /* Asegura que ocupe todo el ancho disponible */
}

/* Autor del testimonio y antigüedad */
.testimonial-author {
    display: flex;
    align-items: center; /* Alinea el avatar y el texto a la izquierda */
    margin-top: auto;
    font-weight: 700;
    color: #00008F;
    transition: color 0.2s ease;
    text-decoration: none;
    width: 100%;
}
.author-info-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
}
.author-name {
    color: #00008F;
    font-weight: 600;
}
/* REMOVIDO: .author-img */
.seniority-text {
    font-size: 0.85rem;
    color: #00008f;
    margin-top: 0.2rem; /* Espacio entre nombre y antigüedad */
    font-weight: 600;
}
.author-text-container {
    display: flex;
    flex-direction: column; /* Para apilar nombre y antigüedad */
    align-items: flex-start; /* Alinea el nombre y antigüedad a la izquierda */
    flex-grow: 1;
    line-height: 1.2rem;
}

/* NUEVO ESTILO: Avatar de Iniciales */
.initials-avatar {
    width: 2.2rem; /* Mismo tamaño que la imagen original */
    height: 2.2rem;
    border-radius: 50%; /* Circular */
    background-color: #5D75D9; /* Color de fondo similar al placeholder */
    color: #FFFFFF; /* Color de texto blanco */
    display: flex;
    justify-content: center; /* Centrar horizontalmente */
    align-items: center; /* Centrar verticalmente */
    font-size: 0.9rem; /* Tamaño de fuente para las iniciales */
    font-weight: bold; /* Negrita para las iniciales */
    margin-right: 0.6rem; /* Mismo margen que la imagen original */
    flex-shrink: 0;
}

/* ================================ */
        /*  CSS Call to Action - Review*/
        /* ================================ */
   .cta-section {
            padding: 2rem; /* Espaciado interno */
            margin-top: 4rem; /* Margen superior para separarlo del contenido anterior */
            max-width: 60rem; /* Ancho máximo similar a la imagen */
            margin-left: auto;
            margin-right: auto;
            background-color: #ffffff; /* Fondo blanco para el CTA, como en la imagen */
            border-radius: 1rem; /* Bordes redondos */
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); /* Sombra suave */
            text-align: center; /* Centrar el contenido */
            /* grid-column: 1 / -1; ELIMINADO: Ya no es parte del grid */
        }
        @media (min-width: 768px) {
            .cta-section {
                padding: 3rem; /* Más padding en pantallas grandes */
            }
        }

        .cta-title {
            font-size: 1.875rem; /* text-3xl */
            font-weight: 700; /* font-bold */
            color: #333333;
            margin-bottom: 0.75rem; /* mb-3 */
        }
        @media (min-width: 768px) {
            .cta-title {
                font-size: 2.25rem; /* text-4xl */
            }
        }

        .cta-subtitle {
            font-size: 1rem; /* text-base */
            color: #666666;
            margin-bottom: 2rem; /* mb-8 */
            line-height: 1.5;
            max-width: 40rem; /* Limitar ancho del subtítulo */
            margin-left: auto;
            margin-right: auto;
        }

        .cta-button {
            display: inline-block; /* Para que los paddings funcionen bien */
            background-color: #E25822; /* Color de botón naranja/rojo */
            color: #ffffff; /* Texto blanco */
            padding: 0.75rem 2rem; /* Espaciado interno */
            border-radius: 9999px; /* Borde completamente redondo (pill shape) */
            text-decoration: none; /* Quitar subrayado del enlace */
            font-weight: 600; /* Texto seminegrita */
            transition: background-color 0.3s ease, transform 0.2s ease; /* Transición suave */
            border: none; /* Sin borde */
            cursor: pointer; /* Cursor de puntero */
            font-size: 1rem;
        }

        .cta-button:hover {
            background-color: #D24A19; /* Color más oscuro al pasar el ratón */
            transform: translateY(-2px); /* Pequeño efecto de elevación */
        }

/* ================================ */
/* 7. Llamado a la Acción (CTA)     */
/* ================================ */
.cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 2rem;
    background-color: #fff;
    max-width: 80%;
    margin: 0 auto;
}

.cta-content {
    width: 50%;
    padding-right: 2rem;
}

.cta-content p {
    font-size: 1.5rem;
    color: #333;
    line-height: 1.8;
}

.cta-content strong {
    color: #35558A;
}

.cta-image {
    width: 45%;
}

.cta-image img {
    width: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive Styles for Call to Action Section */
@media (max-width: 768px) {
    .cta {
        flex-direction: column;
        text-align: center;
    }

    .cta-content {
        width: 100%;
        padding-right: 0;
    }

    .cta-image {
        width: 100%;
        margin-top: 2rem;
    }
}

/* Estilos para la sección post-testimonios */
.post-testimonios {
    padding: 4rem 2rem;
    background-color: #fff;
}

.post-testimonios-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.post-testimonios-text {
    flex: 1;
}

.post-testimonios-text h2 {
    font-size: 2.5rem;
    line-height: 1.2;
    color: #343C3D;
    font-family: 'Publico Headline Web', sans-serif;
}

/* Modifica los estilos de post-testimonios para usar párrafo */
.post-testimonios-text p {
    font-size: 18px;
    line-height: 1.4;
    color: #343C3D;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: normal;
    margin: 0;
}

.post-testimonios-text p .no-break {
    color: #00008F;
    font-weight: 700;
    font-family: 'Source Sans Pro', sans-serif;
    white-space: nowrap;
}

/* Responsive */
@media (max-width: 768px) {
    .post-testimonios-text p {
        font-size: 18px;
        text-align: center;
    }
}

.no-break {
    white-space: nowrap;
}
/* Estilo especial para AXA COLPATRIA */
.post-testimonios-text h2 .no-break {
    color: #00008F; /* Color azul corporativo */
    font-weight: 700; /* Negrilla */
    font-family: 'Publico Headline Web', sans-serif; /* Fuente corporativa */
}


.post-testimonios-image {
    flex: 1;
}

.post-testimonios-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .post-testimonios-container {
        flex-direction: column;
        gap: 2rem;
    }

    .post-testimonios-text h2 {
        font-size: 2rem;
        text-align: center;
    }

    .post-testimonios-image {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
}



/* ================================ */
/* 8. Formulario Flotante           */
/* ================================ */
.container {
    position: fixed;
    bottom: 0px;
    right: 40px;
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    width: 90%;
    max-width: 28rem;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    margin: 10px auto;
    z-index: 1000; /* Valor alto para estar sobre el footer */
}

/* Ocultar el formulario */
.container.oculto {
    display: none !important;
    opacity: 0;
    visibility: hidden;
    transform: none;
}

/* Botón de cierre (X) en el header-form */
.cerrar-form {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.cerrar-form:hover {
    color: #d1d5db;
}

/* Botón flotante para reabrir el formulario */
.floating-button {
    position: fixed;
    bottom: 10px;
    right: 180px;
    background-color: #d24723;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    display: none; /* Se ocultará inicialmente */
    transition: opacity 0.3s ease-in-out;
    z-index: 1000; /* Mismo z-index que el formulario */
}


.floating-button:hover{
    background-color: #D75D3D;
}


.floating-button:not(.oculto) {
    display: block;
}

.floating-button.oculto {
    display: none;
}



.header-form {
    background-color: #4976BA;
    color: white;
    text-align: center;
    padding: 1.5rem 1.5rem;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
    position: relative;
    width: calc(100% + 3rem);
    margin-left: -1.5rem;
    margin-top: -1.5rem;
    font-size: 18px;
    
}

.header-form h2 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.header-form button {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: none;
    border: none;
    color: white;
    font-size: 1rem;
    cursor: pointer;
}

form {
    margin-top: 1rem;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -0.5rem;
    margin-bottom: 0.5rem;
    gap: 0.5rem;
}

.col {
  flex: 1 1 calc(50% - 1rem);
  padding: 0 0.5rem;
  box-sizing: border-box;
  position: relative; 
  
   
}

 
@media (max-width: 640px) {
    .col {
        flex: 1 1 100%;
    }
}

label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #343C3D;
}

 

input,
select
{
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    margin-top: 0.25rem;
    box-sizing: border-box;
  

}

.flex {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.flex-center {
    justify-content: center;
}
.flex-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
   
}


.text-gray-700 {
    color: #374151; color: #374151;
}

.checkbox {    font-weight: 500;
    width: 1rem;   width: 1rem;
    height: 1rem;
    border: 1px solid #d1d5db;   border: 1px solid #d1d5db;
   
         
}

  
.text-sm   
{
    font-size: 12px;
}



.button {
    background-color: #d24723;   background-color: #d24723;
    color: white;   
    font-weight: 600; 
    padding: 1rem 3.5rem;
    border-radius: 9999px;  
    border: none;   
    cursor: pointer;r: pointer;
}

.button:hover {
    background-color: #D75D3D;
}

.oculto {
    display: none; 
}

.mensaje-exito {
    background-color: #d4edda;
    color: #155724;
    padding: 15px;
    border: 1px solid #c3e6cb;
    border-radius: 5px;
    text-align: center;
    margin-top: 20px;
}

/* Estilos para el estado :focus (cuando el usuario interactúa) */
input:focus,
select:focus,
textarea:focus {
    border-color: #00008F;  
    box-shadow: 0 0 5px #00008F; 
    outline: none;
}

/* Estilos para los errores  */
.error-message {
    color: #C91432;
    font-size: 0.8rem;
    margin-top: 0.2rem;
}

input.error,
select.error,
textarea.error {
    border-color: #C91432;
    box-shadow: 0 0 5px #C91432;
}

/* Estilos para diligenciamiento exitoso*/
input.valid,
select.valid,
textarea.valid {
    border-color: #1CC54F;
}

select {
    appearance: none; 
    -webkit-appearance: none; /* Para navegadores WebKit */
    -moz-appearance: none; /* Para Firefox */
    background-image: url("https://image.email.online.axacolpatria.co/lib/fe2911747364047e721277/m/1/57cf7248-ce51-489d-b9da-a09a6170804f.png");  
    background-repeat: no-repeat;
    background-position: right 10px center;  
    padding-right: 30px; 
}


/* Animation for Floating Form */
@keyframes slideIn {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Responsive Floating Form */
 
@media (max-width: 768px) {  
    .container {
        width: 90vw !important;
        max-width: 90vw !important;
        left: 5vw !important;
        right: 5vw !important;
        bottom: 0;
        height: 90vh !important;
        max-height: 90vh !important;
        min-height: 90vh !important;
        background-color: white;
        z-index: 1000;
        display: flex;
        flex-direction: column;
        border-radius: 20px 20px 0 0;
        padding: 0;
        margin: 0;
        transform: translateY(0);
        transition: transform 0.3s ease-in-out;
         /* MANTENER scroll vertical en móvil */
        overflow-y: auto !important; /* Permitir scroll vertical */
        overflow-x: hidden; /* Sin scroll horizontal */
         

    }

  
    .container.oculto {
        transform: translateY(100%);
    }




    /* Estilo para el "pulgar"   */
    .container::-webkit-scrollbar-thumb {
        background-color: #99a5b6;  
        border-radius: 4px;
    }

    /* Estilo para el "track"  */
    .container::-webkit-scrollbar-track {
        background-color: #f0f0f0;  
    }

    /* Estilo para el grosor de la barra de scroll */
    .container::-webkit-scrollbar {
        width: 8px;  
    }

    
    .header-form {
        position: sticky;
        top: 0;
        background-color: #4976BA;
        color: white;
        z-index: 20;
        padding: 8px 25px;
        flex-shrink: 0;  
        border-radius: 20px 20px 0 0;
        width: auto;       
        margin-left: 0;   
        margin-top: 0;     
        text-align: center;  
        line-height: normal;
    }

    .floating-button {
        position: fixed;
        left: 50%;
        bottom: 10px;  
        transform: translateX(-50%);
        width: 90%;
        max-width: 300px;
        margin: 0 auto;
        text-align: center;
        z-index: 99;
    }

    .container form {
        flex: 1;
        overflow-y: auto !important; /* CAMBIAR: era hidden, ahora auto */
        overflow-x: hidden; /* Sin scroll horizontal */
        padding: 2px 20px;
        margin-bottom: 20px;
        -webkit-overflow-scrolling: touch; /* Para mejor scroll en iOS */
    }

 
    
    .floating-form {
        width: 90%;
        right: 5%;
        bottom: 10px;
    }

    .floating-button {
        right: 5%;
        bottom: 10px;
    }

    .form-group input,
    .form-group select {/* Corregir el CSS para móvil - PERMITIR scroll vertical */
@media (max-width: 768px) {  
    .container {
        width: 90vw !important;
        max-width: 90vw !important;
        left: 5vw !important;
        right: 5vw !important;
        bottom: 0;
        height: 90vh !important;
        max-height: 90vh !important;
        min-height: 90vh !important;
        background-color: white;
        z-index: 1000;
        display: flex;
        flex-direction: column;
        border-radius: 20px 20px 0 0;
        padding: 0;
        margin: 0;
        transform: translateY(0);
        transition: transform 0.3s ease-in-out;
        /* MANTENER scroll vertical en móvil */
        overflow-y: auto !important; /* Permitir scroll vertical */
        overflow-x: hidden; /* Sin scroll horizontal */
    }

    .container form {
        flex: 1;
        overflow-y: auto !important; /* CAMBIAR: era hidden, ahora auto */
        overflow-x: hidden; /* Sin scroll horizontal */
        padding: 2px 20px;
        margin-bottom: 20px;
        -webkit-overflow-scrolling: touch; /* Para mejor scroll en iOS */
    }

    /* Mantener estilos de scrollbar para móvil */
    .container::-webkit-scrollbar-thumb {
        background-color: #99a5b6;  
        border-radius: 4px;
    }

    .container::-webkit-scrollbar-track {
        background-color: #f0f0f0;  
    }

    .container::-webkit-scrollbar {
        width: 8px;  
    }

    .header-form {
        position: sticky;
        top: 0;
        background-color: #4976BA;
        color: white;
        z-index: 20;
        padding: 8px 25px;
        flex-shrink: 0;  
        border-radius: 20px 20px 0 0;
        width: auto;    
        margin-left: 0;   
        margin-top: 0;    
        text-align: center;  
        line-height: normal;
    }
}

/* Mantener sin scroll para portátil y escritorio */
@media (min-width: 1024px) {
    .container {
        overflow: hidden !important; /* Sin scroll en portátil/escritorio */
        max-height: 95vh !important;
    }

    .container form {
        overflow: hidden !important; /* Sin scroll interno en portátil/escritorio */
        padding-bottom: 0.5rem;
    }

    .header-form {
        padding: 0.7rem 1.2rem;
        line-height: normal;
    }
}
        width: 100%;
    }
}

@media (min-width: 1024px) {
  /*
   * Estilos para pantallas de 1024px en adelante, como computadoras portátiles y de escritorio.
   * Esto reemplaza las dos consultas de medios originales.
   */
  .container {
    overflow: hidden;
    max-height: 95vh !important;
  }

  .container form {
    overflow: hidden;
    /* Comentario original: Reducir padding inferior */
    padding-bottom: 0.5rem;
  }

  .header-form {
    padding: 0.7rem 1.2rem;
    line-height: normal;
  }
}



/* ================================ */
/* 9. Footer                       */
/* ================================ */
.footer {
    background-color: #4976BA;
    color: #fff;
    width: 100%;           /* Ancho completo de la ventana */
    position: relative; /* Mantener position: relative */
    z-index: 1; /* Valor bajo para estar debajo del formulario y botón */
    overflow: hidden;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0 1rem;
    box-sizing: border-box;
}

.footer .superfinanciera-img {
    left: 10px;
    position: absolute;
    max-width: 100px; /* Ajustar según necesites */
    height: auto;
}

.footer-column {
    width: 30%;
    padding: 0 1rem;
}

.footer-column h4 {
    font-size: 1.2rem;
    font-family: 'Source Sans Pro';
    margin-bottom: 1rem;
    text-align: center;
    color: #fff;
}

.footer-column ul {
    list-style: none;
    text-align: center;
    padding: 1px;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
    text-align: center;
    color: #fff;
}

.footer-column ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    text-align: center;
}

.footer-column ul li a:hover {
    text-decoration: underline;
}

.footer-column p {
    text-align: center;
    color: #fff;
}

.footer-social {
    text-align: center;
    margin-bottom: 1.5rem;
}

.footer-social p {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: #fff;
}

.social-icons a {
    margin: 0 0.5rem;
    color: #fff;
    font-size: 1.2rem;
    text-decoration: none;
}

.social-icons a:hover {
    color: #cbd5e0;
}

.footer-bottom {
    text-align: center;
    font-size: 0.8rem;
    color: #fff;
}

.footer-bottom p {
    color: #fff;
}

.salud-footer {
    position: absolute;
    right: 30px;
}

.mobile-dropdown .dropdown-list {
    padding-left: 0;
}

.dropdown-title {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.dropdown-arrow {
    margin-left: 5px;
    font-size: 0.8em;
    display: none; /* Oculta la flecha por defecto */
}

/* ================================ */
/* Responsive Footer                */
/* ================================ */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: stretch;
        margin-bottom: 1rem;
        text-align: left; /* Centra el texto de las columnas en móvil */
    }

    .footer-column {
        width: 100%;
        margin-bottom: 0;
        border-bottom: 1px solid #5e85b8;
        text-align: left; /* Alinea el texto de las columnas a la izquierda en móvil */
    }

    .footer{
          padding-top: 2rem;
    padding-bottom: 2rem;
    }

    .footer-column:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .footer-column h4 {
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        text-align: left; /* Asegura la alineación izquierda del título */
    }

    .footer-column ul {
        text-align: left;
        padding-left: 1rem;
        display: none; /* Oculta las listas en móvil por defecto */
    }
  
.footer-column ul li,
.footer-column p {
    text-align: left;
}
.footer-column.open ul {
        display: block; /* Muestra la lista cuando la clase 'open' está activa */
    }
    .footer-social {
        flex-direction: column;
        align-items: center;
    }

    .footer-social p {
        margin-bottom: 0.5rem;
    }

    .social-icons {
        text-align: center;
    }

    .dropdown-arrow {
        display: inline-block; /* Muestra la flecha solo en móvil */
    }
    .salud-footer {
        position: static;
        margin-top: 0;
    }
    .footer .superfinanciera-img {
             position: absolute;
        left: 10px; /* Reducir el margen izquierdo en móvil */
        top: 20px; /* Ajustar posición vertical */
        max-width: 80px; /* Reducir tamaño en móvil */
        margin: 0; /* Eliminar márgenes */
         
    }
}

div.popover-inner
{
   color: white !important;
 display: none !important;
 }
 
/* Estandarizar color de placeholder en todos los campos */
input::placeholder,
textarea::placeholder {
    color: #99a5b6 !important;
    opacity: 1;
}

/* Color placeholder para selects solo cuando está en modo placeholder */
select:invalid,
select option[value=""],
select option[disabled] {
    color: #99a5b6 !important;
}

/* Color normal para las opciones válidas */
select option:not([value=""]),
select option:not([value="0"]):not([disabled]) {
    color: #343C3D !important;
}

/* Para navegadores Webkit (Chrome, Safari, Edge) */
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
    color: #99a5b6 !important;
    opacity: 1;
}

/* Para Firefox */
input::-moz-placeholder,
textarea::-moz-placeholder {
    color: #99a5b6 !important;
    opacity: 1;
}

/* Para IE */
input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
    color: #99a5b6 !important;
    opacity: 1;
}

/* Para Edge */
input::-ms-input-placeholder,
textarea::-ms-input-placeholder {
    color: #99a5b6 !important;
    opacity: 1;
}

/* Agregar estos estilos para la animación */
.header-section-content {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease-out, transform 1s ease-out;
    will-change: opacity, transform;
}

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

/* Puedes agregar esto a tu CSS para mejorar la lista del timeline */
.timeline-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.timeline-list li {
    display: flex;
    align-items: flex-start;
    font-size: 1rem;
    color: #4a5568;
    margin-bottom: 0.75rem;
    gap: 0.5rem;
}

.timeline-list .icon-axa-fu039 {
    color: #5C5CB7;
    font-size: 1.1rem;
    margin-right: 0.5rem;
    flex-shrink: 0;
    line-height: 1.5;
}

/* Mantener tamaño fijo del formulario flotante en pantallas de portátil y escritorio */
@media (min-width: 1200px) {
  .container {
    max-height: 95vh;
    min-height: 400px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
  .container form {
    
    flex: 1 1 auto;
    max-height: 70vh;
    min-height: 300px;
    padding-bottom: 1rem;
  }
}