body, html{
    background-color: #ffffff;
    height: 100%;  
    margin: 0; 
    padding: 0; 
    max-width: 100%;
    overflow-x: hidden;
    font-family: "RedHatDisplay", sans-serif;
}

.home-page-first-section {
    position: relative;
    width: 100%;
    height: 48rem;
    overflow: hidden;
}

.custom-swiper-container, .swiper-wrapper, .custom-swiper-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 78%;
    max-height: 48rem;
}
.active-link {
    border-top: 8px solid rgb(29, 68, 143);
    margin-top: -1rem;
}

.custom-swiper-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.custom-swiper-slide::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: linear-gradient(rgb(11 11 58 / 30%), rgba(24, 43, 59, -0.9));
    pointer-events: none;
}
.container-box {
    height: 600px;
    overflow: hidden;
}

.swiper-container, .swiper-wrapper, .swiper-slide {
    height: 100%;
    width: 100%;
}

.swiper-slide img {
    max-height: 140%;
    width: 93%;
}
.swiper-container-1 {
    height: 20rem
}

.content {
    position: relative;
    z-index: 2;
}

.logo-container {
    padding: 0;
    margin: 0;
    text-align: left;
    margin-left: 7%;
    margin-top: 3%;
    width: 12rem;
}

.logo-container img {
    margin-right: auto;
    display: block;
    width: 100%;
}

.container, .container-fluid {
    padding-left: 0;
    padding-right: 0;
    margin-right: 0; 
    margin-left: 0;
}
.navbar-nav .nav-link {
    color: white !important;
    font-size: 1.25rem;
}
.navbar-nav .nav-link:hover {
    color: #cccccc !important; 
}
.nav-item {
    margin-right: 7rem; 
}

.nav-item:last-child {
    margin-right: 0; 
}
.navbar-wrapper {
    border-top: 5px solid #ffffff;
    padding-right: 5%; 
    width: 94%;
    margin-left: auto;

}
.nav-link-custom {
    background-color: #ffd100; /* Fondo blanco */
    border-radius: 5px; /* Borde redondeado de 5px */
}
.absolute-container {
    position: absolute;
    top: 20rem; 
    width: 100%;
    padding-left: 6%;
}
.text-principal{

    width: 100%; 
    text-align: left; 
    color: #ffffff;
}

.text-principal-one{
    font-size: 2.8rem;
    line-height: 100%;
}
.text-principal-two{
    font-size: 4rem;
    line-height: 100%;
}
.logo-inferior {
    text-align: left;
}
.logo-inferior img {
    margin-top: 3rem;
    width: 8rem;
    text-align: left;
}
.cajas-container {
    display: flex; 
    width: 83%;
    margin-top: -6%;
    margin-left: 9%;
}

.caja {
    display: flex; 
    align-items: center; 
    gap: 20px; 
    flex: 1;
    position: relative;
    z-index: 2;
}

.caja-img {
    width: 8rem;
    padding-left: 3rem;
    height: auto;
}
.caja-img img{
    width: 40%; 

}
.caja-texto {
    margin: 4%;
    padding-left: 3rem;
    flex-grow: 1;
    line-height: 115%;
    color: white;
    font-size: 1.25rem;
    padding-right: 5rem;
}
.caja-texto h5 {
    font-weight: bold;
    font-size: 1.5rem;
}
.caja-azul {
    background-color: rgba(44, 67, 115, 0.918);
    cursor: pointer;
}

.caja-gris {
    background-color: rgba(66, 66, 66, 0.705);
    cursor: pointer;
}
.cajas-completas-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    margin-left: 6%;
}

.caja-completa {
    width: 34%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 6%;
    margin-top: 0;
}

.titulo-grande {
    font-size: 1.5rem; /* Tamaño de letra para el título */
    text-align: center;
    color: rgb(44, 67, 115);
}

.texto-grande {
    font-size: 1.25rem; /* Tamaño de letra para el texto */
    text-align: left;
    color: rgb(96, 96, 96);
    padding-top: 8%;
    padding-bottom: 10%;
}

