

/*--------------------------------------------------------------
This is main CSS file that contains custom style rules used in this template
--------------------------------------------------------------*/

/*------------------------------------*\
    Table of contents
\*------------------------------------*/


/** Base Styles
--------------------------------------------------------------*/
:root {
  --primary-color: #B99CEE;
  --secondary-color: ;
  --dark-color: #2D2D2D;
  --white-color: #FFFFFF;
  --grey-color: #777777;
  --body-text-color: #333333;
  --light-text-color: #929292;
  --link-color: #B7C177;
  --background-color: #FAFAFA;

  /* bootstrap color-scheme */
  --bs-dark-rgb: 80, 80, 80;
  --bs-gray-100: #EAE5DD;
  --bs-gray-300: #DCDCDC;
  --bs-body-color-rgb: 53, 53, 53;
  --bs-primary-rgb: 185, 156, 238;
  --bs-secondary-rgb: 249, 246, 243;
}

/* Fonts */
@font-face {
  font-family: "Shantell Sans";
  src: url('/fonts/shantell-sans-v13-latin-regular.woff2') format('woff2');
  font-weight: 400; /* o el peso que sea: 700, 300, etc */
  font-style: normal;
  font-display: swap; /* Esto evita el bloqueo de texto invisible */
}

:root {
  --heading-font: "Shantell Sans", serif;
  --body-font: "Shantell Sans", serif;
}

/*  General Styles
        /*----------------------------------------------*/
*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  box-sizing: border-box;
}

/** Typography
    --------------------------------------------------------------*/

body {
  font-family: "Shantell Sans", sans-serif;;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.688rem;
  background-color: #0F0E10;
  color: var(--white-color);
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/images/background4.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  
  /* AQUÍ CONTROLAS LA OPACIDAD */
  opacity: 0.25; 
  
  z-index: -1; /* Esto la manda al fondo, detrás del texto */
  pointer-events: none; /* Evita que interfiera con los clics */
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  font-family: var(--heading-font);
  font-weight: 600;
  color: var(--white-color);
  text-transform: none;
}

h1,
.h1,
.display-1{
  font-size: 40px;
}

a {
  color: var(--white-color);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease-out;
}

a:hover {
  text-decoration: none;
}

.letter-space {
  letter-spacing: 5px;
}


/* Section Padding --------------------------------------------------------------*/

.padding-small {
  padding-top: 2em;
  padding-bottom: 2em;
}

.padding-medium {
  padding-top: 8rem;
  
}

.padding-medium2 {
  padding-top: 4rem;
  
}

.padding-large {
  padding-top: 12rem;
  padding-bottom: 13rem;
}

.padding-side {
  padding-right: 10rem;
  padding-left: 10rem;
}

