@import url('https://fonts.cdnfonts.com/css/raqillas');
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');

@font-face {
    font-family: 'Claven'; /* Nombre que usarás para referenciar la fuente */
    src: url('../fonts/ClavenTrial.otf') format('opentype'); /* Ruta y formato */
}

.swiper-container {
    position: relative;
    width: 100%;
    height: 100vh; /* Ocupar toda la altura de la ventana */
    overflow: hidden;
}

.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 171vh;
    object-fit: cover; /* El video se ajustará a la pantalla sin distorsionar */
    z-index: -1; /* Coloca el video detrás del contenido */
}

.swiper-slide-caption {
    position: relative;
    z-index: 1; /* Asegura que el contenido esté encima del video */
}

.swiper-meta {
    z-index: 2; /* Asegura que los íconos sociales estén visibles sobre el video */
}

.rd-nav-link{
    color: #2c2466 !important;
    font-weight: bold;
}

.mdi{
    color: #000 !important     
}

.mdi-footer{
    color: white !important
}

.rd-navbar-creative.rd-navbar-static.rd-navbar--is-stuck{
    background: rgba(161,179,228,1) !important
}

.section-wrap-content-var-1-inner .parrafo-nosotros{
    font-size: 12px;
    font-weight: bold;
}

.rd-navbar-brand img {
    width: 56px;
    height: 77px;
    transition: all 0.3s ease; /* Transición suave al cambiar el tamaño */
}

/* Tamaño reducido cuando la clase .rd-navbar--is-stuck esté activa */
.rd-navbar--is-stuck .rd-navbar-brand img {
    width: 25px;
    height: 38px;
}


.bg-primary-bandera {
    position: relative; /* Esto es necesario para colocar el pseudo-elemento de manera correcta */
    background-image: url("../images/adb-img/bandera_adb.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-attachment: fixed; /* Esto hace que la imagen se mueva al hacer scroll */
    opacity: 1;
}

/* Capa oscura */
.bg-primary-bandera::before {
    content: ""; /* Necesario para que el pseudo-elemento sea visible */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Color oscuro con opacidad */
    z-index: 1; /* Para que se quede sobre la imagen, pero debajo del contenido */
}

/* Asegura que el contenido esté encima de la capa oscura */
.bg-primary-bandera .container {
    position: relative; /* Esto coloca el contenido por encima de la capa oscura */
    z-index: 2; /* Coloca el contenido encima de la capa oscura */
}

.box-cta {
    position: relative; /* Necesario para posicionar el contenido de manera correcta */
    z-index: 3; /* Asegura que el contenido de la caja esté por encima de la capa oscura */
}

h3{
    color:#fff6f6;
}
.azul{
    color:#3800ff;
}

.link-control-vp{
    top:1%;
}

.justificar-texto{
    text-align: justify;
}

.box-cta-title{
    font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: 40px;
    font-weight: 400;
    color:#d2e8ff;
}


.card-container {
    perspective: 1000px; /* Necesario para el efecto 3D */
    margin-bottom: 30px;
    position: relative; /* Controla el espacio de cada tarjeta */
    width: 100%; /* Asegura que las tarjetas no se extiendan fuera del contenedor */
    height: 300px; /* Fija una altura consistente para evitar solapamientos */
}

.card-flip {
    width: 100%;
    height: 55vh;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s; /* Velocidad del flip */
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden; /* Oculta la parte trasera cuando no está visible */
}

.card-front {
    z-index: 2; /* Asegura que la parte frontal esté por encima */
    transform: rotateY(0deg); /* Inicialmente sin rotación */
}

.card-back {
    transform: rotateY(180deg); /* Oculta la parte trasera inicialmente */
    background-color: #333; /* Fondo de la parte trasera */
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.card-flip-click.fliped{
    transform:rotateY(180deg);
}

/* Efecto de flip al pasar el mouse */
.card-container:hover .card-flip {
    transform: rotateY(180deg); /* Aplica el flip */
}

.titulo-container{
    font-family: "Nothing You Could Do", cursive;
    font-weight: 400;
    font-style: normal;
    color:#ffffff;
    font-size: 48px;
}

.letra-tarjeta{
    font-size:12px;
}

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

.donaciones-contenedor{
    margin-top:10vh;
    margin-bottom:15vh;
}

.imagen-pago{
    width: 100%;
    height: 100%;
}

#titulo-donaciones{
    text-align: center;
}

.titulo_modal_oportunidad {
    font-family: "Claven", sans-serif;
    font-size: 28px;
    font-weight: 400;
    font-style: normal;
    color: black; /* Color de relleno */
    -webkit-text-stroke: 2px white; /* Borde blanco */
    text-stroke: 2px white; /* Para navegadores compatibles */
}

.titulo_modal_oportunidad {
    font-family: "Segoe UI", Tahoma, Geneva, sans-serif; /* Segoe UI o fuentes similares */
    font-size: 28px;
    font-weight: 900;
    font-style: normal;
    color: white; /* Color de la letra (blanco) */
    
    /* Borde negro con text-stroke para navegadores modernos */
    -webkit-text-stroke: 2px black;
    text-stroke: 2px black;
    
    /* Fallback con text-shadow para Firefox */
    text-shadow: 
        1px 1px 0 black, 
        -1px 1px 0 black, 
        1px -1px 0 black,
        -1px -1px 0 black;
}

.blurb-icon-fill .icon > span {
    color: #4c4c64 !important;
}

.balon-soccer{
    /* height: 20%; */
    width: 60%;
}

.cuerpo_parrafo_negro{
    font-family: 'Roboto', Arial, sans-serif; /* Selecciona una fuente legible */
    font-size: 14px; /* Incrementa el tamaño si 12px es muy pequeño */
    color: black; /* Asegúrate de un buen contraste */
    line-height: 1.5; /* Aumenta el espacio entre líneas */
    text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.3);
    text-align: justify;
}

