/* --- RESET GENERAL --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;

}

body {
    background-color: #fff;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}
body::-webkit-scrollbar {
    display: none;
}
/* MONSERRAT FONT */
h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700; /* Negrita */
}

p {
    font-weight: 400; /* Normal */
}

.brand-name {
    font-weight: 600; /* Semi-bold */
}

@font-face {
    font-family: 'Kalnia';
    src: url('../assets/fonts/Kalnia/static/Kalnia_Expanded-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'Kalniasemispandedlight';
    src: url('../assets/fonts/Kalnia/static/Kalnia_SemiExpanded-Light.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'Montserrat';
    src: url('../assets/fonts/Montserrat/static/Montserrat-Regular.ttf') format('truetype');

}
@font-face {
    font-family: 'MontserratBOLD';
    src: url('../assets/fonts/Montserrat/static/Montserrat-Bold.ttf') format('truetype');

}
@font-face {
    font-family: 'MontserratEXTRABOLD';
    src: url('../assets/fonts/Montserrat/static/Montserrat-ExtraBold.ttf') format('truetype');

}
@font-face {
    font-family: 'MontserratMEDIUM';
    src: url('../assets/fonts/Montserrat/static/Montserrat-Medium.ttf') format('truetype');

}
@font-face {
    font-family: 'MontserratEXTRABOLDITALIC';
    src: url('../assets/fonts/Montserrat/static/Montserrat-ExtraBoldItalic.ttf') format('truetype');

}


@font-face {
    font-family: 'KalniaSemiExpandedSemibold';
    src: url('../assets/fonts/Kalnia/static/Kalnia_SemiExpanded-SemiBold.ttf') format('truetype');
}




/* ------------------CAROUSEL ----------------- */
.carousel-item:first-child .carousel-text-overlay {
    position: absolute;
    top: 40%;
    left: 10%;
    transform: translateY(-50%);
    color: white; /* Color del texto */
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
    z-index: 10;
    max-width: auto;
}

.carousel-text-overlay p{
    max-width: 65%;
}
.carousel-text-overlay h1{
    font-family: 'Kalnia';
    color: #031A46;
    font-size: 4rem; /* Aumenta el tamaño */
    font-weight: 700; /* Asegura que use la versión Bold si está disponible */
    max-width: 85%;
}

.brand-name {
    font-size: 3rem;
    font-weight: bold;
    letter-spacing: 2px;
    color: #031A46;
    max-width: 65%;
}

.carousel-text-overlay h2 {
    font-size: 3rem;
    max-width: 65%;
    color: #031A46;
    margin-top: 3rem;
}

.carousel-text-overlay p {
    font-size: 1.3rem;
    margin-top: 5px;
    color: #031A46;
    margin-top: 1rem;
}

/* ----------------HOME----------------*/

.banner-1 {
    position: relative;
    top: 0%;
    left: 0;
    width: 100%;
    height: 80vh; /* Reduce la altura para mejor ajuste */
    background-image: url('../img/baner.png');
    background-size: contain; /* Asegura que la imagen se ajuste sin recortarse */
    background-repeat: no-repeat;
    background-position: center; /* Centra la imagen */
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -8%;
}
.banner-2 {
    position: relative;
    top: 0%;
    left: 0;
    width: 100%;
    height: 80vh; /* Reduce la altura para mejor ajuste */
    background-image: url('../img/baner_azul.png');
    background-size: contain; /* Asegura que la imagen se ajuste sin recortarse */
    background-repeat: no-repeat;
    background-position: center; /* Centra la imagen */
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -11%;
}
.banner-down-blue {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 20vh;
    background-image: url('../img/baner_azul2.png');
    background-size: cover; /* Cubre toda la sección sin espacios */
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 0; /* Elimina cualquier relleno extra */
    margin-bottom: 0; /* Asegura que no haya espacio entre esta sección y la siguiente */
}
.banner-up-blue {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 20vh;
    background-image: url('../img/baner_azul_3.png');
    background-size: cover; /* Cubre toda la sección sin espacios */
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 0; /* Elimina cualquier relleno extra */
    margin-bottom: 0; /* Asegura que no haya espacio entre esta sección y la siguiente */
}
.banner-white {
    position: relative;
    top: 0%;
    left: 0;
    width: 100%;
    height: 30vh; /* Reduce la altura para mejor ajuste */
    background-image: url('../img/baner_blanco_1.png');
    background-size: cover; /* Asegura que la imagen se ajuste sin recortarse */
    background-repeat: no-repeat;
    background-position: center; /* Centra la imagen */
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -3%;
}
.testimony h1{
    font-size: 100px !important;
    font-weight:900;
    color: #fff;
    font-family: 'KalniaSemiExpandedSemibold' !important;
}

.header-blue {
    padding: 50px 0;
    background-color: #031A46;
    width: 100%;
    margin-top: 0; /* Elimina espacio extra entre la imagen de fondo y esta sección */
}



.section-features {
    background-image: url('../img/home_fondo2.png');
    background-size: cover;
    height: auto;
    padding: 200px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: -8%;
}
.section-features-2 {
    background-image: url('../img/home_fondo3.png');
    background-size: cover;
    height: auto;
    padding: 200px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: -8%;
}


.section-testimony-4 {
    background-image: url('../img/baner_azul_3.png');
    background-size: contain;
    background-repeat: no-repeat ;
    height: auto;
    padding: 200px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.section-services-3 {
    background-image: url('../img/baner_azul.png');
    background-size: contain;
    background-repeat: no-repeat ;
    height: auto;
    padding: 200px 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.section-services-3 h1{
    font-size: 100px !important;
    font-weight:900;
    color: #fff;
    font-family: 'MontserratEXTRABOLD' !important;


}
.section-services-4 .title{
    font-size: 90px !important;
    font-weight:900;
    color: #031A46;
    font-family: 'MontserratEXTRABOLDITALIC' !important;
}

.section-services-4 .title2{
    font-size: 90px !important;
    font-weight:900;
    color: #9D6243;
    font-family: 'MontserratEXTRABOLDITALIC' !important;
}

.blue-text{
    color: #031A46 !important;
}


.monserratmedium{
    font-family: 'MontserratMEDIUM' !important;
}

.monserratbold{
    font-family: 'MontserratBOLD' !important;
}

.monserratextrabold{
    font-family: 'MontserratEXTRABOLD' !important;
}

.title-card-service{
    font-size:40px !important; 
    color:#9D6243 !important;
}

.subtitle-card-service{
    color: #031A46 !important;
}

.section-features h2{
    color: #fff !important;
    margin-top: 40%;
}

.section-features-2 h2{
    color: #fff !important;
    margin-top: 20%;
}

/* Sección de Amenities */
.ammenities-cards {
    margin-left: 20%;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 80%;
    overflow-x: hidden; 
}

/* Ajuste de los cards */
.ammenities-cards .card {
    width: 100%; /* Ancho uniforme */
    display: flex;
    flex-direction: column;
    justify-content: left; /* Centra el contenido */
    align-items: center;
    text-align: left;
    padding: 10px 15px; /* Ajuste interno */
    border-radius: 15px;
    flex-grow: 1;
    margin-left: 10%;
}
/* Título de la sección */


.section-title {
    padding-left: 41%;
    text-align: center;
    font-size: 3.5rem;
    font-weight: bold;
    color: white;
    margin-bottom: 40px;
    font-family: 'Montserrat';
}
.section-title-2 {
    text-align: center;
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 40px;
    font-family: 'KalniaSemiExpandedSemibold', sans-serif  !important;
    font-weight: 600;
    font-size: 4.5rem; 
    letter-spacing: 1px;
    color: #F2E8DC;


}


.section-title-left {
    text-align: left;
    font-size: 3.5rem;
    font-weight: bold;
    color: #001F3F;
    margin-bottom: 40px;
    font-family: 'Montserrat';


}





.section-title-left {
    font-size: 2rem;
    font-weight: bold;
   
    margin-bottom: 20px;
}


.section-title-right {
    text-align: right;
    font-size: 3.5rem;
    font-weight: bold;
    color: #001F3F;
    margin-bottom: 40px;
    font-family: 'Montserrat';


}





.section-title-right {
    font-size: 2rem;
    font-weight: bold;
   
    margin-bottom: 20px;
}







/* Personalización de las cards */
.card {
    background: white;
    border-radius: 999px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: start;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: none;
}

/* Ajuste del contenido dentro de la tarjeta */
.card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding: 20px;
}

/* Títulos */
.card-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #031A46;
}

/* Texto */
.card-text {
    font-size: 0.9rem;
    color: #333;
    margin-top: 0;
}

.testimony-card {
    background-color: #031A46;
    color: white;
    border-radius: 15px;
    padding: 20px;
    width:30%;
    margin: auto;
    text-align: left;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
}

.testimony-name {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
}

.testimony-text {
    font-size: 1.2rem;
    margin: 15px 0;
    text-align: justify;
}

.testimony-date {
    font-size: 0.9rem;
    color: #bbb;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
}

/* --------------BOOK NOW-----------*/
.book-now-service-img{
max-width: 30%;
background-color: #F2E8DC;
border-radius: 5%;
}

.book-now-sticky-form {
    position: sticky;
    top: 20px; /* Se fija cuando el usuario baja */
    z-index: 1000; /* Asegura que no quede detrás de otros elementos */
    background: white;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}


/* Header de About Us */
.about-header {
    background-color: white;
    padding: 50px 0;
}
.about-header-features {
    padding: 50px 0;
}
.header-blue {
    padding: 50px 0;
    background-color: #031A46;
    width: 100%;

}





.about-header h1 {
    font-size: 3rem;
    font-weight: bold;
    color: #001F3F;
}






/*  Sección de Visión y Misión */
.about-content {
    padding: 50px 0;
}

.mission-vision {
    margin-bottom: 60px;
}

.section-title {
    font-size: 2rem;
    font-weight: bold;
    color: #001F3F;
    margin-bottom: 20px;
}
.section-title2 {
    font-weight: bold;
    padding-left: 41%;
    text-align: center;
    font-size: 3.5rem;
    font-weight: bold;
    color: white;
    margin-bottom: 40px;
    font-family: 'Montserrat';
}


.section-text {
    font-size: 1.2rem;
    color: #333;
    line-height: 1.6;
}

.rounded-image {
    border-radius: 20px;
    width: 100%;
    max-width: 400px;
    height: 300px;
    object-fit: cover; 
    box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.1);
}

/* Ajustes para pantallas pequeñas */
@media (max-width: 768px) {
    .carousel-item:first-child .carousel-text-overlay {
        top: 50%;
        left: 5%;
        width: 90%;
        text-align: left;      
    }

    .carousel-item:first-child h1{
        left: -10%;
        font-size:large;
        text-align: left;
    }
    .brand-name {
        font-size: 2rem;
    }

    .carousel-text-overlay h2 {
        font-size: 1rem;
        color: #fff;
        margin-top: 0rem;
    }

    .carousel-text-overlay p {
        font-size: 1rem;
        color: #fff;
    }
    .custom-section1 {
        height: 120px;
        width: 95%;
    }

    .section-title {
        font-size: 1.5rem;
        padding-left: 0.4%;
    }
    .banner-1 {
        height: auto; /* Reduce aún más en móviles */
        background-size: contain; /* Mantiene la imagen visible */
    }
    .card {
        min-height: 150px;
    }
    .ammenities-cards {
        margin-left: 0px; /* Centra los cards en móviles */
        justify-content: center; /* Alineación centrada */
        width: 50%; /* Ocupará todo el ancho */
        margin-left: 7%;
    }
    .ammenities-cards h2{
        margin-left: -30% !important;
    }

    .ammenities-cards .card {
        width: 10%; /* Hace que cada card sea casi del ancho completo */
        height: auto; /* Permite ajustar en caso de textos largos */
        text-align: center;
    }
    .banner-2{
        background-color: #031a46;
    }
    .testimony-card {
        width: 80%;
    }
    .book-now-service-img{
        max-width: 40% !important ;
    }
    .about-header h1{
        font-size: xx-large !important;
    }
    .about-header-features h1{
        font-size: xx-large !important;
    }
    .card-carousel img {
        max-height: 100px !important; /* Define un tamaño máximo para mantener la uniformidad */
        width: auto;
        object-fit: cover;
        margin-bottom: 15px;
    }
}


/* ----------------- SERVICES HEADER IMAGE ----------------- */

.services-header2 {
    background-color: white;
    padding: 50px 0;
}

.services-header2 h1 {
    font-size: 5rem; /* Aún más grande */
    font-weight: 900; /* Extra grueso */
    letter-spacing: 2px; /* Más separación entre letras */
    color: #031A46;
}



.services-header {
    position: relative;
    font-family: 'Kalniasemispandedlight';
    text-align: right; /* Alinea los textos a la derecha */
    background-image: url('../img/services_banner_prueba.png');
    background-size: cover;

}

.services-banner-text {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    text-align: right;
    color: white; /* Asegura que el texto sea visible sobre la imagen */
}

.services-banner-text .services-title {
    font-family: "Kalnia SemiExpanded", sans-serif;
    font-size: 70px;
    margin-bottom: 10px;
}


.services-banner-text .services-subtitle {
    font-family: "Montserrat", sans-serif;
    font-size: 65px;
    font-weight: 200; /* Extra Light */
}


.centered-paragraph {
    text-align: center;
    color: #707070;
    font-size: 1.2rem; /* Ajusta el tamaño si es necesario */
    line-height: 1.6; /* Mejora la legibilidad */
    max-width: 800px; /* Limita el ancho para que no sea demasiado extenso */
    margin: 0 auto; /* Centra el párrafo horizontalmente */
}






/* Ajustes para pantallas pequeñas */
@media (max-width: 1024px) {
    .services-banner-text .services-title {
        font-size: 60px;
    }
    .services-banner-text .services-subtitle {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .services-banner-text {
        right: 2%;
        text-align: center;
        width: 90%;
    }
    .services-banner-text .services-title {
        font-size: 10px;
    }
    .services-banner-text .services-subtitle {
        font-size: 30px;
    }
}


@media (max-width: 1200px) {
    .services-header2 h1 {
        font-size: 4rem; /* Reduce el tamaño en pantallas grandes */
    }
}

@media (max-width: 992px) {
    .services-header2 h1 {
        font-size: 3.5rem; /* Ajuste para tablets y pantallas medianas */
    }
}

@media (max-width: 768px) {
    .services-header2 h1 {
        font-size: 3rem; /* Ajuste para dispositivos móviles */
        text-align: center; /* Centrar en pantallas pequeñas */
    }
}

@media (max-width: 480px) {
    .services-header2 h1 {
        font-size: 2.5rem; /* Más pequeño para pantallas muy pequeñas */
    }
}



.contact-page-title {
    width: 100%; /* Asegura que ocupe el 100% de la altura de la pantalla */
    background-image: url('../img/contact_form_1.png');
    background-size: cover; /* La imagen cubrirá todo el fondo sin distorsionarse */
    background-position: center; /* Centra la imagen para evitar cortes */
    background-repeat: no-repeat;
}
.contact-page-title img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
}

.contact_form-container {
    max-width: 100%;
    margin: auto;
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    margin-bottom: 8%;
}

.contact_form-control {
    background-color: #f4ebdf;
    border: none;
    border-radius: 15px;
    padding: 10px;
    width: 100%;
}

/* Elimina el espacio innecesario entre los inputs */
.contact_form-control:not(:last-child) {
    margin-bottom: 5px; /* Ajusta el margen entre los inputs */
}

/* Mejora la apariencia del textarea */
textarea.contact_form-control {
    resize: none;
    height: 100%; /* Hace que el textarea tome la altura disponible */
}

/* Corrige el focus para evitar estilos predeterminados */
.contact_form-control:focus {
    box-shadow: none;
    border: 1px solid #d1a07c;
}

/* Botón personalizado */
.contact_btn-custom {
    background-color: #9D6243;
    color: white;
    border-radius: 15px;
    padding: 10px 20px;
    border: none;
    display: block;
    width: fit-content;
}

/* Efecto hover del botón */
.contact_btn-custom:hover {
    background-color: #7a4c3a;
}

.contact_form-container .card{
    background-color: #001F3F;
    color: white;
}

.contact_form-container p{
    font-size: xx-small;
}

.contact_form-container .card{
    background-color: #001F3F;
    color: white;
}

.contact_form-container p{
    font-size: xx-small;
}


/*Efecto aparicion parrafos*/

.hidden-text {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.5s ease-out, transform 0.8s ease-out;
}

.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --------------------- CAROUSEL -------------------- */

.carousel-services {
    position: relative;
    overflow: hidden;
    max-width: 100%;
    max-height: 50%;
    margin: auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  /* Contenedor de la pista */
  .carousel-services .carousel-track-container {
    overflow: hidden;
  }
  /* Pista del Carousel (contenedor de las tarjetas) */
  .carousel-services .carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
  }
  /* Cada tarjeta del Carousel */
  .carousel-services .carousel-card {
    flex: 0 0 calc(33.333% - 20px);
    background-color: #F2E8DC;
    border: 1px solid #ddd;
    border-radius: 35px;
    padding: 20px;
    text-align: center;
    margin: 10px;
  }

  .carousel-services button.prev {
    left: 10px;
  }
  .carousel-services button.next {
    right: 10px;
  }
  .card-carousel {
    border: none !important;
    box-shadow: none !important;
  }

  .card-carousel .card-title{
    color: #031A46 !important;
  }

  .card-carousel .card-text{
    font-size: small;
    line-height: 1.4;
    color: #707070;
    flex-grow: 1; /* Permite que el texto ocupe el espacio restante de forma uniforme */
    overflow: hidden;
    margin-bottom: 10px;

  }
  /* Organización interna del contenido textual */
.card-carousel .card-body {
    display: flex;
    flex-direction: column;
    height: 70%;
    background-color: #F2E8DC !important;
}
.card-carousel img {
    max-height: 350px; /* Define un tamaño máximo para mantener la uniformidad */
    width: auto;
    object-fit: cover;
    margin-bottom: 15px;
}

  .card-carousel .price{
    color: #9D6243 !important;
    font-weight: bold;
  }
  /* Responsive: En pantallas pequeñas se muestra 1 tarjeta */
  @media (max-width: 768px) {
    .carousel-services .carousel-card {
      flex: 0 0 0;
    }
    .section-services-3 .title{
        color: #031A46;
    }
    .features-index{
        font-size: xx-large !important;
    }
    .amenities-index{
        font-size: xx-large !important;
    }
    .testimony h1{
        font-size: xx-large !important;
    }
    .ammenities-cards {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        width: 80%;
        overflow-x: hidden; 
    }
    
    /* Ajuste de los cards */
    .ammenities-cards .card {
        width: 90%; /* Ancho uniforme */
        display: flex;
        flex-direction: column;
        justify-content: left; /* Centra el contenido */
        align-items: center;
        text-align: left;
        border-radius: 15px;
        flex-grow: 1;
    }
    .section-services-3 h1{
        font-size: xx-large !important;
    }
    .section-services-4 .title{
        font-size: xx-large !important;
        font-family: 'MontserratEXTRABOLDITALIC' !important;
      }
    .section-services-4 .title2{
        font-size: xx-large !important;
        font-family: 'MontserratEXTRABOLDITALIC' !important;
      }
    .section-services-3{
        margin-top: 0 !important;
        margin-bottom: -40% !important;
    }
    .servicescontainer{
        margin-left: 10px !important;
        margin-right: 10px !important;
    }
    .row-services{
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .service-carousel .row > * {
        padding-left: 0 !important;
        padding-right: 0 !important;
      }
    .carousel-services{
        padding: 0 !important;
    }
    .services-offering .title2{
        font-size: large !important;
        font-weight:900;
        color: #fff;
        font-family: 'MontserratEXTRABOLDITALIC' !important;
    }
    .section-features{
        padding: 10px 0;
    }
  }


  .services-offering{
    background-color: #031A46;
    color: #fff !important;
  }
  .services-offering .title2{
    font-size: 50px ;
    font-weight:900;
    color: #fff;
    font-family: 'MontserratEXTRABOLDITALIC' !important;
  }
/* Por defecto, se muestra el texto principal y se oculta el descuento */
    .services-offering-txt {
        display: block;
    }
  
  .services-offering-discounts {
    display: none;
  }
  
  /* Al hacer hover sobre el contenedor, se oculta el texto principal y se muestra el descuento */
  .col-6:hover .services-offering-txt {
    display: none;
  }
  
  .col-6:hover .services-offering-discounts {
    display: block;
  }

  .card-blue{
    background-color: #031A46 !important;
  }
  .card-sand{
    background-color: #F2E8DC !important;
  }
  .sand-text{
    color: #9D6243 !important;
  }

  .services-content .card{
    border-radius: 10%;
  }


  .custom-btn {
    background-color: #031A46 !important;
    border-color: #031A46 !important;
    color: white !important;
    font-weight: bold;
    padding: 12px 20px;
    border-radius: 8px; /* Bordes redondeados */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra suave */
    transition: all 0.3s ease-in-out;
}

.custom-btn:hover {
    background-color: #216beb !important; /* Un tono más oscuro al pasar el mouse */
    border-color: #02122E !important;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2); /* Mayor sombra al hacer hover */
}


.centered-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto; /* Centrado adicional si es necesario */
}



.services-img {
    max-width: 80%; /* Ajusta el tamaño de la imagen */
    height: auto;
    display: block;
    margin: 0 auto; /* Centrado adicional si es necesario */
    border-radius: 10px; /* Bordes redondeados para que se vea más estilizado */
}



.about-header h1 {
    font-family: 'KalniaSemiExpandedSemibold', sans-serif  !important;
    font-weight: 600;
    font-size: 5rem; 
    letter-spacing: 1px;
    color: #031A46;
}


.about-header2 h2 {
    font-family: 'KalniaSemiExpandedSemibold', sans-serif  !important;
    font-weight: 600;
    font-size: 4.0rem; 
    letter-spacing: 1px;
    color: #F2E8DC;
}

.about-header-features h1 {
    font-family: 'KalniaSemiExpandedSemibold', sans-serif  !important;
    font-weight: 600;
    font-size: 5rem; 
    letter-spacing: 1px;
    color: #031A46;
}





.card a{
    text-decoration: none;
    color: #fff;
}

.toggle-button {
    display: inline-block;
    margin-top: 6px;
    font-size: 0.9rem;
    color: #007bff;
    background: none;
    border: none;
    padding: 0;
    text-decoration: none;
    cursor: pointer;
    text-align: left;
  }
  
  .card .text-desc {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }


 /*Galeria */ 

.gallery-container{

    display: flex;
    flex-wrap: wrap;
    background-color: #fff;
    width: 94%;
    padding: 10px;
    box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.3);
    margin: 0px auto;


}