@media only screen and (max-width: 1200px) {
  .padding-small {
    padding-top: 5em;
    padding-bottom: 5em;
  }

  .padding-medium {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .padding-large {
    padding-top: 0rem;
    padding-bottom: 10rem;
  }

  .padding-side {
    padding-right: 1rem;
    padding-left: 1rem;
  }
}

/* Section Margin --------------------------------------------------------------*/

.margin-small {
  margin-top: 2em;
  margin-bottom: 2em;
}

.margin-medium {
  margin-top: 8rem;
  margin-bottom: 8rem;
}

.margin-large {
  margin-top: 15rem;
  margin-bottom: 15rem;
}

/* svg override
    --------------------------------------------------------------*/
svg.social-icon {
  color: #fff;
  transform: scale(1.3); /* Cambiar escala de los svg*/
}

svg.social-icon:hover {
  color: #25d366;
}



/* bootstrap button override
    --------------------------------------------------------------*/
.btn {
  --bs-btn-padding-x: 1rem;
  --bs-btn-padding-y: 1rem;
  --bs-btn-font-size: 1rem;
  --bs-btn-font-weight: 600;
  border-radius: 0;
  letter-spacing: 0px;
  text-transform: uppercase;
  transition: all 0.5s;
}

.btn svg.arrow-right {
  transition: all 0.5s;
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  color: #fff;
}

/*   esto es lo que hace que el svg del botón del inicio rote
.btn:hover svg.arrow-right {
  transform: rotate(360deg);
  color: var(--dark-color);
}  
  
*/

/* button effect */
.button {
  position: relative;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: #289751;
  border: none;
  color: white;
  cursor: pointer;
  outline: none;
  overflow: hidden;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  border-radius: 30px;
}



.button span {
  position: relative;
  pointer-events: none;
}

/* Aquí se cambia el color del botón de la página principal */
.button::before {
  --size: 0;
  content: '';
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--size);
  height: var(--size);
  background: radial-gradient(circle closest-side, #227c41, transparent);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  transition: width .2s ease, height .2s ease;
}

.button:hover::before {
  --size: 400px;
}


/* bootstrap Dropdown override
        --------------------------------------------------------------*/
.dropdown-item.active,
.dropdown-item:active {
  --bs-dropdown-link-active-color: var(--white-color);
  --bs-dropdown-link-active-bg: var(--light-text-color);
}


/* bootstrap Pagination override
        --------------------------------------------------------------*/
.pagination {
  --bs-pagination-bg: transparent;
  --bs-pagination-border-color: rgba(255, 255, 255, 0.25);
  --bs-pagination-color: #fff;
  --bs-pagination-hover-color: var(--primary-color);
  --bs-pagination-hover-bg: transparent;
  --bs-pagination-hover-border-color: var(--primary-color);
  --bs-pagination-focus-color: #fff;
  --bs-pagination-focus-bg: transparent;
  --bs-pagination-focus-box-shadow: none;
  --bs-pagination-active-bg: transparent;
  --bs-pagination-active-border-color: var(--primary-color);
}


/* bootstrap accordion override
        --------------------------------------------------------------*/
.accordion-button:not(.collapsed) {
  color: var(--body-text-color);
  background-color: transparent;
  box-shadow: none;
}

.accordion {
  font-weight: 400;
  --bs-accordion-color: var(--white-color);
  --bs-accordion-bg: none;
  --bs-accordion-btn-color: var(--body-text-color);
}

.accordion-item {
  border: solid rgba(255, 255, 255, 0.226) 1px;
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M12 14.975q-.2 0-.375-.062T11.3 14.7l-4.6-4.6q-.275-.275-.275-.7t.275-.7t.7-.275t.7.275l3.9 3.9l3.9-3.9q.275-.275.7-.275t.7.275t.275.7t-.275.7l-4.6 4.6q-.15.15-.325.213t-.375.062'/%3E%3C/svg%3E");
  ;
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M12 14.975q-.2 0-.375-.062T11.3 14.7l-4.6-4.6q-.275-.275-.275-.7t.275-.7t.7-.275t.7.275l3.9 3.9l3.9-3.9q.275-.275.7-.275t.7.275t.275.7t-.275.7l-4.6 4.6q-.15.15-.325.213t-.375.062'/%3E%3C/svg%3E");
  ;
}

.accordion-button:focus {
  z-index: 3;
  border-color: none;
  box-shadow: none;
}


/* bootstrap form override
--------------------------------------------------------------*/
.form-control:focus {
  box-shadow: none;
}

/* swiper style override
        --------------------------------------------------------------*/
.swiper-pagination-bullet.swiper-pagination-bullet-active {
  background: var(--primary-color);
  opacity: 1;
}

.swiper-pagination-bullet {
  width: 15px;
  height: 15px;
  background: rgb(185 156 238 / 19%);
  opacity: 1;
}


/* chocolat */
.chocolat-wrapper {
  transition: opacity 0.4s ease, visibility 0s 0.4s ease;
  width: 100%;
  height: 100%;
  position: fixed;
  opacity: 0;
  left: 0;
  top: 0;
  z-index: 9999;
  color: #fff;
  visibility: hidden;
}


/* preloader */
.preloader {
  position: fixed;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(#D9D3FB, #B794BF);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.8s ease-in-out;
}

.preloader.loaded {
  transform: translateY(-100%);
}

.loader {
  width: 150px;
  aspect-ratio: 1;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  position: relative;
  animation: l19 2s infinite linear;
  overflow: hidden;
}

.loader:before {
  content: "";
  position: absolute;
  inset: -150% -150%;
  background: repeating-conic-gradient(from 30deg, #5743CB 0 60deg, #ca82dc 0 120deg, #8374d7 0 180deg);
  animation: inherit;
  animation-direction: reverse;
}

@keyframes l19 {
  100% {
    transform: rotate(360deg)
  }
}



/* ----------------------------------------------
Section Styles
----------------------------------------------*/


/*---- navigation section style start ----*/
nav.navbar {
  text-transform: capitalize;
  font-size: 18px;
  font-weight: 400;
}

.navbar-nav .nav-link {
  color: var(--white-color);
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
  color: #25d366;
}

a.nav-link:focus,
a.nav-link:hover {
  color: #25d366;
}

@media only screen and (min-width: 991px) {
  nav.navbar-side {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background: #2c3a4c;
    border-radius: 20px;
  }
}

@media only screen and (max-width: 991px) {
  nav.navbar-side {
    background: #101720;
    /* position: fixed; esto me afecta en la vista responsive del mobile que no se vea el botón para el formulario de contacto*/ 
    bottom: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    margin-top: 4%;
    border-radius: 0px;
    display: flex;
    padding: 0px;
    justify-content: space-evenly;
  }

  .navbar-nav {
    flex-direction: row;
    width: 100%;
    z-index: 1000;
    margin: 0px;
    border-radius: 0px;
    display: flex;
    justify-content: space-evenly;
  }
}


/*---- about style start ----*/
.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
  color: var(--white-color);
  background-color: var(--primary-color);
}

.nav-pills .nav-link,
.nav-pills .show>.nav-link {
  color: var(--white-color);
  background-color: rgba(238, 156, 156, 0.19);
}


/*---- portfolio style start ----*/

/* Image zoom effect on hover */
.image-zoom {
  overflow: hidden;
}

.image-zoom img {
  transition: transform 0.3s ease-out;
}

.image-zoom:hover img {
  transform: scale(1.1);
}


/*---- portfolio-masonry page style start ----*/
button.filter-button {
  border: 1px solid var(--primary-color);
  background-color: transparent;
  color: var(--white-color);
  border-radius: 30px;
  transition: all 0.5s;
}

button.filter-button.active {
  background-color: var(--primary-color);
  color: var(--white-color);
}

button.filter-button:hover {
  background-color: var(--primary-color);
  color: var(--white-color);
}

/* Estilos del Botón de WhatsApp */
.whatsapp-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366; /* Verde oficial de WhatsApp */
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  animation: pulse-wa 2s infinite;
}

.whatsapp-btn:hover {
  background-color: #128c7e;
  transform: scale(1.1);
  color: #fff;
}

/* =============================================
   BOTÓN FLOTANTE DE WHATSAPP - ESTILOS FINALES
   ============================================= */

   .whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366; /* Verde oficial */
    color: #ffffff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    z-index: 1; /* Asegura que esté por encima de todo */
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: pulse-wa 2s infinite;
    opacity: 0.95;
}