.imagen-estirada{
    height: 100%;
}

.parrafo-donaciones{
    margin-top:3vh;
}

.titulo_bolas{
    font-family: "Oswald", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.oswald-negra {
    font-family: "Oswald", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    color:#3800ff;
    font-size: 45px !important;
  }

  .contactenos-video-container {
      position: relative;
      width: 40vw;
      height: 65vh;
      padding-top: 56.25%; /* 16:9 aspect ratio */
      overflow: hidden;
  }
  .contactenos-video-background {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 10px;
  }

  .contactenos-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 50vw;
    height: 65vh;
    background-color: rgba(140, 174, 238, 0.5); /* Capa opaca */
    border-radius: 10px;
}

.inicial-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(140, 174, 238, 0.5); /* Capa opaca */
    border-radius: 10px;
}

.nosotros-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(140, 174, 238, 0.5); /* Capa opaca */
    border-radius: 10px;
}

.contactenos-whatsapp-info {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    z-index: 2; /* Asegura que el texto y QR estén encima de la capa opaca */
}
.contactenos-whatsapp-info p {
    font-size: 18px;
    margin-bottom: 5px;
}
.contactenos-qr-image {
    width: 10vw; /* Tamaño del código QR */
    height: 25vh;
}

  .contactenos-formulario {
      background-color: rgba(255, 255, 255, 0.9);
      padding: 30px;
      border-radius: 10px;
      box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  }
  .contactenos-formulario h4 {
      margin-bottom: 20px;
  }
  .form-control {
      border-radius: 5px;
      border: 1px solid #ced4da;
      padding: 10px;
  }
  .contactenos-btn-primary {
      background-color: #007bff;
      border: none;
      padding: 10px 20px;
      border-radius: 5px;
  }
  .contactenos-btn-primary:hover {
      background-color: #0056b3;
  }


@keyframes bounce {
    0% {
        transform: translateY(0);
    }
    20% {
        transform: translateY(-20px); /* Sube 20px */
    }
    40% {
        transform: translateY(0); /* Vuelve a su posición original */
    }
    60% {
        transform: translateY(-10px); /* Sube 10px */
    }
    80% {
        transform: translateY(0); /* Vuelve a su posición original */
    }
    100% {
        transform: translateY(0);
    }
}

.bounce {
    animation: bounce 0.6s ease-in-out;
}


