:root {
    --color-primary: #101D42;/*#13193A ;*/
    --color-secondary: #27931F;/*#831f70;*/
    --color-enfasis:#F0C808;/* #5295CB;*/
    --color-text:  #101D42;
    --color-white:#F7F4F3;
    --color-back:#C171AE;
    --color-back2:#FBEEF9;
    --color-thercery:#07A0C3;

}
.color-text-primary {
    color: var(--color-primary) !important;
    font-size: 39px;
}
.p-sub{
    font-size: 20px;
}
.vh-75{
    height: 75vh;
}
.center{
    max-width: 600px;
    margin-right: auto;
    margin-left: auto;
    text-align: center !important;
}
.empha{
    background: linear-gradient(90deg, #543DE7 0%, #7F39F8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -WebKit-text-fill-color: transparent;
    opacity: 1;
}
.mb-md-6 {
    margin-bottom: 4.5rem !important;
}
img {
    max-width: 100%;
    height: auto;
}
.h6-3{
    font-size: 1.375rem;
    font-weight: 600;
    line-height: 1.25;
}

.card.no-font .card-body {
    font-family: Arial, sans-serif; /* O la fuente que prefieras */
}
/*header*/
header {
    position: relative;
}
.header-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}
.header-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
}
.waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 16vh; /* Ajusta la altura de las ondas */
    margin-bottom: -7px;
    min-height: 100px;
    max-height: 150px;
    z-index: 2;
}
.moving-waves use {
    animation: wave-animation 10s linear infinite;
}
.moving-waves>use:first-child {
    animation-delay: -2s;
    animation-duration: 11s
}

.moving-waves>use:nth-child(2) {
    animation-delay: -4s;
    animation-duration: 13s
}

.moving-waves>use:nth-child(3) {
    animation-delay: -3s;
    animation-duration: 15s
}

.moving-waves>use:nth-child(4) {
    animation-delay: -4s;
    animation-duration: 20s
}

.moving-waves>use:nth-child(5) {
    animation-delay: -4s;
    animation-duration: 25s
}

.moving-waves>use:nth-child(6) {
    animation-delay: -3s;
    animation-duration: 30s
}
.bg-header{
    position: relative; /* Necesario para que la superposición se posicione correctamente */
    /* background-image: url('../img/main/istockphoto-868935172-612x612.jpg'); Imagen de fondo */
    background-image: url('../img/main/bg.jpg');

    background-size: cover; /* Asegura que la imagen cubra toda el área */
    background-position: center; /* Centra la imagen en el header */
    height: 75vh; /* Ocupa toda la altura de la pantalla */
    color: white; /* Color de texto */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

/* Capa de superposición con el gradiente */
.bg-header .overlay2 {
    position: absolute; /* Hace que la capa quede encima de la imagen */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: linear-gradient(310deg, rgba(248, 33, 255, 0.6), rgba(64, 8, 87, 0.6));  Gradiente con opacidad */
    background: linear-gradient(310deg, rgba(33, 82, 255, 0.6), rgba(33, 212, 253, 0.6)); /* Gradiente con opacidad */
    z-index: 1; /* Asegura que esté sobre la imagen */
}
.bg-header h1 {
    z-index: 2; /* Asegura que el texto esté sobre la capa de gradiente */
    font-size: 3em; /* Ajusta el tamaño del texto */
}
.typing-text{
    color: #9a07c7;
    display: inline-block;
  white-space: nowrap;
  overflow-wrap: break-word;
  word-wrap: break-word;
  max-width: 100%; /* Asegura que el texto no se desborde */
}

/*Section1*/
.container-box {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 20px;
    padding: 20px;
    margin-top: 50px;
    flex-wrap: wrap;
}
/* Define las cajas */
.box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1 1 250px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

    opacity: 0; /* Oculto inicialmente */
    transform: translateY(50px); /* Posiciona la caja hacia abajo inicialmente */
    animation: slide-up 0.6s ease-out forwards; /* Aplica la animación */
    word-wrap: break-word; /* Asegura que el texto largo se ajuste a la caja */
    overflow-wrap: break-word;
}
/* Estilos para el icono */
.icon {
    font-size: 40px;
    margin-bottom: 10px;
    color: var(--color-secondary);
}
/* Estilos para la reseña */
.review {
    font-size: 16px;
    color: #333;
}

