/* 
    Alejandra Beigbedere 
    Colors
    Primary: #263238
    Secondary: #37474f
*/
:root {
  --family:
    font-family: "Poppins", "Roboto", "Helvetica", "Arial", sans-serif !important;
}

@font-face {
  font-family: var(--family);
  src: url("../fonts/ProductSans-Regular.ttf");
  font-display: swap;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: var(--family);
}
li {
  list-style: none;
}
h2 {
  font-size: 1.7rem !important;
}
h3 {
  font-size: 1.3rem !important;
}
main {
  min-height: 60vh;
}
/**************************************************** 
    Header Styles 
****************************************************/
header {
  background: rgb(11, 42, 99);
  background: linear-gradient(
    166deg,
    rgba(11, 42, 99, 1) 19%,
    rgba(32, 64, 122, 1) 45%,
    rgba(16, 64, 153, 1) 96%
  );

  color: #fff;
}
header a i {
  color: #fff !important;
}

/**************************************************** 
    Index Sections Styles 
****************************************************/
.number {
  color: #20407a;
  font-weight: 700;
  text-decoration: underline;
}
.color {
  color: #fff;
}
.contact {
  color: #20407a;
  font-weight: 700;
}
a {
  text-decoration: none;
  color: #fff;
}
.section-index-one {
  background: rgb(192, 192, 192);
  /* background: linear-gradient(
    166deg,
    rgba(11, 42, 99, 1) 19%,
    rgba(32, 64, 122, 1) 45%,
    rgba(16, 64, 153, 1) 96%
  );  */

  color: #fff;
}

.section-service-one {
  background: rgb(55, 71, 79);
  background: linear-gradient(
    90deg,
    rgba(38, 50, 56, 1) 0%,
    rgba(47, 47, 52, 1) 35%,
    rgba(81, 96, 103, 1) 100%
  );
  color: #fff;
}

@keyframes tableMove {
  from {
    left: -75px;
  }
  to {
    left: -50px;
  }
}
@keyframes celularMove {
  from {
    right: -20px;
  }
  to {
    right: 10px;
  }
}
.tablet-img-index {
  width: 205px;
  top: 25%;
  left: -60px;
  animation: tableMove 5s ease-in-out infinite alternate;
}
.celular-img-index {
  width: 120px;
  top: 45%;
  right: -10px;
  animation: celularMove 5s ease-in-out infinite alternate;
}
.card-one-icon i {
  font-size: 50px;
  margin-bottom: 25px;
}
.section-web-app {
  background: rgb(55, 71, 79);
  background: radial-gradient(
    circle,
    rgba(55, 71, 79, 1) 0%,
    rgba(38, 50, 56, 1) 47%
  );
  color: #fff;
}
.section-web-app p {
  color: #a2a6ab;
}
.dev-options-index {
  height: 100%;
  background-color: var(--principal-color);
  color: white;
  padding: 60px;
}
.dev-options-index p {
  color: #ffffff;
}
.dev-ecommerce-1 {
  height: 100%;
  background: #263238;
  color: white;
  padding: 60px;
}
.dev-ecommerce-1 p {
  color: #b5b5b9;
}
.dev-ecommerce-2 {
  height: 100%;
  background: #e7f6fd;
  padding: 60px;
}
.dev-ecommerce-2 p {
  color: #565656;
}

/**************************************************** 
    Footer Styles 
****************************************************/
footer {
  background: var(--principal-color);
  color: #fff;
  padding: 80px 40px;
}
footer a i {
  color: #fff !important;
}
footer i {
  font-size: 40px;
  margin: 10px;
}

.mb-4 img {
  width: 80px;
  margin-right: 20px;
}

/**************************************************** 
    Responsive Styles 
****************************************************/
@media only screen and (max-width: 600px) {
  .dev-options-index {
    padding: 30px;
  }
  .dev-ecommerce-1 {
    padding: 20px;
  }
  .dev-ecommerce-2 {
    padding: 20px;
  }
  @keyframes tableResponvieMove {
    from {
      left: -40px;
    }
    to {
      left: -10px;
    }
  }
  .tablet-img-index {
    width: 30%;
    top: 35%;
    left: -30px;
    animation: tableResponvieMove 5s ease-in-out infinite alternate;
  }
  .celular-img-index {
    width: 17%;
    top: 40%;
    right: -10px;
  }
}