.fondo-azul-container {
    background-color: rgb(29, 68, 143); /* Cambia "blue" por el tono exacto de azul que desees, por ejemplo: #3498db */
    display: flex;
    width: 100%; /* Ocupa el 100% del ancho de la pantalla */
    justify-content: space-between; /* Distribuye las cajas equitativamente en el espacio disponible */
    padding: 20px;
    position: relative;
    z-index: 1; 
}

.contenido-texto, .contenido-imagen {
    width: 45%; /* Un poco menos del 50% para dejar espacio entre las cajas, puedes ajustar este valor */
}

.contenido-imagen img {
    width: 25rem;
    height: auto;
    padding-top: 3rem;
    padding-bottom: 4%;
    cursor: pointer;
}

.contenido-texto{
    color: #ffffff;
    width: 50%;
    padding-top: 3%;
    padding-left: 9%;
    padding-right: 12%;
    font-size: 1.25rem;
    margin-left: 9rem;
}
.contenido-texto h4{
    font-size:1.5rem; ;
}

.second-section-image {
    background-image: linear-gradient(
                        rgb(26, 68, 143)0%,
                        rgb(26, 68, 143, 0.81)5%,
                        rgba(24, 43, 59, 0.150)50%,
                        rgba(6, 6, 6, 0.3)100%), 
                        url('img/CASA%20TERRANEA-GAELLA-27v3%20low.jpg');
    height: 48rem; 
    width: 100%; 
    background-size: cover; 
    background-position: center;
    background-repeat: no-repeat;
    border: none;   
    padding: 0;
    position: relative;
    display: flex;
    justify-content: center; /* Centra el contenido horizontalmente */
    align-items: center;     /* Centra el contenido verticalmente */
    cursor: pointer;
}
.second-section-image p{
    color: #ffffff;
    font-size: 4rem;
    line-height: 105%;
}
.second-section-image img{
    width: 13%;
    padding-left: 3rem;
    padding-right: 3rem;
}

.container-box{
    width:60%;
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
    height: 25rem;
}

.swiper-slide {
    overflow: hidden; /* Esto ocultará cualquier parte del slide que exceda el ancho del contenedor */
}

.team-home {
    position: relative;
    width: 20%; /* Ancho fijo para cada slide */
    margin: 0 20px; /* Margen a ambos lados del slide */
    overflow: hidden; /* Esconde cualquier contenido que exceda el tamaño de la caja */
}

.team-home img {
    display: block;
    width: 90%;
    height: 100%;
    object-fit: cover; /* Asegura que la imagen cubra todo el espacio de la caja */
}

.text-container-slide {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgb(30 45 77 / 63%);
    padding: 5px 10px;
    border-radius: 12px;
}

.plus-button {
    color: #fff; /* Color del texto del botón */
    cursor: pointer; /* Cambia el cursor a una mano cuando se pasa por encima */
    font-size: 1.6rem;
    margin-bottom: 5px; /* Espacio entre el botón y el texto pequeño */
}

.small-text {
    font-size: 12px; /* O el tamaño que desees */
    color: #ffffff; /* O el color que desees */
    overflow-wrap: break-word; /* Esto hará que las palabras se rompan y pasen a la siguiente línea si son demasiado largas */
}

.plus-button:hover {
    background-color: #333; /* Cambia el color de fondo del botón al pasar el cursor por encima */
}
.full-screen-container {
    display: flex;
    justify-content: space-between; /* Distribuye el espacio entre los dos divs */
    align-items: center; /* Centra verticalmente los elementos */
    width: 100%; /* Ocupa el 100% del ancho de la ventana */
    padding: 0 20px;
    margin-top: 5rem;
    margin-bottom: 3%;
}

.left-text {
    font-size: 1.5rem; 
    line-height: 110%;
    color: rgb(30, 45, 77);
    padding-left: 18%;
}

