
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Sora:wght@100..800&display=swap');

/* --- RESET Y ESTILOS GLOBALES --- */


:root {
    --color-primario: #facc15;
    /* Un amarillo similar al del mockup */
    --color-texto: #333;
    --color-fondo: #fff;
    --color-borde-suave: #ddd;
    --fuente-principal: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
    margin: 0;
    font-family: var(--fuente-principal);
    color: var(--color-texto);
    background-color: var(--color-fondo);
}

about-content .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1,
h2,
h3 {
    font-weight: 600;
}

img {
    max-width: 100%;
    height: auto;
}

/* --- HEADER / NAVEGACIÓN --- */
a{
    text-decoration: none;
    color: #000000;
}


/* --- SECCIÓN HERO --- */
.hero {
    height: 60vh;
    min-height: 450px;
    position: relative;
    background: none; /* eliminamos el background directo */
    color: #fff;
    font-weight: 200;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('/images_home_page/Gemini_Generated_Image_cjg8lhcjg8lhcjg8\\ \\(1\\).webp');
    background-size: cover;
    background-position: center;
    filter: brightness(70%);
    z-index: -2;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)); /* si quieres mantener el overlay */
    z-index: -1;
}
.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 2;
}
/* Contenedor de los puntos */
.carousel-dots {
    position: absolute; 
    bottom: 20px;       
    left: 50%;          
    transform: translateX(-50%); 
    display: flex;      
    gap: 12px;          
    z-index: 3;
}

/* Estilo de cada punto */
.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5); /* Color de punto inactivo */
    border-radius: 50%; /* Para que sea un círculo */
    cursor: pointer;
    transition: background-color 0.3s ease; /* Transición suave */
}

/* Estilo del punto activo */
.dot.active {
    background-color: white; /* Color de punto activo */
}


.hero h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 22px;
    font-weight: 300;
    margin-bottom: 30px;
}

.btn-primary {
    background-color: #fff;
    color:#3b5ac0;
    padding: 15px 35px;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    border-radius: 5px;
    display: inline-block;
    transition: transform 0.2s ease;
    
}

.btn-primary:hover {
    transform: scale(1.05);
}

/* --- Estilos para la sección del carrusel --- */
.frases-motivacionales {
  padding: 2rem 0; /* Espaciado vertical */
  background-color: #b4dced; /* Un fondo suave como en tu imagen */
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}

/* --- Contenedor principal que oculta el contenido extra --- */
.carousel-container {
  width: 100%;
  overflow: hidden; /* ¡Muy importante! Oculta las frases que están fuera de la pantalla */
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent); /* Efecto de desvanecimiento en los bordes */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}

/* --- Pista que contiene todas las frases y se anima --- */
.carousel-track {
  display: flex; /* Pone las frases una al lado de la otra */
  /* La animación 'scroll' dura 60 segundos, es lineal e infinita */
  animation: scroll 20s linear infinite;
}


/* --- Estilos para cada frase individual --- */
.carousel-item {
  flex-shrink: 0; /* Evita que las frases se encojan */
  padding: 0 40px; /* Espaciado entre frases */
  font-size: 1.8rem; /* Tamaño de la fuente, ajústalo a tu gusto */
  font-weight: 600; /* Grosor de la fuente */
  color: #333333;
  white-space: nowrap; /* Evita que las frases se partan en varias líneas */
  text-align: center;
}

/* --- Definición de la animación 'scroll' --- */
@keyframes scroll {
  0% {
    transform: translateX(0); /* Estado inicial */
  }
  100% {
    /* Mueve el contenedor hacia la izquierda por el 50% de su ancho total.
       Como duplicamos el contenido, el 50% es exactamente la longitud
       de la lista de frases original, creando un bucle perfecto. */
    transform: translateX(-50%);
  }
}




/* --- SECCIÓN "QUÉ HACEMOS" --- */
.about-section {
    padding: 80px 0px;
    text-align: center;
    
}

.about-content {
    max-width: 700px;
    margin: 0 auto;

}

.about-content h2 {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid var(--color-borde-suave);
    margin-bottom: 25px;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 600;
    color: #67b8de;
    border-radius: 10px;
    border-color: #67b8de;
}

.about-content p {
    font-size: 18px;
    line-height: 1.6;
}

/* --- SECCIÓN CAMPAÑAS (CSS GRID) --- */
.campaigns-section {
    padding-top: 100px;
    padding-left: 30px;
    padding-right: 30px ;
    padding-bottom: 30px;
    background-color: var(--color-fondo);
}

.campaigns-section h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 50px;
    font-weight: 700;
    color: #67B8DE;
    /* Tono rosa/fucsia del mockup */
}

.campaigns-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Crea 3 columnas de igual tamaño */
    gap: 30px;
    /* Espacio entre las tarjetas */
}

.campaign-card {
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
    /* Para que la imagen respete los bordes redondeados */
    text-align: center;
}

.campaign-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    /* Asegura que la imagen cubra el espacio sin deformarse */
    display: block;
}

.campaign-card h3 {
    padding: 20px 15px;
    margin: 0;
    font-size: 16px;
    color: #00000091;
    font-weight: 20px;
}

/* --- FOOTER --- */

