html, body{
    scroll-behavior: smooth;
    margin: 0; /* Elimina cualquier margen por defecto */
    padding: 0; /* Elimina cualquier padding por defecto */
    width: 100%;
    height: 100%;
    
}

body{
    background-color: rgb(0, 84, 97);
}

/* .hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
} */

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    margin-top: 0; /* Asegura que el margen superior sea 0 */
}
  
.carousel {
    display: flex;
    width: 300%;
    transition: transform 0.5s ease-in-out;
}

  
.carousel-item {
    flex: 1 0 100%;
}
  
/* .carousel-item img {
    width: 40%;
    height: auto;
    object-fit: cover;
} */

.carousel-item img {
    width: 35%; /* Asegura que la imagen ocupe todo el ancho del carrusel */
    height: 100%; /* Asegura que la imagen ocupe toda la altura disponible */
    object-fit: cover;
}
  
button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    cursor: pointer;
    padding: 10px;
}

  
.prev {
    left: 10px;
}
  
.next {
    right: 10px;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1; /* Asegura que esté detrás del contenido */
}
  
.hero-content {
    position: relative;
    z-index: 1; /* El contenido estará encima de la imagen */
    text-align: center;
    color: white;
    padding-top: 40vh; /* Ajusta según el diseño */
}

a{
    text-decoration: none;
}

header {
    width: 100%;
    background-color: transparent;
    position: fixed; /* Fija el header en la parte superior */
    top: 0; /* Lo alinea al borde superior */
    z-index: 1000; /* Asegura que el header esté sobre otros elementos */
    transition: background-color 0.3s ease;
    left: 0;
}

header.scrolled {
    background-color: black; /* Fondo opaco al hacer scroll */
}

.header-contenedor{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: transparent;
    margin-left: 100px;
}