/* Banner de Whatsapp y Telefono*/
@media all and (min-width: 768px) {
  #banner-callus {
    display: flex;
    flex-direction: row;
    align-items: center;
    -moz-transition: 1s;
    -webkit-transition: 1s;
    transition: 1s;
    position: fixed;
    bottom: 180px;
    right: -206px;
    z-index: 1000;
    -webkit-box-shadow: 15px 15px 30px -20px rgba(0, 0, 0, 0.55);
    -moz-box-shadow: 15px 15px 30px -20px rgba(0, 0, 0, 0.55);
    box-shadow: 15px 15px 30px -20px rgba(0, 0, 0, 0.55);
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
    z-index: 1050;
  }

  #banner-callus:hover {
    right: -35px;
  }

  #banner-callus-phone {
    padding: 10px 15px 12.5px 15px;
    background-color: #20407a;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
  }
  #banner-callus-text {
    padding: 0;
    height: 53px;
    background-color: #20407a;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 20px;
    width: 196px;
    line-height: 1;
  }

  .banner-callus-llamanos {
    padding-bottom: 0px;
    font-size: 1rem;
    color: white;
  }
  .banner-callus-telefono {
    padding-bottom: 0px;
    font-size: 1rem;
    color: white;
  }
  #banner-callus.banner-whats {
    bottom: 243px;
    right: -200px;
  }
  #banner-callus.banner-whats #banner-callus-phone,
  #banner-callus.banner-whats #banner-callus-text {
    background-color: #186a3b;
  }
  #banner-callus.banner-whats #banner-callus-phone {
    padding: 10px 15px 13px 15px;
  }
  #banner-callus.banner-whats img {
    width: 35px;
  }
  #banner-callus img {
    width: 40px;
  }
  #banner-callus.banner-whats:hover {
    right: -31px;
  }
}

@media all and (max-width: 767px) {
  .contenedor-contacto {
    width: 100%;
    height: 40px;
    position: fixed;
    bottom: 0;
    z-index: 99999;
    -webkit-box-shadow: 0px 15px 20px 10px #000;
    -moz-box-shadow: 0px 15px 20px 10px #000;
    box-shadow: 0px 15px 20px 10px #000;
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    left: 0;
  }

  #banner-callus {
    bottom: -1px;
    left: 0;
    width: 50%;
    height: 40px;
    background-color: #20407a;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    padding: 5px;
    display: flex;
    flex-direction: row;
    justify-content: center;
  }

  #banner-callus.banner-whats {
    left: auto;
    right: 0;
    bottom: -1px;
    background-color: #186a3b;
  }

  #banner-callus-phone {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    padding: 0;
  }

  #banner-callus-phone img {
    width: 40px;
    margin-top: 0px;
    padding: 5px;
    padding-bottom: 0;
  }

  #banner-callus.banner-whats img {
    width: 35px;
    margin-top: 3px;
    padding: 5px;
    padding-bottom: 0;
    margin-left: -2px;
  }

  #banner-callus.banner-whats #banner-callus-phone {
    padding: 0;
  }

  #banner-callus-text {
    flex-direction: column;
    height: 40px;
    padding-top: 0.5rem;
    justify-content: flex-start;
    align-items: center;
    width: fit-content;
  }

  .banner-callus-llamanos {
    font-size: 1rem;
    margin-top: -2px;
    margin-right: 0px;
    padding-bottom: 0;
  }

  .banner-callus-telefono {
    display: none;
  }
}

/* From Uiverse.io by PriyanshuGupta28 */
.checkbox-wrapper input[type="checkbox"] {
  display: none;
}

.checkbox-wrapper .terms-label {
  cursor: pointer;
  display: flex;
  align-items: center;
}

.checkbox-wrapper .terms-label .label-text {
  margin-left: 10px;
}

.checkbox-wrapper .checkbox-svg {
  width: 30px;
  height: 30px;
}

.checkbox-wrapper .checkbox-box {
  fill: rgba(207, 205, 205, 0.425);
  stroke: #8c00ff;
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
  transition: stroke-dashoffset 0.6s ease-in;
}

.checkbox-wrapper .checkbox-tick {
  stroke: #8c00ff;
  stroke-dasharray: 172;
  stroke-dashoffset: 172;
  transition: stroke-dashoffset 0.6s ease-in;
}

