/*Permitir el deslizamiento suave*/
html {
    scroll-behavior: smooth;
}

/*Fuente externa*/
@font-face {
    font-family: 'URW DIN Arabic Thin';
    src: url('./fonts/URW\ DIN\ Arabic\ Thin.ttf') format('truetype');
}

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/********Dropdown Gigante********/
#fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 57, 87, 1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-100%);
    justify-content: flex-end; /* Alinea el contenido al lado derecho */
    transition: transform 0.5s ease-in-out;
    z-index: 1000;
    padding-right: 15%; /* Ajusta el espaciado derecho */
}

#fullscreen-menu.show {
    transform: translateY(0);
}

#fullscreen-menu .menu-content {
    text-align: right;
}

#fullscreen-menu ul {
    list-style-type: none;
    padding: 0;
}

#fullscreen-menu li {
    margin: 20px 0;
}

#fullscreen-menu a {
    color: #F2B3C4;
    font-size: 2rem;
    text-decoration: none;
    font-family: 'URW DIN Arabic Thin', sans-serif;	
}
#fullscreen-menu a:hover {
    font-weight: bold;
}

#fullscreen-menu .close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    text-decoration: none;
    color: #FFEAE8;
}
.hidden {
    display: none;
}

/***********Animacion de aparicion***********/
.animate-item {
    opacity: 0;
    transform: translateY(100px);
    transition: transform 1.2s ease, opacity 0.8s ease;
}

.animate-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-item:nth-child(1) {
    transition-delay: 0.3s;
}

.animate-item:nth-child(2) {
    transition-delay: 0.5s;
} 

/******************Estilos Generales*******************/
body{
    height: 100vh;
    margin: 0;
    font-family: Arial, sans-serif;
}
.button-container {
    margin-top: 10px;
    width: 220px;
}

.button-container .button {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    padding: 16px 30px;
    background-color: transparent;
    border-radius: 100px;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    width: 100%;
}
.button-container .button img{
    width: 15px;
    height: 15px;
    transition: transform 0.3s ease;
}
.button-container .button span{
    padding: 0;
    text-align: left;
    margin-left: 25px;
    font-family: 'URW DIN Arabic Thin', sans-serif;
    font-weight: bold;
    transition: margin-left 0.3s ease; /* Transición suave para el margen */
}
.button-container .button:hover span {
    margin-left: 15px;
}
.button-container .button:hover img {
    transform: rotate(45deg);
}
.btn-claro .button{
    color: #FFEAE8;
    border: 1px solid #FFEAE8;
}
.btn-claro .button:hover{
    color: #1A3957;
    border: 1px solid #1A3957;
    background-color: #FFEAE8;
}
.btn-claro .button:hover img{
    filter: brightness(0) saturate(100%) invert(17%) sepia(58%) saturate(600%) hue-rotate(169deg) brightness(97%) contrast(94%); /* Cambia el color de la imagen */
}
.btn-oscuro .button{
    color: #00274d;
    border: 1px solid #00274d;
}
.btn-oscuro .button img{
    filter: brightness(0) saturate(100%) invert(17%) sepia(58%) saturate(600%) hue-rotate(169deg) brightness(97%) contrast(94%); /* Cambia el color de la imagen */
}
.btn-oscuro .button:hover{
    color: #FFEAE8;
    border: 1px solid #1A3957;
    background-color: #00274d;
}
.btn-oscuro .button:hover img{
    filter: none;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background-color: rgba(255, 234, 232, 0.9);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

nav img {
    height: 40px;
}

.button-container-nav {
    display: flex;
    align-items: center;
}

nav .buttonnav {
    background-color: rgba(26, 57, 87, 0.9);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    text-decoration: none;
}

.button-container-nav img {
    height: 40px;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.button-container-nav img:hover {
    transform: rotate(90deg);
}

.section {
    background-color: #FFEAE8;
    padding-top: 12%;
}

.content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 95%;
    margin: 0 auto;
}

.left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-shrink: 0; /* Evita que el contenedor se reduzca de tamaño */

}
.subcontenedor-right {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    padding-bottom: 25px;
    margin-top: auto;  /* Alinea el contenido al fondo dentro de .right */
}
.subcontenedor-left {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden; /* Agregado para evitar el desbordamiento del video */
}

.img-inicio {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center; /* Centra la imagen dentro del contenedor */
    position: relative;
    z-index: 1;
}
.video-inicio {
    position: absolute;
    height: auto;
    width: 100%; /* Cambiado a 100% para que ocupe todo el ancho del contenedor */
    height: 99%; /* Asegura que ocupe todo el alto del contenedor */
    object-fit: cover;
    z-index: 0;
}