.panel-degradado {
    border: 5px solid transparent; /* Borde transparente */
    border-image: linear-gradient(45deg, #a1c6ea, #007bff, #003366); /* Degradado de azul pastel, azul eléctrico, azul marino */
    border-image-slice: 1; /* Ajusta el borde */
    display: block; /* Asegura que el enlace no interfiera con el layout */
    padding: 10px; /* Espacio entre el borde y el contenido */
}

.panel-contenido {
    background-color: #fff; /* Fondo blanco */
    padding: 20px;
    border-radius: 10px; /* Esquinas redondeadas */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Sombra suave para darle profundidad */
}

.panel-imagen img {
    width: 100%; /* Ajusta la imagen al tamaño del contenedor */
    height: auto;
    border-radius: 8px; /* Opcional: redondeo de la imagen */
}

.btn-light {
    background-color: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-light:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.titulo-negro{
    color: black !important;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 30px;
    text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.3);
}

.botones-buscamos{
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 10px;
    text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.3);
    color: black !important;
    background-color: #cfe0f1;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    
    width: 150px;
    height: 128px;
    
}

.botones-buscamos:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn{
    white-space: normal;
    word-break:normal;
    text-align: center;

}


.letra_tabla_donacion{
    font-family: 'arial', sans-serif;
    font-weight: 300;
    font-size: 10px;
    text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.3);
    color: black !important;
}

.letra-yape{
    font-family: 'arial', sans-serif;
    font-weight: 300;
    font-size: 35px;
    text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.3);
    color: black !important;
    text-align: justify;
}

/* .frame-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100vh; /* Para centrar verticalmente 
}

.pdf-frame {
    background-color: #121212; /* Fondo oscuro 
    color: #ffffff; /* Texto claro 
    border: 1px solid #333; /* Borde para destacar el iframe 
    border-radius: 10px; /* Opcional, para bordes redondeados 
} */


/* Centrado general del contenedor */
.frame-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 100vh; /* Asegura centrado vertical */
}

/* Estilo del título personalizado */
.titulo-personalizado {
    font-size: 1.8rem; /* Ajusta el tamaño si es necesario */
    margin-bottom: 20px;
}

/* Estilo específico del visor PDF */
.visor-pdf {
    width: 90vw; /* Ajusta el tamaño según necesites */
    max-width: 1200px; 
    height: 70vh;
    border: none;
    background-color: #121212; /* Fondo oscuro */
    color: #ffffff; /* Texto claro */
    border-radius: 5px; /* Opcional */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3); /* Añade una sombra para destacar */
}


#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Opacidad y color */
    display: none; /* Oculto por defecto */
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Asegura que esté encima de todo */
}

#loading-spinner img {
    width: 100px; /* Tamaño del GIF */
    height: 100px;
}

#yapeModalCenterTitle{
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 25px;
    text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.3);
    color: rgb(255, 255, 255) !important;
}

.modal-content-yape {
    background-color: #6B0C86; /* Color morado del modal */
    color: white; /* Texto blanco para mejor contraste */
}
.qr-label-yape {
    font-family: 'Montserrat', sans-serif; /* Usar Montserrat si está disponible */
    font-weight: bold;
    font-size: 16px;
    color: white;
}

.intranet{
    color: yellow;
}

.titulo_card{
    color:#000 !important;
    font-weight: bold !important;
}

.card-directiva{
    height: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-directiva .card-text{
    color:#000 !important;
}

.post-video__image img{
    margin-top: 3vw;
}

/* .post-boxed{
    max-height: 90vh !important;
    height: 100% !important;
} */
.post-boxed {
    max-height: 500px !important; /* Altura fija */
    height: 500px !important;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #ddd; /* Para depuración, opcional */
}

/* .post-boxed .media-wrapper{
    max-height: 40vh !important;
    height: 100%;
    overflow: hidden;
} */

.post-boxed .media-wrapper {
    max-height: 272px;
    height: 272px;
    overflow: hidden;
}

.post-boxed .media-wrapper img{
    height: 100% !important;
    width: 100% !important;
    object-fit: contain !important;
}

/* .post-boxed .post-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
} */
.post-boxed .post-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px;
    overflow: hidden;
}

/* .post-exeption {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 4.5em; 
    line-height: 1.5em;
} */

.post-exeption {
    display: -webkit-box; /* Requerido para -webkit-line-clamp */
    -webkit-line-clamp: 3; /* Limita a 3 líneas para WebKit */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 4.5em; /* 3 líneas x line-height de 1.5em */
    line-height: 1.5em;
    /* Versión estándar (opcional, con soporte limitado) */
    line-clamp: 3; /* Para navegadores que soporten la propiedad sin prefijo */
}