/* Imagen/Icono dentro del botón */
.whatsapp-btn img {
    width: 35px;
    height: 35px;
    display: block;
}

/* Efecto Hover (Escritorio) */
.whatsapp-btn:hover {
    transform: scale(1.1);
    background-color: #1ea898;
    opacity: 1;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Tooltip - El globo de texto */
.tooltip-wa {
    position: absolute;
    right: 75px;
    background-color: #1ca34d; /* Fondo oscuro como tu web */
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: 1px solid #333;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Mostrar Tooltip al pasar el mouse */
.whatsapp-btn:hover .tooltip-wa {
    opacity: 1;
    visibility: visible;
    right: 80px;
}

/* Animación de Pulso Sutil */
@keyframes pulse-wa {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* =======================================================
   REGLA PARA OCULTAR EN MÓVILES Y TABLETS (iPad Air incl.)
   ======================================================= */
   @media screen and (max-width: 1024px) {
    .whatsapp-btn {
        display: none !important;
    }
}

#snowCanvas, #groundCanvas {
    width: 100vw;
    height: 100vh;
    will-change: transform;
    backface-visibility: hidden;
}

/* Estilos para la imagen del banner */
.banner-imgf {
    display: block; /* Para que no haya espacios extra */
    margin: 0 auto; /* Centra horizontalmente por defecto */
    max-width: 100%; /* Responsiva */
    height: auto; /* Mantiene proporción */
    width: 70%; /* Tamaño base en desktop */
    float: right; /* Alinea a la derecha */
    margin-right: 15vh; /* Asegura que esté pegada a la derecha */
    margin-bottom: 7vh;
}

/* Media queries para resoluciones específicas */
@media (max-width: 1366px) {
    .banner-imgf {
        width: 50%; /* Un poco más grande en 1366x768 */
        margin-right: 20vh;
        margin-bottom: 0vh;
    }
}

@media (max-width: 768px) { /* Móviles */
    .banner-imgf {
        width: 80%; /* Más pequeño en móviles */
        float: none; /* Quita el float para centrar mejor */
        margin: 0 auto; /* Centra en móviles */
    }
}

/* Contenedor del enlace */
.custom-tooltip {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* El cuadro del Tooltip */
.custom-tooltip::after {
    content: attr(data-name); /* Toma el texto del HTML */
    position: absolute;
    right: 50px;             /* Ajusta esta distancia según tu diseño */
    background-color: #4b6381;   /* Color de fondo del globo */
    color: #fff;              /* Color del texto */
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 16px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;     /* Para que no estorbe al hacer clic */
    box-shadow: 0px 4px 10px rgba(0,0,0,0.3);
}

/* La flechita del Tooltip */
.custom-tooltip::before {
    content: "";
    position: absolute;
    right: 42px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent transparent #4b6381;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

/* Efecto Hover: Mostrar Tooltip */
.custom-tooltip:hover::after,
.custom-tooltip:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-5px); /* Pequeño desplazamiento al aparecer */
}

@media (max-width: 991px) {
    .custom-tooltip::after,
    .custom-tooltip::before {
        display: none !important; /* Elimina el globo por completo */
        visibility: hidden !important;
        opacity: 0 !important;
    }
  }

.custom-tooltip:hover svg {
    transform: scale(1.6);
    transition: 0.3s;
}

.menutip-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: pulse-me 2.5s infinite;
    opacity: 0.95;
}

@keyframes pulse-me {
    0% { box-shadow: 0 0 0 0 rgba(44, 58, 76, 0.6); }
    70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); } /* Controla el tamaño de la animación */
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Esto desactiva la animación en móviles correctamente */
@media (max-width: 991px) {
    /* Agregamos .menutip-btn a la lista de limpieza */
    .menutip-btn,
    .nav-link,
    .nav-link svg,
    .pulse-effect {
        animation: none !important;        /* Mata la animación pulse-me */
        box-shadow: none !important;       /* Quita el rastro del pulso */
        transform: scale(1) !important;    /* Evita que se quede agrandado */
        filter: none !important;
        opacity: 1 !important;             /* Lo dejamos sólido para mejor visibilidad */
    }
}