.img-inicio {
    
}
.subcontenedor-right p{
    text-transform: uppercase; 
    color: #00274d;
    font-weight: bold;
    font-family: 'URW DIN Arabic Thin', sans-serif;
}


.subcontenedor-line-left {
    width: 100%;
}
.subcontenedor-line-left .line{
    padding: 0;
    margin: 0;
}
.subcontenedor-line-right {
    width: 100%;
}

.left, .right {
    height:auto;
}

.left {
    flex: 0 0 70%;
}

.right {
    flex: 0 0 30%;
    text-align: left;
    flex-shrink: 0;  /* Evita que el contenedor se reduzca de tamaño */
    margin-top: auto;  /* Alinea el contenido al fondo */

}

.subcontenedor-left, .subcontenedor-right {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    padding-bottom: 25px;
}

.subcontenedor-line-left, .subcontenedor-line-right {
    height: 1px;
}



.seccion-2 {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 180px;
    padding-bottom: 100px;
    height: auto; /* Para centrar verticalmente */
    background-color: #FFEAE8;
  }
  
  .contenedor-img {
    position: relative;
    display: inline-block;
  }
  
  .img-seccion2 {
    width: 100%; /* Ajusta el tamaño de la imagen */
    height: auto;
    object-fit: cover;
  }
  
  .text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 110%;
    transform: translate(-50%, -50%);
    color: #00274d;
    font-size: 1.65rem;
    text-transform: uppercase;
    text-align: center;
  }
.text-overlay-signature{
    padding-top: 20px;
    font-size: 1.5rem;
    text-align: center;
    color: #00274d;
    font-weight: bold;
}
  
  .content-slider {
    position: relative;
    padding: 0;
    background-color: #FFEAE8;
}
  
  .content-slider-principal{
    padding:0;
    background-color: #FFEAE8;
}

.content-slider-multiple {
    position: relative;
}
.stock-ticker {
    font-size: 14rem;
    color: #00274d;
    padding-block: 0px;
    overflow: hidden;
    user-select: none;
    --gap: 20px;
    display: flex;
    gap: var(--gap);
}

.stock-ticker ul {
    list-style: none;
    flex-shrink: 0;
    min-width: 100%;
    font-family: 'URW DIN Arabic Thin', sans-serif !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--gap);
    animation: scroll 60s linear infinite;
}

.stock-ticker + .stock-ticker {
    margin-top: -5rem;
}

@keyframes scroll {
    to {
      transform: translateX(calc(-100% - var(--gap)));
    }
}

@keyframes scroll2 {
    to {
      transform: translateX(calc(-100% - var(--gap)));
    }
}


.section-3 {
    background-color: #FFEAE8;
    padding-top: 10px;
    padding-bottom: 100px;
}

.content-3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 90%;
    margin: 0 auto;
}

.left-3, .right-3 {
    height: 180px;
}

.left-3 {
    flex: 0 0 60%; /* La izquierda ocupará el 70% */
}

.right-3 {
    flex: 0 0 40%; /* La derecha ocupará el 30% */
    text-align: left;
}

.subcontenedor-left-3, .subcontenedor-right-3 {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    padding-bottom: 25px;
}

.subcontenedor-line-left-3, .subcontenedor-line-right-3 {
    height: 10%;
}

.line {
    height: 1px;
    background-color: #00274d;
    margin: 20px 0;
    width: 95%;
}
.sub-left-p{
    width: 60%;
    font-weight: bold;
    font-family: 'URW DIN Arabic Thin', sans-serif;
    font-size: 1.13rem;
    color: #00274d;
}



/*
.section-4 {
    background-color: #FFEAE8;
    color: white;
    padding-top: 0px;
    padding-bottom: 5px;
}

.subcontenedor-right-4{
    padding-top: 60px;
}

.content-4 {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 90%;
    margin: 0 auto;
    gap: 20px;
    flex-wrap: wrap;
}

.text-left-h1{
    font-size: 6.2rem;
    color: #00274d;
    font-weight: bold;
    text-transform: uppercase;
}

.left-4 {
    flex: 1;
    width: 10%;
}

.right-4 {
    width: 20%;
    flex: 2;
}

.card-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
    margin-bottom: 45px;
    margin-top: 30px;
}
  
.card {
    border: 1px solid #00274d !important;
    border-radius: 8px;
    text-align: center;
    display: flex;
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    margin: 0;
    width: 100%;
}

.subcontenedor-right-4 h3{
    font-size: 2.1rem;
    color: #00274d;
    font-weight: bold;
    text-align: left;
    padding-bottom: 40px;
    text-transform: uppercase;
}
.subcontenedor-right-4 p{
    font-size: 1.2rem;
    color: #00274d;
    text-align: left;
    font-family: 'URW DIN Arabic Thin', sans-serif;
    font-weight: bold;
}

.subcontenedor-line-4 {
    height: 10%;
}
*/