.div-logo{
    background-color: transparent;
    width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.logoFouces{
    width: 225px;
    filter: invert(1);
    transition: transform 0.5s ease;
}

.logoFouces:hover{
    transform: scale(1.1);
}




nav{
    background-color: transparent;
    gap: 25px;
    z-index: 10;
    width: 650px;
    margin-right: 150px;
    font-family: "Raleway", sans-serif;
    display: flex;
    justify-content: space-around;
    transition: background-color 0.3s ease;
}

nav.scrolled {
    background-color: black; /* O el color que prefieras */
  }

.a-nav{
    font-size: 18px;
    color: #fdf5e6;
    transition: 0.3s;
}

/* Icono de menú para móviles */
.menu-icon {
    display: none;
    font-size: 30px;
    color: #fdf5e6;
    cursor: pointer;
}

.principal {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 650px;
    /* background-image: url('img/apretonManos.jpg'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed;  */
}



main {
    margin-top: 0; /* Elimina cualquier margen que pudiera haber quedado arriba */
    padding: 0; /* Elimina cualquier padding extra */
}

/* .section-nosotros{
    padding-top: 175px;
    padding-bottom: 95px;
    background-color:rgb(0, 84, 97);
} */

.section-nosotros {
    padding-top: 150px; /* Asegura que la sección empiece por debajo del header fijo */
    padding-bottom: 95px;
    background-color: rgb(0, 84, 97);
}

.h2-nosotros{
    margin-left: 25px;
    color: #fdf5e6;
    font-family: "Raleway", sans-serif;
    font-size: 40px;
    text-decoration: none;
    width: auto;
    letter-spacing: 10px; /* Aumenta el espaciado entre letras */
    margin-bottom: 30px; /* Agrega espacio debajo del texto */
    text-align: center;
}

.p-nosotros{
    color: #fdf5e6;
    font-family: "Bodoni", sans-serif;
    font-size: 19px;
    text-decoration: none;
    line-height: 1.8; /* Aumenta la legibilidad */
    letter-spacing: 0.3px;
}

.container-nosotros{
    display: flex;
    justify-content: center;
}


.primer-div{
    background-color: black;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.segundo-div{
    background-color: rgb(0, 84, 97);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tercer-div{
    background-color: rgb(145, 104, 26);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.div-nosotros{
    background-color: rgb(0, 84, 97);
    border: 2px solid rgb(145, 104, 26);
    border-radius: 8px;
    padding: 15px;
    margin: 15px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    flex: 1 1 calc(30% - 20px); /* Cada tarjeta ocupará el 30% del espacio */
    max-width: 300px;
    text-align: center;
}

.div-nosotros:hover {
    transform: scale(1.05);
    box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.2);
}

.resaltado-azul {
    color: rgb(0, 84, 97);
    font-weight: bold; /* Opción para darle más énfasis */
}

.resaltado-dorado {
    color: rgb(145, 104, 26);
    font-weight: bold;
}

h4 {
    font-family: "Raleway", sans-serif;
    color: #fdf5e6;
    font-size: 20px;
    transition: color 0.5s ease, text-shadow 0.5s ease, transform 0.5s ease; /* Transición más suave */
}

.div-nosotros:hover h4 {
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.8); /* Sombra más notoria */
    transform: scale(1.05); /* Realce más perceptible */
    color: rgb(145, 104, 26); /* Cambiar color al hover */
    transition: color 0.5s ease, text-shadow 0.5s ease, transform 0.5s ease;
}

.hr-nosotros{
    border: 1px solid rgb(145, 104, 26);
}

.div-iconos{
    display: flex;
    align-items: center;
    justify-content: center;
}

.separador-dorado {
    border: none; /* Elimina el estilo predeterminado */
    height: 3px; /* Ajusta el grosor de la línea */
    background-color: rgb(145, 104, 26); /* Color dorado */
    margin: 20px 0; /* Espaciado superior e inferior */
    width: 80%; /* Ajusta el ancho de la línea */
    margin-left: auto; /* Centra horizontalmente */
    margin-right: auto; /* Centra horizontalmente */
}

.img-main{
    width: 135px;
    filter: invert(1);
    transition: 0.2s;
}

.section-clientes {
    padding: 100px 20px;
    /* background-color: rgb(145, 104, 26); */
    /* background-color: black; */
    background-color: rgb(0, 84, 97);
    text-align: center;
}

.h2-nosotros-clientes {
    color: #fdf5e6;
    font-family: "Raleway", sans-serif;
    font-size: 36px;
    margin-bottom: 50px;
    letter-spacing: 5px;
    text-align: center;
}

 .clientes-grid { 
    /* display: grid;  */
    display: flex;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* Asegúrate de que cada tarjeta tenga un mínimo de 250px */
    gap: 50px; /* Espacio entre las tarjetas  */
    padding: 20px; /* Espacio alrededor del contenedor */
    justify-content: center;
    /* justify-items: center; */
    align-items: center; 
}

.cliente-card { 
    /* background-color: rgb(145, 104, 26); */
    background-color: rgb(0, 84, 97);
    /* border: 2px solid rgb(0, 84, 97); */
    border: 2px solid rgb(145, 104, 26);
    border-radius: 10px; 
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
    padding: 20px; 
    width: 100%; 
    max-width: 250px; 
    display: flex; 
    flex-direction: column; /* Coloca los elementos en columna */
    /*justify-content: flex-start;  Alinea los elementos al inicio */
    justify-content: center;
    align-items: center; 
    position: relative; 
    overflow: hidden; 
}

.cliente-card img {
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease;
} 


.p-banco{
    font-family: "Raleway", sans-serif;
    font-size: 15px;
    color: #fdf5e6;
}

.p-banco-bsj{
    font-family: "Raleway", sans-serif;
    font-size: 15px;
    color: #fdf5e6;
    padding-top: 100px;
}


.cliente-card:hover img {
    transform: scale(1.1);
}

.btn { 
    font-family: "Raleway", sans-serif;
    font-size: 15px;
    margin-top: 10px; 
    padding: 5px 10px; 
    background-color: rgb(0, 84, 97); 
    color: #fdf5e6; 
    text-decoration: none; 
    border-radius: 5px; 
    transition: background-color 0.3s; 
} 

.btn:hover { 
    background-color: rgb(145, 104, 26); 
}

#tengoDeuda{
    padding-top: 100px;
    padding-bottom: 95px;
    background-color:rgb(0, 84, 97);
}

.p-Bodoni {
    /* font-family: 'Bodoni Moda', serif; */
    font-family: "Raleway", sans-serif;
    font-size: 25px;
    color: rgb(145, 104, 26);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}


.deuda-grid{
    display: flex;
    /* grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); */ /* Asegúrate de que cada tarjeta tenga un mínimo de 250px */ 
    /* gap: 20px; */ /* Espacio entre las tarjetas */ 
    padding: 20px; /* Espacio alrededor del contenedor */ 
    justify-content: space-around;
    justify-items: center;
    align-items: center; 
}

.deuda-card{
    background-color: rgb(0, 84, 97);
    border: 2px solid rgb(145, 104, 26);
    border-radius: 10px; 
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
    padding: 20px; 
    width: 100%; 
    max-width: 700px; 
    display: flex; 
    flex-direction: column; /* Coloca los elementos en columna */ 
    justify-content: flex-start; /* Alinea los elementos al inicio */ 
    align-items: center; 
    position: relative; 
    overflow: hidden; 
    text-align: center;
}

.deuda-card:hover {
    transform: scale(1.1);
}

.deuda-card:hover p{
    color: #f9f9f9;
}

.deuda-card:hover li {
    color: #f9f9f9;
}

.deuda-card:hover li a{
    color: rgb(145, 104, 26);
}

.p-Bodoni-contacto span{
    color: rgb(145, 104, 26);
}

.tips-list {
    /*font-family: 'Bodoni Moda', serif;  Fuente */
    font-family: "Raleway", sans-serif;
    font-size: 20px;
    color: rgb(145, 104, 26); /* Color del texto */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Sombra */
    list-style-position: inside; /* Los números se alinean dentro del contenedor */
    margin: 0; /* Elimina el margen por defecto */
    padding: 0; /* Elimina el padding por defecto */
    text-align: left; /* Alinea el texto a la izquierda */
}

.tips-list li {
    margin-bottom: 10px; /* Espacio entre los elementos de la lista */
}

.tips-list li {
    margin-bottom: 10px; /* Espacio entre los elementos de la lista */
}

li a{
    color: #f9f9f9; /* Color del enlace */
    text-decoration: none; /* Remueve subrayado */
    font-weight: bold; /* Hace el texto más notorio */
    transition: transform 0.3s ease, color 0.3s ease; /* Transición suave */
}

li a:hover{
    transform: scale(1.5); 
}

.p-Bodoni-contacto{
    /* font-family: 'Bodoni Moda', serif; */
    font-family: "Raleway", sans-serif;
    font-size: 30px;
    color: #f9f9f9;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.logosDeuda {
    padding-top: 50px;
    display: flex;
    gap: 100px; /* Espacio entre los círculos */
    align-items: center;
    justify-content: center;
}

.logo-circle {
    position: relative;
    width: 150px; /* Ancho del círculo */
    height: 150px; /* Alto del círculo */
    border-radius: 50%; /* Hace que el contenedor sea circular */
    overflow: hidden; /* Asegura que la imagen no se salga del círculo */
    display: flex; /* Alineación de la imagen dentro del círculo */
    justify-content: center;
    align-items: center;
    background-color: #f0f0f0; /* Color de fondo opcional */
    border: 2px solid rgb(145, 104, 26); /* Borde del círculo */
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.logo-circle:hover {
    background-color: rgba(0, 0, 0, 0.7); /* Oscurece el fondo */
    transform: scale(1.1); /* Efecto de ampliación */
}

.logo-circle img {
    width: 100%; /* Ajusta la imagen al contenedor */
    height: 100%; /* Asegura que la imagen cubra todo el círculo */
    object-fit: cover; /* Asegura que la imagen no se deforme */
    transition: opacity 0.3s ease;
}

.logo-circle:hover img {
    opacity: 0.3; /* Reduce la opacidad de la imagen */
}


.icons {
    position: absolute;
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    opacity: 0; /* Los íconos están ocultos por defecto */
    transition: opacity 0.3s ease;
    flex-direction: row; /* Alinea los íconos en una fila */
    width: 100%;
    height: 100%; /* Asegura que ocupe todo el círculo */
    top: 0;
    left: 0;
}

.logo-circle:hover .icons {
    opacity: 1; /* Muestra los íconos al pasar el mouse */
}

.icons i {
    font-size: 20px;
    color: white; /* Color de los íconos */
    cursor: pointer;
    transition: transform 0.3s ease;
}

.icons i:hover {
    transform: scale(1.5); /* Efecto de ampliación en los íconos */
}


/* Estilos Generales */
#contacto {
    display: flex;
    padding: 100px 50px;
    background-color: black;
    color: white;
    font-family: 'Raleway', sans-serif;
    gap: 20px;
    position: relative;
    z-index: 10;
    overflow: hidden; /* Evita que elementos externos interfieran */
}

.rotulo-contacto {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    text-align: center;
    padding: 20px;
}

.texto-contacto {
    font-family: 'Bodoni Moda', serif;
    font-size: 24px;
    color: white;
    line-height: 1.5;
}

.formulario-contacto {
    width: 50%;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative; /* Importante para evitar superposiciones no deseadas */
    z-index: 1; /* Asegura que el formulario esté encima de otros elementos */
}

.label-contacto {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    color: white;
    margin-bottom: 5px;
}

.input-contacto, 
.textarea-contacto {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    font-family: 'Raleway', sans-serif;
    border: 1px solid #666;
    border-radius: 5px;
    background-color: #222;
    color: white;
}

.input-contacto:focus, 
.textarea-contacto:focus {
    outline: none;
    border-color: #91451A; /* Color del borde al enfocar */
    box-shadow: 0 0 5px #91451A;
}

.textarea-contacto {
    resize: none;
}

/* Botón */
.boton-contacto {
    background-color: #91451A;
    color: white;
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    align-self: flex-start; /* Alinea el botón al inicio */
    margin-top: 300px; /* Espacio adicional para separación */
}

.boton-contacto:hover {
    background-color: #663814;
}





footer{
    width: 100%;
    height: auto;
    background-color: black;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-footer{
    display: flex;
    flex-direction: column;
    margin-left: 250px;
    margin-top: 75px;
    margin-bottom: 35px;
}

.logo-footer{
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background-color: black;
}


.p-footer-nombre{
    color: #fdf5e6;
    font-family: 'Vogue', sans-serif;
    font-size: 20px;
    background-color: black;
    margin-bottom: 0px;
}

.div-logo-footer-n{
    background-color: rgb(145, 104, 26);
    height: 5px;
    width: 100%;
    margin-top: 0px;
}

.div-logo-footer-a{
    background-color: rgb(0, 84, 97);
    height: 5px;
    width: 100%;
    margin-top: 0px;
}

.p-footer{
    color: #fdf5e6;
    font-family: "Raleway", sans-serif;
    font-size: 13px;
    margin-top: 3px;
}

.redes-footer{
    display: flex;
    flex-direction: column;
    margin-right: 250px;
    margin-top: 75px;
    margin-bottom: 35px;
}

.fila-redes{
    display: flex;
    background-color: black;
    justify-content: space-between;
    width: 100px;
}


.footer-icono{
    width: 25px;
    filter: invert(1);
    transition: 0.3s;
}

.p-footer-derecha{
    color: #fdf5e6;
    font-family: "Raleway", sans-serif;
    font-size: 15px;  
    transition: 0.3s; 
}


/* Eventos */

.a-nav:hover, .img-main:hover, .p-footer-derecha:hover{
    transform: scale(1.1);
}

