@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap');

body {
    font-family: "Space Grotesk", sans-serif !important;
    overflow-x: hidden;
    
}
.fondoazul {
    background-image: url(../img/fondoheader.png);
    background-repeat: repeat;
    color: #fff;
}
.coverheader {
    background-image: url(../img/fondoheader.png);
    color: #fff;
    background-repeat: repeat;
    display: flex;
    justify-content: center;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.coverheader::before {
    content: '';
    position: absolute;
    left: 52%;
    bottom: -95px;
    width: 450px;
    height: 100%;
    background-image: url(../img/PixelFondoIzquierda.png);
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;
    pointer-events: none;
    z-index: 1;
    transform: translateX(calc(-500px - 100%));
}

.coverheader::after {
    content: '';
    position: absolute;
    right: 70%;
    top: -135px;
    width: 520px;
    height: 100%;
    background-image: url(../img/PixelFondoIDerecho.png);
    background-repeat: no-repeat;
    background-position: left center;
    background-size: contain;
    pointer-events: none;
    z-index: 1;
    transform: translateX(calc(500px + 100%));
}
.coverheader .contenidoheader {
    width: 100%;
    max-width: 900px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-items: flex-start;
    position: relative;
    z-index: 2;
    overflow: hidden;
}
.coverheader .contenidoheader .logos_texts {
    width: 40%;
    padding-top: 100px;
}
.logos_texts .botonwhastapp {
    width: 350px;
    height: 90px;
    display: flex;
    text-align: center;
    justify-content: center;
    margin-top: 20px;
    background-image: url(../img/botonwhatsapp.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.logos_texts .botonwhastapp:hover {
    opacity: 0.8;
}
.botonwhastapp .ellinkwhatsapp {
    color: #000;
    font-weight: 900;
    font-size: 30px;
    padding-left: 70px;
    padding-top: 20px;
}
.botonwhastapp .ellinkwhatsapp:hover {
    opacity: 0.8;
}
.logos_texts .textoslegales {
    font-size: 17px;
    margin-top: 20px;
}

.logos_texts .mensajeunete {
    display: flex;
    text-align: center;
    justify-content: center;
    margin-top: 20px;
}
.logos_texts .mensajeunete .mensajeunete {
    color: #feff0d;
    font-size: 30px;
    line-height: 38px;
    font-weight: 600;
    letter-spacing: 1px;
}

.coverheader .contenidoheader .logos_texts .logodaniel {
    width: 550px;
    height: auto;
}
.coverheader .contenidoheader .fotodaniel {
    width: 60%;
}

.coverheader .contenidoheader .fotodaniel .danielcover {
    width: 600px;
    height: auto;
}


.nuestracolombia {
    width: 100%;
    max-width: 900px;
    margin: auto;
    padding: 50px 20px;
}
.nuestracolombia h2 {
    font-size: 130px;
    font-weight: 900;
    line-height: 130px;
    letter-spacing: -2.5px;
}
.nuestracolombia h2 span {
    font-size: 110px;
    background-color: #000;
    color: #fff;
    display: inline-block;
    padding-left: 6px;
    padding-right: 6px;
}

.textosbluehome {
    background-color: #0131fd;
    background-repeat:repeat;
    width: 100%;
    color: #fff;
    padding: 50px 20px;
}
.textosbluehome .centradotextos {
    max-width: 900px;
    margin: auto;
    padding: 50px 20px;
}
.textosbluehome .centradotextos h2 {
    font-size: 46px;
    line-height: 50px;
    margin-bottom: 40px;
    font-weight: 900;
    letter-spacing: -1px;
}
.textosbluehome .centradotextos p {
    font-size: 19px;
    font-weight: 300;
    margin-bottom: 20px;
}

/* Módulo ¿Quién soy? */
.quien-soy-section {
    background-color: #fff;
    padding: 80px 20px;
    position: relative;
}

.quien-soy-container {
    max-width: 900px;
    margin: 0 auto;
}

.quien-soy-content {
    text-align: center;
}

.quien-soy-title {
    font-size: 80px;
    font-weight: 900;
    line-height: 80px;
    letter-spacing: -2px;
    color: #000;
    margin-bottom: 50px;
    font-family: "Space Grotesk", sans-serif;
}

.quien-soy-text {
    max-width: 800px;
    margin: 0 auto;
}

.quien-soy-text p {
    font-size: 24px;
    line-height: 36px;
    font-weight: 400;
    color: #333;
    margin-bottom: 30px;
    text-align: left;
    font-family: "Space Grotesk", sans-serif;
}

.quien-soy-text p strong {
    font-weight: 700;
    color: #000;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .quien-soy-section {
        padding: 50px 20px;
    }
    .logos_texts .botonwhastapp {
        margin: auto;
        margin-top: 30px;
    }
    
    .quien-soy-title {
        font-size: 48px;
        line-height: 52px;
        margin-bottom: 30px;
    }
    
    .quien-soy-text p {
        font-size: 18px;
        line-height: 28px;
        margin-bottom: 20px;
    }
    
    /* Ocultar elementos flotantes en móviles para evitar scroll horizontal */
    .coverheader::before,
    .coverheader::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .quien-soy-title {
        font-size: 36px;
        line-height: 40px;
    }
    
    .quien-soy-text p {
        font-size: 16px;
        line-height: 24px;
    }
    
    /* Asegurar que no hay elementos que causen scroll horizontal en móviles pequeños */
    .coverheader::before,
    .coverheader::after {
        display: none;
    }
}

/* Centrar Instagram Embed */
.instagram-media {
    margin: 0 auto !important;
    display: block !important;
}

/* Asegurar centrado del contenedor */
.bg-white.py-12.pt-0 .mb-12 {
    display: flex;
    justify-content: center;
    align-items: center;
}

.bg-white.py-12.pt-0 .mb-12 .relative {
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
}

/* Estilos personalizados para módulo de voluntariado */
.voluntariado-hero {
    position: relative;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.voluntariado-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    pointer-events: none;
    z-index: 1;
}

.voluntariado-hero .bg-yellow-400 {
    background-color: #fbbf24 !important;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
    transition: all 0.3s ease;
}

.voluntariado-hero .bg-yellow-400:hover {
    transform: rotate(0deg) scale(1.05);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
}

/* Animaciones flotantes mejoradas */
@keyframes float-gentle {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}

@keyframes pulse-glow {
    0%, 100% { 
        opacity: 0.2; 
        box-shadow: 0 0 20px rgba(251, 191, 36, 0.3);
    }
    50% { 
        opacity: 0.4; 
        box-shadow: 0 0 30px rgba(251, 191, 36, 0.5);
    }
}

.voluntariado-hero .animate-pulse {
    animation: pulse-glow 3s ease-in-out infinite;
}

.voluntariado-hero .animate-bounce {
    animation: float-gentle 4s ease-in-out infinite;
}

.voluntariado-hero .animate-spin {
    animation: spin 8s linear infinite;
}

/* Efectos hover para tarjetas de áreas */
.area-card-hover {
    transition: all 0.3s ease;
    cursor: pointer;
}

.area-card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Estilos para formulario */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    transform: translateY(-1px);
}

.form-group label {
    color: #374151;
    font-weight: 600;
    font-family: "Space Grotesk", sans-serif;
}

/* Botón de envío con efectos */
.submit-button {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.submit-button:hover::before {
    left: 100%;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

/* Testimonios con efectos */
.testimonio-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(251, 191, 36, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonio-card:hover::before {
    opacity: 1;
}

.testimonio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Responsive mejorado */
@media (max-width: 768px) {
    .coverheader .contenidoheader {
        flex-direction: column;
        padding: 20px;
        padding-bottom: 0;
    }
    .coverheader .contenidoheader .logos_texts {
        width: 100%;
        padding-top: 20px;
    }
    .logos_texts .textoslegales {
        text-align: center;
        margin-bottom: 30px;
    }
    .voluntariado-hero h1 {
        font-size: 3rem !important;
        line-height: 1.1;
    }
    .coverheader .contenidoheader .fotodaniel {
        width: 100%;
    }
    .logos_texts .mensajeunete .mensajeunete {
        font-size: 23px;
        line-height: 27px;
    }

    .nuestracolombia h2 {
        font-size: 49px;
        line-height: 55px;
    }
    .nuestracolombia h2 span {
        font-size: 44px;
    }
    .textosbluehome .centradotextos h2 {
        font-size: 29px;
        line-height: 35px;
    }
   
    .coverheader .contenidoheader .fotodaniel .danielcover {
        max-width: 100%;
        width: 100%;
    }
    
    .voluntariado-hero .bg-yellow-400 {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
    
    .voluntariado-hero .absolute {
        display: none;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .voluntariado-hero {
        padding: 3rem 1rem;
    }
    
    .voluntariado-hero h1 {
        font-size: 2.5rem !important;
    }
    
    .voluntariado-main {
        padding: 2rem 1rem;
    }
    
    .testimonios-voluntarios {
        padding: 2rem 1rem;
    }
}