.section-4 {
    background-color: #FFEAE8;
    padding-top: 100px;
    padding-bottom: 140px;
}

.content-4 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 90%;
    margin: 0 auto;
    flex-wrap: wrap; /* Asegura que los elementos se envuelvan cuando sea necesario */
}

.left-4, .right-4 {
    height: auto;
    overflow: hidden; /* Evita que el contenido se desborde */

}

.left-4 {
    flex: 0 0 50%; /* La izquierda ocupará el 70% */
}

.right-4 {
    flex: 0 0 50%; /* La derecha ocupará el 30% */
    text-align: left;
    overflow: hidden; /* Evita el desbordamiento del contenido */
    max-width: 100%; /* Asegura que no se expanda más allá de su contenedor */
}

.subcontenedor-left-4, .subcontenedor-right-4 {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    padding-bottom: 25px;
}

.subcontenedor-line-left-4, .subcontenedor-line-right-4 {
    height: 10%;
}

.line {
    height: 1px;
    background-color: #FFEAE8;
    margin: 20px 0;
    width: 95%;
}
.sub-left-p-4{
    width: auto;
    font-weight: bold;
    font-size: 6rem;
    color: #1A3957;
    flex-wrap: wrap; /* Asegura que los elementos se envuelvan cuando sea necesario */

}

.card-container {
    display: grid; /* Usar grid */
    grid-template-columns: repeat(2, 1fr); /* Crear dos columnas de igual tamaño */
    grid-template-rows: repeat(2, auto); /* Crear dos filas con altura automática */    flex-wrap: wrap; /* Permitir que los elementos se envuelvan */
    gap: 20px;
    margin-top: 30px;
    padding: 0;
    overflow: hidden; /* Evita que se desborde contenido */
    box-sizing: border-box; /* Asegurar que el padding no cause desbordamiento */
}

.card {
    border: 1px solid #1A3957 !important;
    border-radius: 8px;
    text-align: center;
    display: flex;
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    box-sizing: border-box; /* Incluir padding y border en el cálculo del ancho */

}

/* Asegurar que las tarjetas ocupen el ancho completo si no hay suficiente espacio */
.card-container > .card {
    min-width: calc(50% - 20px);
}

.subcontenedor-right-4 h3{
    color: #1A3957;
    font-weight: bold;
    text-align: left;
    padding-bottom: 20px;
    width: 100%;
    text-transform: uppercase;
    font-size: 1.8rem; /* Ajusta el tamaño de la fuente */
    word-wrap: break-word;
}
.subcontenedor-right-4 p{
    font-size: 0.8rem;
    color: #1A3957;
    text-align: left;
    font-family: 'URW DIN Arabic Thin', sans-serif;
    font-weight: bold;
}


/*REVISAR*/
.line {
    height: 1px;
    background-color: #00274d;
    margin: 20px 0;
    width: 95%;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    padding: 10px;
    background-color: #FFEAE8;
    flex-wrap: wrap;
}