/* Participacion */

.parallax-section {
    position: relative;
    width: 100%;
    height: 450px;
    background: url('../images/adb-img/participa.jpg') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
  }

  .parallax-section-cta {
    position: relative;
    width: 100%;
    height: 450px;
    background: url('../images/adb-img/donacion-back.jpg') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
  }
  
  .parallax-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(104, 140, 151, 0.6); /* Celeste con transparencia */
    z-index: 1;
  }

  .parallax-section-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(104, 140, 151, 0.6); /* Celeste con transparencia */
    z-index: 1;
  }

  .parallax-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 20px;
  }

  .parallax-content-cta {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 20px;
  }
  
  .parallax-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    color:khaki;
  }
  
  .parallax-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 800px;
    margin-bottom: 20vh;
  }

  .marquesina{
    position: relative;
    width: 100%;
    z-index: 25;
    margin-top: -60px;
  }
  .marquesina img{
    height: 50px;
    display: inline-block;
    margin-right: 15px;
  }

  .marquesina-item {
    margin: 0 10px;
  } 
  
  
/* Fin de Participacion */
/* Noticias principal */



.mostrar-mas {
    display: block;
    color: #007bff;
    text-decoration: none;
}

.mostrar-mas:hover {
    text-decoration: underline;
}

/* Hermoseando los cards de bootstrap */
/* Estilo base para las tarjetas */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    overflow: hidden; /* Para que la imagen no desborde */
}

/* Efecto al pasar el ratón por encima */
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #e0e5ec 0%, #a3b1c6 100%);
}

/* Imagen de la tarjeta */
.card .img-thumbnail {
    border-radius: 15px 15px 0 0; /* Arriba redondo */
    border: none; /* No border */
    transition: transform 0.3s ease;
}

.card:hover .img-thumbnail {
    transform: scale(1.05);
}

/* Título de la tarjeta */
.card-title {
    color: #fff;
    font-weight: bold;
}

/* Cuerpo de la tarjeta */
.card-body {
    padding: 1rem;
}

/* Texto dentro de la tarjeta */
.card-text {
    color: #fff;
}

/* Efecto de texto al pasar el ratón por encima */
.card:hover .card-text {
    color: #444;
}

/* Ajustes para imágenes dentro de las tarjetas */
.imagen-producto {
    width: 100%;
    height: 200px; /* Altura fija, ajusta según sea necesario */
    /*object-fit: cover; /* Para que la imagen cubra todo el espacio sin deformarse */
    object-fit: contain; /* Para que la imagen cubra todo el espacio sin deformarse */
}



/* fin de hermoseando los cards */


/* expande noticias */

/* Estilos para la estructura de la noticia */
.noticia-personalizada {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #0033A0;
    border-radius: 10px;
    padding: 20px;
    margin: 40px 20px !important; /* Añadimos margen en top y bottom, y reducimos el margen lateral para ocupar más ancho */
    max-width: calc(100% - 40px); /* Ajustamos el ancho máximo para ocupar casi todo el ancho de la pantalla */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    background-color: #F9F9F9;
}

/* Resto del CSS permanece igual */

.noticia-personalizada .col-md-4 {
    height: 70vh; /* 50% del alto del viewport */
}

.imagen-noticia-personalizada {
    width: 100%;
    height: auto;
    object-fit: cover;
}



.detalle-noticia-personalizada {
    flex: 1;
}

.titulo-noticia {
    font-size: 28px;
    font-weight: bold;
    color: #0033A0;
    margin-bottom: 10px;
}

.subtitulo-noticia {
    font-size: 20px;
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
}

.cuerpo-noticia {
    font-size: 12px;
    color: #333;
    line-height: 1.6;
    height: 30vh;
    overflow-y: auto;
}


.carrusel-personalizado {
    overflow-x: auto; /* Permite el scroll horizontal si las miniaturas exceden el ancho */
    overflow-y: hidden;
    white-space: nowrap;
}

/* Personalización de la barra de scroll */
.carrusel-personalizado::-webkit-scrollbar {
    width: 12px; /* Ancho de la barra de scroll */
}

.carrusel-personalizado::-webkit-scrollbar-track {
    background: #f1f1f1; /* Color de fondo de la pista de la barra de scroll */
    border-radius: 10px; /* Bordes redondeados para la pista */
}