.navigation-buttons {
    display: flex;
    gap: 3px;
    padding-right: 16%;
}

.custom-prev, .custom-next {
    background-color: gray;
    color: white;
    border: none;
    border-radius: 50%; /* Hace que los botones sean redondos */
    width: 50px; /* Ajusta según tus necesidades */
    height: 50px; /* Ajusta según tus necesidades */
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Añade una pequeña sombra */
    cursor: pointer;
}

.custom-prev:hover, .custom-next:hover {
    background-color: darkgray; /* Cambia el color de fondo al pasar el cursor por encima */
}

.gray-container {
    background-color: rgb(218, 222, 224);
    width: 100%;
    margin-top: -15rem;
    height: 40rem;
    display: flex;
    justify-content: space-between; /* Distribuye el espacio entre las cajas de imagen */
    padding: 20px; /* Espacio alrededor del contenedor */
}

.main-container {
    width: 61%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    margin-top: 14rem;
}

.image-box {
    flex: 1; /* Cada caja ocupa un tercio del espacio disponible */
    margin: 0 10px; /* Espacio entre las cajas */
    text-align: center; /* Centra el texto y la imagen */
    display: flex;
    flex-direction: column; /* Organiza los elementos en una columna */
    align-items: center; /* Centra horizontalmente */
    justify-content: center; /* Centra verticalmente */
}

.image-box img {
    width: 58%;
    height: 8rem;
    object-fit: contain;
    display: block;
    margin-bottom: 10px;
}

.text-container {
    margin-top: 3rem;
    font-size: 1.2rem;
    color: rgb(30, 45, 77);
}

.image-box:nth-child(2) {
    border-left: 1px solid #000000b9; /* Borde izquierdo */
    border-right: 1px solid #000000b9; /* Borde derecho */
}
.image-box:nth-child(3) {
    border-right: 1px solid #000000b9; /* Borde derecho */
}


.white-container {
    background-color: white;
    display: flex;
    flex-direction: column; /* Organiza los elementos en una columna */
    align-items: center; /* Centra horizontalmente */
    justify-content: center; /* Centra verticalmente */
    padding: 20px; /* Espacio alrededor del contenedor */
    width: 100%; /* Ocupa el ancho completo de su contenedor padre */
    height: auto; /* Ajusta el alto según el contenido */
    margin-top: 3rem;
    margin-bottom: 4rem;
}

.title-container {
    margin-bottom: 2rem; /* Espacio entre el título y el sub-contenedor */
    font-size: 1.5rem;
    color:rgb(30, 45, 77) ;
}
.sub-container {
    width: 90%;  /* Ajustado para más anchura */
    margin-left: 5%;  /* Equilibrado para el nuevo width */
    margin-right: 5%;  /* Equilibrado para el nuevo width */
}
.team-slider {

        width: 80%;
        max-width: 1200px;
        margin: 0 auto;
        position: relative;
        padding-bottom: 40px;  /* 20px para la paginación + 20px de espacio */
    
    overflow: hidden;
}

.team-member {
    display: flex;
    flex-direction: column;
    align-items: center; /* Esto centra horizontalmente para flex-direction: column */
    justify-content: center; /* Esto centra verticalmente para flex-direction: column */
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.member-photo {
    width: 100%;
    max-width: 250px;
    height: auto;
    display: block;
    margin: 0 auto;  /* Esto asegura que si la imagen es menor que el contenedor esté centrada */
    padding: 0;
}

/* Estilo del nombre del miembro */
.member-name {
    margin: 0 0 10px;
    text-align: center;
}

/* Estilo del cargo del miembro */
.member-role {
    margin: 0;
    font-weight: bold;
    text-align: center;
}
.container-team-member{
    overflow: hidden;
}

.swiper-pagination {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
}

.team-member:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.site-footer {
    background-color: rgb(7, 17, 37); /* Fondo azul oscuro, puedes ajustar el color según lo desees */
    color: white; /* Texto en blanco para contraste */
    padding: 20px 0; 
}

.footer-container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    padding-top: 3rem;
    padding-bottom: 1rem;
}