.gallery-item{
    flex-basis: 32.7%;
    margin-bottom: 40px;
    opacity: 0.85;
    cursor: pointer;
}

.gallery-item:hover{

    opacity: 1;

}

.gallery-item img{
    max-height:min-content;
    width: 100%;
    height: 100%;
    object-fit: contain;
}


.lightbox{

    position: fixed;
    display: none;
    background-color: rgba(0, 0, 0, 0.6);
    width: 100%;
    height: 100%;
    overflow: auto;
    top: 0;
    left: 0;

}


.lightbox-content{

    position: relative;
    width: 25%;
    height: auto;
    max-height: auto;
    margin: 5% auto;
    margin-top: 100px;


}


.lightbox-content img{

    width: 100%;
    height: 100%;
    border: 6px solid #fff;
    object-fit: contain;

}


.lightbox-prev,
.lightbox-next{
    position: absolute;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 9px;
    top: 45%;
    cursor: pointer;

}


.lightbox-prev{
    left: 0;

}


.lightbox-next{
    right: 0;

}



/*responsive galeria*/

@media(max-width: 767px){
    .gallery-container{
        width: 100%;

    }

    .gallery-item{
        flex-basis: 49.80%;
        margin-bottom: 3px;

    }

    .lightbox-content{
        width: 80%;
        height: auto;
        max-height: auto;
        margin: 15% auto;

    }

}

@media (max-width: 480px){
    .gallery-item{
        flex-basis: 100%;
        margin-bottom: 1px;
    }

    .lightbox-content{
        width: 90%;
        margin: 20px auto;
    }
}