/* Retraso en cascada para cada caja */
.box:nth-child(1) {
    animation-delay: 0.1s;
}
.box:nth-child(2) {
    animation-delay: 0.3s;
}
.box:nth-child(3) {
    animation-delay: 0.5s;
}
.box:nth-child(4) {
    animation-delay: 0.7s;
}

/*section2*/

/*sections3*/
.bg-third{
    --bs-bg-opacity: 1;
    background-color: var(--color-back2);
}
.icon-lg {
    width: 3.5rem;
    height: 3.5rem;
    line-height: 3.5rem;
    text-align: center;
    font-size: 1.2rem;
}
/*section4*/
.border-radius-xl {
    /* border-radius: 1rem; */
}
.bg-gradient-dark {
    background-image: linear-gradient(310deg, #141727, #3a416f);
}
.m-3 {
    margin: 0rem !important;
}
.position-relative {
    position: relative !important;
}
.pb-lg-9 {
    padding-bottom: 10rem !important;
}
.pt-7 {
    padding-top: 6rem !important;
}
.z-index-2 {
    z-index: 2 !important;
}
.text-center {
    text-align: center !important;
}
.mx-auto {
    margin-right: auto !important;
    margin-left: auto !important;
}
.badge, .btn {
    text-transform: uppercase;
}
.bg-gradient-info {
    background-image: linear-gradient(310deg, #2152ff, #21d4fd);
}
.w-100 {
    width: 100% !important;
}
.start-0 {
    left: 0 !important;
}
.position-absolute {
    position: absolute !important;
}
.opacity-6 {
    opacity: .6 !important;
}
.mt-sm-n8 {
    margin-top: -8rem !important;
}
.mt-n7 {
    margin-top: -6rem !important;
}
.card {
    box-shadow: 0 20px 27px 0 rgba(0, 0, 0, .05);
}
.border-radius-bottom-end-lg-0 {
    border-bottom-right-radius: 0 !important;
}
.card .card-header {
    padding: 1.5rem;
}
.card-header:first-child {
    border-radius: 1rem 1rem 0 0;
}
.text-center {
    text-align: center !important;
}
.pb-3 {
    padding-bottom: 1rem !important;
}
.pt-4 {
    padding-top: 1.5rem !important;
}
.card-header {
    padding: var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);
    margin-bottom: 0;
    color: var(--bs-card-cap-color);
    background-color: var(--bs-card-cap-bg);
    border-bottom: var(--bs-card-border-width) solid var(--bs-card-border-color);
}
.text-dark {
    color: #344767 !important;
}
.mb-0 {
    margin-bottom: 0 !important;
}
.opacity-8 {
    opacity: .8 !important;
}
.h6, h6 {
    font-size: 1rem;
    line-height: 1.625;
    font-weight: 600;
}
.font-weight-bolder {
    font-weight: 700 !important;
}
.card .card-body {
    font-family: Open Sans;
    padding: 1.5rem;
}
.pt-0 {
    padding-top: 0 !important;
}
.mx-auto {
    margin-right: auto !important;
    margin-left: auto !important;
}
.card-body {
    flex: 1 1 auto;
    padding: var(--bs-card-spacer-y) var(--bs-card-spacer-x);
    color: var(--bs-card-color);
}
.py-1 {
    padding-top: .25rem !important;
    padding-bottom: .25rem !important;
}
.px-2 {
    padding-right: .5rem !important;
    padding-left: .5rem !important;
}
.justify-content-start {
    justify-content: flex-start !important;
}
.d-flex {
    display: flex !important;
}
.ps-2 {
    padding-left: .5rem !important;
}
.btn-text{
    color: #fff;
}
.btn-text:hover{

    background: #fff;
}
.text-sm {
    font-size: .875rem !important;
    line-height: 1.5;
}
.no-border {
    border-bottom: none;
}
.no-border-foot {
   border-top: none;
}
/*footer*/
.py-7 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}
.overflow-hidden {
    overflow: hidden !important;
}
.mt-n3 {
    margin-top: -1rem !important;
}
.w-100 {
    width: 100% !important;
}
.top-0 {
    top: 0 !important;
}
.position-absolute {
    position: absolute !important;
}
.mt-8 {
    margin-top: 8rem !important;
}
hr.horizontal.light {
    background-image: linear-gradient(90deg, hsla(0, 0%, 100%, 0), #fff, hsla(0, 0%, 100%, 0));
}
hr.horizontal {
    background-color: transparent;
}

.text-white {
color: white !important;
}

/*SectionPrice*/
/* Ajustes generales para el contenedor */
.badge-price{
    background: #9a07c7;
    color: #fff;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 600;
    padding: 0.5em 1em;
    border-radius: 12px;
}
.card-price{
    border: 2px solid #EAB0FC;
}
.recomended {
    border: 3px solid #9a07c7;
    box-shadow: 0 4px 8px rgba(84, 61, 231, 0.2);
}

.best {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 112px;
    height: 25px;
    position: absolute;
    top: -12px;
    right: 90px;
    background: #9a07c7;
    border-radius: 24px;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    color: #fff;
}
.btn-price{
   background: #9a07c7;
    color: white;
}
.btn-price:hover{
    background: white;
    color: #9a07c7;
    border: 2px solid #9a07c7;
}
.btn-price-free{
   background: #EAB0FC;
    color: #9a07c7;
}
.btn-price-free:hover{
    background: white;
    color: #d14ef9;
    border: 2px solid #EAB0FC;
}


/* Color base del toggle */
.btn-outline-primary {
  color: #9a07c7;
  border-color: #9a07c7;
}

/* Hover o foco */
.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: #9a07c7 !important;
  color: #fff !important;
  border-color: #9a07c7 !important;
}