.footer-left, .footer-right {
    flex: 1; /* Ambas cajas tomarán el mismo espacio disponible */
    display: flex;
    flex-direction: column; 
    padding-left: 1rem;
}
.footer-right {
    padding-left: 6rem;
}

.footer-logo {
    width: 20%;
    height: auto;
    margin-bottom: 2rem;
}

.footer-item {
    display: flex;
    align-items: center; /* Alinea el icono y el texto verticalmente */
    margin-top: 10px;
}

.footer-icon {
    width: 20px; /* Ajusta según el tamaño de tus iconos */
    height: auto;
    margin-right: 10px; /* Espacio entre el ícono y el texto */
}
.footer-item span{
    font-size: 1.25rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input, .contact-form textarea, .contact-form button {

    padding: 10px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
}

.contact-form textarea {
    resize: vertical; /* Permite que el usuario cambie el tamaño verticalmente */
}

.checkbox-container {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Alineará los elementos al inicio del contenedor, es decir, a la izquierda */
    gap: 10px;
}

.checkbox-container label{
    font-size: 1rem;
}

.submit-button {
    background-color: gray; 
    border-radius: 10px;    
    padding: 10px 20px;     
    border: none;           
    cursor: pointer;       
    float: right;           
    width: 25% !important;
}

.submit-button:hover {
    background-color: #006699;
}

.checkbox-container input[type="checkbox"] {
    display: none;
}

.checkbox-container label {
    position: relative;
    padding-left: 35px; /* Espacio para el checkbox personalizado */
    cursor: pointer;
    user-select: none; 
}

.checkbox-container label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1rem; /* Tamaño del checkbox */
    height: 1rem;
    background-color: #ADD8E6; /* Azul claro */
    border-radius: 12px; /* Redondeado */
    transition: background-color 0.3s;
}

.checkbox-container input[type="checkbox"]:checked + label::before {
    background-color: #0000FF; /* Cambia a tu color deseado cuando esté marcado */
}

.checkbox-container input[type="checkbox"]:checked + label::after {
    content: '';
    position: absolute;
    left: 9px;
    top: 14px;
    width: 8px;
    height: 15px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.form-container:after {
    content: "";
    display: table;
    clear: both;
}
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.map-container {
    width: 100%;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.social-icons-container {
    display: flex; /* Habilita Flexbox */
    justify-content: center; /* Centra los iconos en la fila */
    gap: 3rem; /* Espacio entre los iconos */
}

.social-icons-container a img {
    width: auto; /* Mantén la proporción original de la imagen */
    height: 2rem; /* Altura fija, ajusta según sea necesario */
}
.footer-hablemos{
    font-size: 1.5rem;
}
iframe {
    width: 100%;
    border: 0;
}
.whatsapp-button {
    position: fixed;
    bottom: 2rem;
    right: 3rem;
    z-index: 9999;
  }
  
  .whatsapp-button a {
    text-decoration: none;
  }
  
  .whatsapp-button img {
    width: 5rem; /* Ajusta el tamaño del botón según tus preferencias */
  }
/*Fuentes*/

@font-face {
    font-family: "RedHatDisplay";
    src: url('fonts/RedHatDisplay-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "RedHatDisplay";
    src: url('fonts/RedHatDisplay-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: "RedHatDisplay";
    src: url('fonts/RedHatDisplay-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}


.customNav {
    background-color: #333;
    padding: 10px 20px;
    /* Otros estilos que desees agregar */
  }
  
  .customNav-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
  }
  
  .customNav-logo {
    width: 30px; /* o el ancho que prefieras */
    height: auto; /* mantiene las proporciones del logo */
    margin-right: 10px;
  }
  
  /* Opcional: Para dispositivos móviles puedes ajustar el tamaño del logo si es necesario */
  @media (max-width: 768px) {
    .customNav-logo {
      width: 25px;
    }
  }