.checkbox-wrapper input[type="checkbox"]:checked + .terms-label .checkbox-box,
.checkbox-wrapper input[type="checkbox"]:checked + .terms-label .checkbox-tick {
  stroke-dashoffset: 0;
}

/*footer*/

.icono {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0;
  gap: 0.5rem;
}
.titulo-footer {
  margin-bottom: 8rem;
  font-size: 2rem;
}
.shadow {
  background-color: #fff;
  border: none;
  border-radius: 8px;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.3),
    0 8px 16px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
  margin: 0;
  padding: 28px 28px 28px;
}
.text-center {
  text-align: center;
}

@media (max-width: 768px) {
  .books-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
  .books-footer img {
    width: 100px;
  }
}
/**************************************************** 
    Nav Styles-Frank
****************************************************/
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--family);
  width: 100%;
  padding: 10px 20px;
  background-color: rgba(100, 100, 100, 0.5);
  position: fixed;
  z-index: 9999;
}

nav h1 {
  color: #fff;
  font-size: 30px;
  margin: 0;
}

.social-buttons a {
  font-family: var(--family);
  color: #fff;
  text-transform: uppercase;
  padding: 8px 15px;
  font-size: 18px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.social-buttons a:hover {
  transform: translateY(-2px);
  color: var(--principal-color);
}

/* Botón hamburguesa */
.menu-toggle {
  display: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
  margin-right: 15px;
}

/* Responsive para móviles */
@media (max-width: 600px) {
  .menu-toggle {
    display: block;
  }

  .social-buttons {
    display: none;
    flex-direction: column;
    background-color: rgba(100, 100, 100, 0.5);
    width: 100%;
    position: absolute;
    top: 0px; /* debajo del nav */
    left: 0;
    text-align: center;
    padding: 0;
  }

  nav.open .social-buttons {
    display: flex;
  }
  .social-buttons {
    margin-top: 95px;
  }

  .social-buttons a {
    padding: 10px;
    font-size: 18px;
  }

  nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-left {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
  }
}

/* From Uiverse.io by Cevorob */
.burger {
  position: relative;
  width: 40px;
  height: 30px;
  background: transparent;
  cursor: pointer;
  display: block;
}

.burger input {
  display: none;
}

.burger span {
  display: block;
  position: absolute;
  height: 4px;
  width: 100%;
  background: white;
  border-radius: 9px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: 0.25s ease-in-out;
}

.burger span:nth-of-type(1) {
  top: 0px;
  transform-origin: left center;
}

.burger span:nth-of-type(2) {
  top: 50%;
  transform: translateY(-50%);
  transform-origin: left center;
}

.burger span:nth-of-type(3) {
  top: 100%;
  transform-origin: left center;
  transform: translateY(-100%);
}

.burger input:checked ~ span:nth-of-type(1) {
  transform: rotate(45deg);
  top: 0px;
  left: 5px;
}

.burger input:checked ~ span:nth-of-type(2) {
  width: 0%;
  opacity: 0;
}

.burger input:checked ~ span:nth-of-type(3) {
  transform: rotate(-45deg);
  top: 28px;
  left: 5px;
}

/**************************************************** 
  Index-Top Styles
************************* ***************************/

/* Estilos para el contenido principal */

.section-index-one {
  background-image: url("../img/fondo4.png");
  background-repeat: no-repeat;
  background-size: cover; /* Asegura que la imagen cubra toda la pantalla */
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh; /* Esto hace que la sección ocupe al menos toda la altura de la pantalla */
  padding: 0; /* Elimina cualquier padding */
  margin: 0; /* Elimina cualquier margen */
}

.contenido {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh; /* Ocupa el 100% de la pantalla */
  text-align: center;
  padding: 0 20px;
}

/* Títulos */
.h1-content {
  font-family: var(--family);
  font-size: 60px;
  font-weight: bolder;
  color: rgba(255, 255, 255, 1);
  line-height: 1.2;
}

.h2-content {
  font-size: 42px !important;
  font-weight: 400;
  color: #ffffff; /* blanco suave */
  margin: 20px 0;
}

.h2-content em {
  font-style: italic;
  color: #ffffff; /* tono azul claro */
}

.p {
  font-size: 30px;
  font-weight: 100;
  padding: 0px 300px;
  text-align: center;
  color: rgba(255, 255, 255, 1);
}

.btn {
  display: inline-block;
  padding: 14px 35px;
  margin-top: 3rem;
  font-size: 18px;
  font-weight: bold;
  border-radius: 50px;
  border: none;
  background: linear-gradient(135deg, #003549, #00ddff);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.btn:hover {
  background: linear-gradient(135deg, #003549, #006083);
}

.btn:hover {
  color: #fff;
}

/* Ajustes responsivos */
@media (max-width: 768px) {
  .section-index-one {
    background-image: url("../img/fondo2.png");
  }
  .h1-content {
    font-size: 32px;
  }

  .h2-content {
    font-size: 22px !important;
    margin: 15px 0;
  }

  .p {
    font-size: 16px;
    padding: 0 20px; /* quita el padding grande */
  }

  .btn {
    font-size: 16px;
    padding: 12px 25px;
    width: 100%; /* botón ancho en móvil */
  }
}

/* Sección general */
.section-service-two {
  background: #ffffff;
  font-family: var(--family);
  color: #333;
}

/* Contenedor principal */
.servicios {
  max-width: 900px;
  margin: 3rem auto;
  text-align: left;
}

/* Títulos principales */
.servicios h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #222;
}

.servicios h2 {
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 2rem;
  color: #555;
}

/* Subtítulos */
.servicios h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 1.5rem 0 0.8rem;
  color: #006699;
  border-left: 4px solid #006699;
  padding-left: 10px;
}

/* Párrafos de sesiones */
.servicios p {
  margin: 0.3rem 0;
  font-size: 1rem;
  line-height: 1.6;
  padding-left: 1.2rem;
  position: relative;
}

/* Icono/viñeta para sesiones */
.servicios p::before {
  content: "•";
  color: #000000;
  position: absolute;
  left: 0;
  font-size: 0.9rem;
  top: 2px;
}

/* Responsivo */
@media (max-width: 768px) {
  .servicios h1 {
    font-size: 1.6rem;
  }
  .servicios h2 {
    font-size: 1rem;
  }
  .servicios h3 {
    font-size: 1.1rem;
  }
  .servicios p {
    font-size: 0.95rem;
  }
}

h4 {
  font-family: var(--family);
  font-size: 1.1rem;
  font-weight: 500;
  color: #333;
  line-height: 1.6;
  margin: 1.5rem 0;
}

/* Contenedor del enlace */
h4 span {
  margin-left: 0.3rem;
}

/* Enlace de contacto */
h4 span a {
  color: #0066cc;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

/* Hover efecto */
h4 span a:hover {
  color: #004080;
  border-bottom: 2px solid #004080;
}

/* Estilos generales */
.main-carrusel {
  width: 100%;
  max-width: 900px;
  margin: 50px auto;
  text-align: center;
  font-family: var(--family);
}

.carrusel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 320px;
  overflow: hidden;
}

/* Libros */
.libro {
  padding-top: 3rem;
  position: absolute;
  width: 210px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: bold;
  transition: all 0.5s ease;
  cursor: pointer;
  opacity: 0;
  transform: scale(0.7);
}

/* Libro central destacado */
.libro.central {
  opacity: 1;
  z-index: 3;
  transform: scale(1) translateY(-15px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

/* Libros a la izquierda y derecha */
.libro.izquierda {
  opacity: 0.8;
  z-index: 2;
  transform: translateX(-230px) scale(0.85);
}

.libro.derecha {
  opacity: 0.8;
  z-index: 2;
  transform: translateX(230px) scale(0.85);
}

/* Libros ocultos */
.libro.oculto {
  opacity: 0;
  z-index: 1;
  transform: scale(0.6);
  pointer-events: none;
}

/* Flechas */
.flecha {
  background: rgb(255, 255, 255, 0.1);
  color: var(--principal-color);
  font-size: 32px;
  border: none;
  padding: 10px 25px;
  border-radius: 100%;
  cursor: pointer;
  z-index: 4;
  transition: background 0.3s;
}

.flecha:hover {
  color: #ffffff;
  background: var(--principal-color);
}

.izqBtn {
  position: absolute;
  left: 20px;
}

.derBtn {
  position: absolute;
  right: 20px;
}

/* Info del libro central */
.info {
  margin-top: 20px;
  font-size: 30px;
  font-weight: 500;
  color: #000000;
  padding: 12px 18px;
}

@media (max-width: 768px) {
  .info {
    font-size: 22px;
  }
}

/**************************************************** 
  Prensa Styles
****************************************************/
.video-container {
  box-sizing: border-box;
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  padding-right: calc(var(--bs-gutter-x) / 2);
  padding-left: calc(var(--bs-gutter-x) / 2);
  margin-top: var(--bs-gutter-y);
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2 columnas para pantallas grandes */
  gap: 20px; /* Espacio entre las columnas */
  align-items: center; /* Alineación vertical */
  margin: 80px 0;
}
.video-bg1 {
  background-color: #4addf7;
}
.video-bg3 {
  background-color: #ffb937;
}
.video-text {
  text-align: center;
  font-family: var(--family);
}
.video-text p {
  font-size: 22px;
}
.video {
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: flex-end;
}
.video-container iframe {
  width: 800px;
  height: 450px;
}

.pd-left {
  padding-left: 152px;
}

.pd-right {
  padding-right: 125px;
}

/* Media Query para pantallas más pequeñas (móviles y tabletas) */
@media (max-width: 768px) {
  .video-container {
    grid-template-columns: 1fr; /* Apilar los elementos (video y texto) */
    padding-left: 5px; /* Reducir padding lateral */
    padding-right: 5px;
    margin: 40px 0; /* Reducir margen superior e inferior */
  }

  .video-container:nth-child(even) {
    direction: rtl; /* Invierte el orden visual */
  }

  .video-text {
    text-align: center; /* Alineación centrada del texto en pantallas pequeñas */
    padding-left: 5px; /* Ajustar padding para evitar bordes muy grandes */
    padding-right: 5px;
  }

  .video {
    justify-content: flex-end; /* Centrar el video en pantallas pequeñas */
    padding: 0;
    margin: 0 0;
  }

  .video-container iframe {
    width: 100%; /* Que el iframe sea responsive */
    max-width: 800px; /* No exceda el tamaño original en pantallas grandes */
    height: 250px; /* Altura reducida */
  }

  /* Ajuste para las clases pd-left y pd-right */
  .pd-left {
    padding-left: 5px; /* Reducir padding en pantallas pequeñas */
  }

  .pd-right {
    padding-right: 5px; /* Reducir padding en pantallas pequeñas */
  }
}

:root {
  --principal-color: #003549;
}

/**************************************************** 
    About-me Styles 
****************************************************/
.about-me {
  padding: 100px 20px;
  font-family: "Arial", sans-serif;
}

.container-about-me {
  display: flex;
  align-items: flex-start;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
}

.imagen {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.imagen img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

.texto {
  flex: 2;
}

.texto h1 {
  color: var(--principal-color);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 30px;
}

.texto h1 span {
  flex: 1;
  height: 1px;
  background: var(--principal-color);
  margin: 0 15px;
}

.texto p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .container-about-me {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .imagen {
    width: 100%;
    align-items: center;
  }

  .imagen img {
    max-width: 350px;
    height: auto;
  }

  .texto {
    text-align: center;
  }

  .texto h1 {
    font-size: 2rem;
    flex-direction: column;
  }

  .texto h1 span {
    display: none; /* quitamos las líneas laterales en móvil */
  }

  .texto p {
    font-size: 1rem;
    padding: 0 15px;
  }
}

/**************************************************** 
    Mis-Libros Styles 
****************************************************/
.libro2 {
  margin-top: 3rem;
}

.section-books .h1 {
  color: var(--principal-color);
  text-align: center;
  font-family: var(--family, sans-serif);
  font-size: 3rem;
  font-weight: 700;
  margin: 3rem;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.up {
  margin-bottom: 1rem;
}

.down {
  margin-top: 1rem;
}

/**************************************************** 
  Contact Styles
****************************************************/

.h1-contact {
  color: var(--principal-color);
  margin-top: 3rem;
}

/**************************************************** 
  Animation Styles
****************************************************/

/* Fade-in al hacer scroll */
.fade-in {
  opacity: 0;
  transform: translateY(50px);
  transition:
    opacity 1s ease-out,
    transform 1s ease-out;
  pointer-events: none; /* 🚀 evita que bloquee la nav */
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto; /* 🚀 ya se puede interactuar cuando es visible */
}

@keyframes slideDown {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/**************************************************** 
  Gracias Styles
****************************************************/

.h1-thanks {
  color: var(--principal-color);
  margin-top: 3rem;
}

/**************************************************** 
  Politica de Privacidad Styles
****************************************************/

.h1-politic {
  margin-top: 3rem;
}