/* Cuando el toggle está seleccionado */
.btn-check:checked + .btn-outline-primary,
.btn-outline-primary.active {
  background-color: #9a07c7;
  border-color: #9a07c7;
  color: #fff;
}

/* También si el usuario mantiene presionado */
.btn-outline-primary:active {
  background-color: #9a07c7 !important;
  border-color: #9a07c7 !important;
  color: #fff !important;
}

/***************************MEDIAS***********************************/


@media (max-width: 768px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    .container-box {
        flex-direction: column;
        align-items: center;
    }
    .box {
        min-height: 200px;
        width: 100%;
    }
    .card {
        border-radius: 1.5rem !important; /* Equivalente a rounded-4 */
      }
    .justify-content-sm-center{
        justify-content: center !important;
    }
    .mt-8{
        margin-top: 1px !important;
    }

}



/* Definición de la animación */
@keyframes slide-up {
    from {
        opacity: 0;
        transform: translateY(50px); /* Comienza desde abajo */
    }
    to {
        opacity: 1;
        transform: translateY(0); /* Termina en su posición original */
    }
}
 /* Animación para mover las ondas */
 @keyframes wave {
    0% {
      margin-left: 0;
    }
    100% {
      margin-left: -1600px;
    }
  }

  @keyframes swell {
    0%, 100% {
      transform: translate3d(0,-25px,0);
    }
    50% {
      transform: translate3d(0,5px,0);
    }
  }
  @keyframes f {
    0% {
        transform: translate3d(-90px,0,0)
    }

    to {
        transform: translate3d(85px,0,0)
    }
}
@keyframes wave-animation {
    0% {
        transform: translate3d(-90px,0,0)
    }

    to {
        transform: translate3d(85px,0,0)
    }
}