footer.footer {
    background-color: #3399CC; /* Azul que quieres aplicar */
    background-image: linear-gradient(to top, #3b5ac0, #3399CC);
    color: #ffffff; /* Color de texto principal (blanco) */
    padding: 50px 20px 20px 20px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-weight: 200px;
}

.footer-container {
    display: flex;
    justify-content: space-between;footer {
    background-color: #007bff; /* Azul principal de tu cabecera */
    color: #ffffff;
    padding: 50px 20px 20px 20px;
    font-family: 'Helvetica Neue', Arial, sans-serif; 
}

.footer-container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap; 
}

.footer-col {
    flex: 1;
    margin: 15px;
    min-width: 220px; /
}

.footer-col h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
}

.footer-col h4 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    border-bottom: 2px solid #3a8ded;  
    padding-bottom: 8px;
    display: inline-block;
}

.footer-col p {
    font-size: 15px;
    line-height: 1.6;
    color: #e0e0e0;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #3a8ded; 
    text-decoration: underline;
}

.social-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 22px;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #3a8ded;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #3a8ded; 
    font-size: 14px;
    color: #e0e0e0;
}
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap; 
}

.footer-col {
    flex: 1;
    margin: 15px;
    min-width: 220px; 
}

.footer-col h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
}

.footer-col h4 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    border-bottom: 2px solid #3a8ded; 
    padding-bottom: 8px;
    display: inline-block;
}

.footer-col p {
    font-size: 15px;
    line-height: 1.6;
    color: #e0e0e0;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #3a8ded; 
    text-decoration: underline;
}

.social-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 22px;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #3a8ded;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #3a8ded; 
    font-size: 14px;
    color: #e0e0e0;
}

/* Estilos para pantallas pequeñas (móviles) */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-col {
        width: 100%;
        max-width: 400px;
        margin-bottom: 30px;
    }
    
    .footer-col h4 {
        display: block; /* Centra el título en móviles */
    }
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 768px) {
    .main-header .container {
        flex-direction: column;
        gap: 15px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    .campaigns-grid {
        grid-template-columns: 1fr;
        /* Cambia a una sola columna en pantallas pequeñas */
    }
}


* Contenedor principal de la sección */
.principios-section {
    width: 100%;
    max-width: 1200px;
    text-align: center;
}

/* Título de la sección */
.section-title {
    color: #67b8de;
    font-size: 2.5em; /* Tamaño del título */
    margin-bottom: 50px;
    font-weight: bold;
    padding-left: 6rem;
}

/* Contenedor de las tarjetas de principios */
.principios-container {
    display: flex;
    justify-content: space-around; 
    flex-wrap: wrap; 
    gap: 30px; 
}

/* Estilo de cada tarjeta */
.principio-card {
    background-color: #ffffff; /* Fondo blanco para las tarjetas */
    border-radius: 15px; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); 
    padding: 40px 30px;
    width: 100%;
    max-width: 300px; 
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
}

/* Efecto al pasar el mouse sobre la tarjeta */
.principio-card:hover {
    transform: translateY(-10px); /* Eleva la tarjeta ligeramente */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); /* Sombra más pronunciada */
}

/* Contenedor del ícono */
.icon-container {
    background-color: #e3f2fd; /* Color de fondo celeste para el círculo del ícono */
    border-radius: 50%; 
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
}

.icon-container img {
    width: 45px; /* Tamaño del ícono */
    height: 45px;
}

/* Título de la tarjeta (COMPROMISO, etc.) */
.principio-card h3 {
    color: #0d47a1; 
    font-size: 1.2em;
    margin-bottom: 15px;
    font-weight: 700;
}
.principio-card p{
    text-align: center;}
/* --- ESTADO INICIAL DE LA TARJETA --- */
.principio-card {
    
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


/* --- ESTADO DE LA ANIMACIÓN (AL PASAR EL MOUSE) --- */

.principio-card:hover {
    /* 1. Mueve la tarjeta 10px hacia arriba */
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Párrafo de descripción */
.principio-card p {
    color: #555; /* Color gris para el texto */
    font-size: 1em;
    line-height: 1.6; /* Espaciado entre líneas */
}

/* --- Media Query para Responsividad --- */
@media (max-width: 768px) {
    .section-title {
        font-size: 2em;
    }

    .principios-container {
        flex-direction: column; /* Apila las tarjetas verticalmente */
        align-items: center;
    }
    
    .principio-card {
        max-width: 90%; /* Las tarjetas ocupan más ancho */
    }
}



/* --- Estilo del botón de WhatsApp --- */
.whatsapp-button {
    position: fixed; 
    bottom: 25px;    
    right: 25px;     
    
    background-color: #25D366; /* Color verde de WhatsApp */
    width: 60px;
    height: 60px;
    border-radius: 50%; 
    
    display: flex;
    justify-content: center;
    align-items: center;
    
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); 
    z-index: 1000; 
    transition: transform 0.3s ease; 
}

/* Efecto al pasar el mouse por encima */
.whatsapp-button:hover {
    transform: scale(1.1); 
}

/* Estilo del ícono dentro del botón */
.whatsapp-button img {
    width: 35px;
    height: 35px;
}

/* --- Animación de "sacudida" --- */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
  20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* Clase que se agregará con JavaScript para activar la animación */
.whatsapp-button.animating {
    animation: shake 0.5s ease;
}