/* cards */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
}

.glass-modal {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
}

/* cards3 */
.glass-modal-cards3 {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
}

.modal-img-cards3 {
    max-width: 500px;
}

.modal-img-spacing-cards3 {
    margin-right: -50px;
}

.card-img-card {
    height: 200px;
    object-fit: cover;
}

.card-img-modal {
    max-height: 400px;
    width: 100%;
    max-width: 100%;
    object-fit: contain;
}

.btn-glass {
    background: white;
    color: black;
    border-radius: 20px;
    border: none;
    font-size: 12px;
    padding: 5px 10px;
    transition: background-color 0.3s, color 0.3s;
}

.btn-glass:hover {
    background: #25d366;
    color: #000000;
}

/* cards full */
.glass-card-full {
    background-size: cover;
    background-position: center;
    height: 400px;
    position: relative;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, #000000, transparent);
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.card-info {
    color: white;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.card-info .card-title {
    margin: 0 10px 0 0;
    font-size: 16px;
}

.card-info .card-text {
    margin: 0 0 15px 0;
    flex-grow: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .glass-card-full {
        height: 300px;
    }

    .card-img-modal {
        max-height: 250px;
        width: 100%;
        max-width: 100%;
    }

    .glass-modal {
        backdrop-filter: blur(5px);
        background: rgba(255, 255, 255, 0.2);
    }

    .card-info .card-title {
        font-size: 14px;
    }

    .btn-glass {
        font-size: 10px;
        padding: 4px 8px;
    }

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

    .modal-img-spacing-cards3 {
        margin-right: 0;
    }
}

@media (max-width: 1366px) {
    .glass-card-full {
        aspect-ratio: 1;
        height: auto;
    }

    .modal-img-cards3 {
        max-width: 400px;
    }
}

@media (max-width: 1366px) and (max-height: 768px) {
    .modal-img-cards3 {
        max-width: 300px;
    }
}