.carrusel-personalizado::-webkit-scrollbar-thumb {
    background: #888; /* Color del pulgar de la barra de scroll */
    border-radius: 10px; /* Bordes redondeados para el pulgar */
}

.carrusel-personalizado::-webkit-scrollbar-thumb:hover {
    background: #555; /* Color del pulgar al pasar el ratón por encima */
}

/* Personalización de la barra de scroll para Firefox */
/* Nota: Firefox no soporta la personalización de la apariencia del pulgar como WebKit, solo el color y el ancho */
.carrusel-personalizado {
    scrollbar-width: thin; /* 'auto' o 'thin' para el ancho de la barra de scroll */
    scrollbar-color: #888 #f1f1f1; /* Primer valor es el color del pulgar, segundo es el color de la pista */
}


.miniatura-personalizada {
    width: auto;
    height: 100px;
    object-fit: contain;
    margin-right: 10px;
    display: inline-block;
    /* cursor: pointer;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: transform 0.3s; */
}

.miniatura-personalizada.activa {
    border: 2px solid #0033A0; /* Ejemplo de resaltado con un borde azul */
    box-shadow: 0 0 10px rgba(0, 51, 160, 0.5); /* Sombra para resaltar */
}

.miniatura-personalizada:hover {
    transform: scale(1.05);
}

.carrusel-nav {
    display: inline-block;
    vertical-align: middle;
    font-size: 24px;
    cursor: pointer;
    color: #0033A0;
    user-select: none;
}

.cerrar-noticia {
    display: block;
    margin-top: 20px;
    text-align: right;
    color: #0033A0;
    text-decoration: underline;
    cursor: pointer;
    font-weight: bold;
}


#browse-cards-noticias .tarjetas-noticias{
    max-height: 68vh !important;
    height: 66vh !important;
}

.card-title-noticia{
    color:#000 !important;
    font-weight: bold !important;
}

.letra-tarjeta-noticia{
    color:#000 !important;
}

.cta-donacion {
    font-weight: bold;
    font-size: 38px;
    color : #F0E68C
}

.cta-donacion-texto {
    font-weight: bold;
    font-size: 18px;
    color : #F0E68C
}
/* fin de expande noticias */

@media screen and (max-width: 1024px) {
    .rd-nav-link {
        color: #2c2466 !important; /* Color blanco para pantallas de tablets y móviles */
        font-weight: bold !important;
    }

    #card-mision{
        margin-bottom : 75px !important;
    }

    .owl-stage-outer {
        padding: 37px 1px !important;
    }

    .parallax-section {
        height: 585px !important;
        padding-bottom: 15px !important;
    }
}

@media screen and (max-width: 512px) {
    .card-container{
        margin: 10px auto;
    }

    .card-flip {
        perspective: 1000px;
    }

    .card-front, .card-back {
        backface-visibility: hidden;
        transition: transform 0.6s;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .card-back {
        transform: rotateY(180deg);
    }
    
    .card-container:hover .card-front {
        transform: rotateY(180deg);
    }
    
    .card-container:hover .card-back {
        transform: rotateY(360deg);
    }

    .section-lg {
        padding-top: 5px !important;
        padding-bottom: 10px !important;
    }



}

@media screen and (max-width: 768px){
    .noticia-personalizada .col-md-4 {
        height: 40vh;
      }

      .contactenos-video-background{
        max-width: unset;
        width: 100%;
      }

      .contactenos-video-overlay{
        max-width: unset;
        width: 100%;
      }

      .contactenos-video-container{
        max-width: 700px;
        width: 100%;
      }
}

@media (min-width: 768px) {
    .section-lg {
      padding-top: 40px !important;
      padding-bottom: 1px !important;
    }

    .noticia-personalizada .col-md-4 {
        /* Ajusta el tamaño del contenedor de la imagen para que sea más grande */
        height: 300px; /* Por ejemplo, puedes ajustar este valor */
    }
    .imagen-noticia-personalizada {
        /* Asegura que la imagen ocupe todo el contenedor */
        height: 100%;
    }
}

@media (min-width: 1200px) {
    .noticia-personalizada .col-md-4 {
        height: 400px; /* Ajusta a un tamaño aún mayor para pantallas muy grandes */
    }
}