.footer-img {
    width: 60%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.footer-contenedor-logo{
    display: flex;
    width: 100%;
    align-items: center;
}

.footer-img img {
    width: 100%;
    max-width: 180px;
    height: auto;
    margin: 0;
    padding: 0;
}

.footer-img h1 {
    font-size: 5rem;
    color: #00274d;
    text-transform: uppercase;
    margin-left: 15px;
    text-align: left;
}

.footer-body{
    width: 18%;
}

.footer-nav{
    margin: 0;
    width:100%;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.footer-nav li {
    margin-bottom: 10px;
}

.footer-nav a {
    text-decoration: none;
    color: #2c3e50;
    font-size: 1rem;
    text-transform: uppercase;
}

.footer-contact{
    padding-top: 70px;
    color: #333;
}

.footer-contact p{
    padding: 5px 0;
    font-size: 1rem;
    text-transform: uppercase;
    word-wrap: break-word;
}

.footer-contact p a{
    font-size: 1rem;
    text-decoration: none;
    color: #000;

}
/*
.btn-5 {
    margin-top: 100px;
}
.btn-5 span{
    color: #00274d;
}
.btn-5 span:hover{
    color: #FFEAE8;
}
.btn-5 a{
    border: #00274d 1px solid !important; 
}*/

.footer-text{
    padding-top: 30px;
}
.footer-text p{
    font-size: 1rem;
    color: gray;
}
.footer-text a{
    text-decoration: none ;
    color: gray;
}
.btn-4{
    padding-top: 100px;
    width: 235px;
}
/**/
.btn-5{
    width: 100%;
}
.btn-5 .button span{
    padding: 0;
    margin: 0;
    text-align: center;
}

.section-5{
    background-color: #FFEAE8;
    padding: 50px 50px;
}
.subcontenedor-line-5 .line{ 
    width: 100%;
    height: 0.5px;
    color: #1A3957;
}

@media (max-width: 1300px) {  
    
    .text-left-h1{
        font-size: 5rem;
    }
    .card h3{
        font-size: 1.4rem;
    }
    
    .sub-left-p-4{
        font-size: 4.7rem;
    }
    .left-4 {
        flex: 0 0 45%; /* La izquierda ocupará el 70% */
    }
    
    .right-4 {
        flex: 0 0 55%; /* La derecha ocupará el 30% */
    }
} 
@media(max-width: 1200px){
    .card h3{
        font-size: 1.2rem;
    }
    .sub-left-p-4{
        font-size: 4.48rem;
    }
}

@media (max-width: 1130px) {  
    .text-overlay{
        font-size: 1.5rem;
        width: 110%;
    }
    .contenedor-img{
        width: 80%;
    }
    .seccion-2{
        padding-top: 110px;
    }
    .sub-left-p-4{
        font-size: 4.2rem;
    }
}
@media(max-width: 1064px){
    .sub-left-p-4{
        font-size: 3.9rem;
    }
}
@media(max-width: 1000px){
    .card h3{
        font-size: 1.1rem;
    }
    .sub-left-p-4{
        font-size: 3.5rem;
    }
}
@media(max-width: 960px){
    .card h3{
        font-size: 1rem;
    }
    .sub-left-p-4{
        font-size: 3.3rem;
    }
    .card p{
        font-size: 0.8rem;
    }
    .footer-img img {
        max-width: 160px;
    }
    .footer-img h1{
        font-size: 4rem;
    }
    .section-4{
        padding-top: 0px;
        padding-bottom: 0px;
    }
}

@media (max-width: 880px) {  
    .content-4 {
        flex-direction: column; /* Cambiar el layout de flex a columna */
        align-items: center;
    }
    .left-4{
        width: 100%;
    }
    .text-left-h1{
        font-size: 4rem;
    }
    .subcontenedor-right-4{
        padding-top: 10px;
    }
    .card-container{
        padding: 0;
    }
    .card h3{
        font-size: 1.8rem;
    }
    .card p{
        font-size: 1.1rem;
    }
    .stock-ticker{
        font-size: 12rem;
    }
    .section-3{
        padding-top: 115px;
    }
    .section-4{
        padding-top: 50px;
        padding-bottom: 0px;
    }
} 

@media (max-width: 800px) {  
    .text-overlay{
        font-size: 1.2rem;
        width: 110%;
    }
    .text-overlay-signature{
        font-size: 1.3rem;
    }
    .video-inicio{
        height: 95%;
    }
    .subcontenedor-line-left .line{
        display: none;
    }
    .subcontenedor-right{
        padding-top: 20px;
        padding-bottom: 10px;
    }
    .subcontenedor-right p{
        font-size: 0.9rem;
        width: 50%;
    }
    .section{
        padding-top: 17%;
    }
    .content{
        flex-direction: column;
        align-items: start;
    }
    .video-inicio{
        height: 98%;
    }
    .footer-content {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-start; /* Alinear los elementos hacia la parte superior */
        width: 100%;
        padding: 10px;
        background-color: #FFEAE8;
        flex-wrap: wrap; /* Permite que los elementos se envuelvan si no hay suficiente espacio */
        padding-top: 20px;
    }
    .footer-img {
        width: 100%;
        display: flex;
        padding-left: 15px;
        flex-direction: column; /* Asegura que los hijos estén alineados en columna */
        align-items: flex-start; /* Alinea el contenido a la izquierda */
        justify-content: flex-start; /* Alinea el contenido hacia la parte superior */
    }
    
    .footer-img img {
        max-width: 130px;
        margin: 0; /* Quita cualquier margen que pueda afectar el posicionamiento */
        padding: 0; /* Quita cualquier padding que pueda afectar el posicionamiento */
    }
    .footer-img h1 {
        font-size: 4rem; /* Ajusta el tamaño de fuente para pantallas más pequeñas */
        margin-left: 15px; /* Espacio entre el logo y el texto */
    }
    .footer-body{
        width: 100%;
        padding-left: 15px;
        display: flex;
    }
    .footer-nav{
        margin: 0;
        padding-top: 20px;
        width:100%;
    }
    .footer-nav a {
        font-size: 1rem;
    }
    .footer-contact{
        margin: 0;
        padding: 0;
        padding-top: 20px;
        padding-left: 15px;

    }
    .footer-contact p{
        font-size: 1rem;
        text-transform: uppercase;
        word-wrap: break-word;
    }
    .footer-contact p a{
        font-size: 1rem;
        text-decoration: none;
        color: #000;
    
    }
    .btn-4{
        padding-top: 20px;
        padding-bottom: 20px;
    }
    .sub-left-p{
        width: 100%;
        font-size: 1.2rem;
    }
    
} 

@media (max-width: 790px) { 

} 
@media(max-width:772px){
    

}

@media(max-width:708px){

}

@media(max-width:688px){
    .sub-left-p{
        width: 100%;
        font-size: 1rem;
    }
    .section{
        padding-top: 20%;
    }
    .text-overlay{
        font-size: 1.1rem;
    }
    .text-overlay-signature{
        font-size: 1.1rem;
    }
    .stock-ticker{
        font-size: 10rem;
    }
    .section-3{
        padding-top: 80px;
        padding-bottom: 60px;
    }
    .text-left-h1{
        font-size: 3.3rem;
    }
    .card h3{
        font-size: 1.8rem;
        width: 100%;
    }
    .card p{
        font-size: 1.1rem;
        width: 100%;
    }
    .card-container {
        grid-template-columns: repeat(1, 4fr);
    }

}
@media(max-width:608px){
    
    .footer-img img {
        max-width: 120px; /* Limita el tamaño máximo del logo */
    }
    .footer-img h1 {
        font-size: 4rem; /* Ajusta el tamaño de fuente para pantallas más pequeñas */
        margin-left: 15px; /* Espacio entre el logo y el texto */
    }
}
@media(max-width:578px){
    .text-overlay{
        font-size: 1rem;
    }
    .text-overlay-signature{
        font-size: 0.76rem;
    }
    .stock-ticker{
        font-size: 9rem;
    }
    .contenedor-img{
        width: 90%;
    }
    .stock-ticker + .stock-ticker {
        margin-top: -4rem;
    }
    .content-slider-principal{
        display: none;
    }
    
}

@media(max-width:532px){
    
}

@media(max-width:510px){
    
    .footer-img img {
        max-width: 100px; /* Limita el tamaño máximo del logo */
    }
    .footer-img h1 {
        font-size: 3.5rem; /* Ajusta el tamaño de fuente para pantallas más pequeñas */
        margin-left: 15px; /* Espacio entre el logo y el texto */
    }
    .footer-nav li a{
        font-size: 0.9rem;
    }
    .footer-contact p{
        font-size: 0.9rem;
    }
    .btn-4{
        width: 200px;
    }
    .btn-4 .button-content-1 img{
        width: 12px;
        height: auto;    
    }
    .btn-4 .button-content-2 span{
        font-size: 0.99rem;
    }
    .subcontenedor-right p{
        font-size: 0.88rem;
    }
    .card p{
        font-size: 1rem;
    }
    .text-overlay{
        font-size: 0.9rem;
    }
}

@media(max-width:480px){
    
}

@media(max-width:455px){
    .subcontenedor-right p{
        font-size: 0.7rem;
    }
    .btn-4{
        display: none;
    }
    .text-overlay{
        font-size: 0.8rem;
    }
    .stock-ticker{
        font-size: 7.4rem;
    }
    .stock-ticker + .stock-ticker {
        margin-top: -3rem;
    }
    .seccion-2{
        padding-bottom: 65px;
    }
    
}

@media(max-width:409px){
    .footer-img img {
        max-width: 80px; /* Limita el tamaño máximo del logo */
    }
    .footer-img h1 {
        font-size: 3rem; /* Ajusta el tamaño de fuente para pantallas más pequeñas */
    }
    .footer-nav li a{
        font-size: 0.8rem;
    }
    .footer-contact p{
        font-size: 0.8rem;
    }
    .row-card h3{
        font-size: 1.19rem;
    }

}
@media(max-width:368px){
    
}
@media(max-width:322px){
    
}