:root {
  --purple: #350360;
}
body {
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  width: 100%;
  margin: 0;
}
p,
h1,
h2,
h3 {
  margin: 0;
}
h2 {
  text-align: center;
  font-size: 32px;
}
/* Screen reader only - for SEO and accessibility (e.g. h1) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* NAV BAR */
/*NAV*/
.mainNav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  box-sizing: border-box;
  background-color: var(--purple);
  box-shadow: 0px 11px 19px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000; /* Garantiza que esté por encima de otros elementos */
  padding: 18px;
}


.headerLogo {
  max-width: 100px;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
  padding: 8px;
  display: block;
}

.menu {
  display: none;
  position: fixed;
  top: 80px; /* Same as .mainNav height so menu meets nav with no gap */
  right: 0;
  width: 50%;
  bottom: 0;
  height: calc(100vh - 80px);
  background-color: var(--purple);
  box-shadow: -1px 0 10px rgba(0, 0, 0, 0.1);
  z-index: 999;
  padding: 16px;
  padding-top: 12px;
  border-bottom-left-radius: 16px;
  box-sizing: border-box;
}

.menuItem {
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  padding-bottom: 16px;
}

.menuContent {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding-top: 0;
  gap: 0;
}

.menu.show {
  display: block;
  animation: slideInOut 0.3s ease-in-out;
}

@keyframes slideInOut {
  from {
    transform: translateX(200px);
  }

  to {
    transform: translateX(0);
  }
}

.menu.hide {
  animation: slideOut 0.3s ease-in-out;
}

@keyframes slideOut {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(200px);
  }
}

.cardSocial {
  width: fit-content;
  height: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 16px;
  gap: 8px;
  border-radius: 50px;
  background: #7b57ff;
}

/* for all social containers*/
.socialContainer {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: var(--color-black);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition-duration: 0.3s;
}

/* instagram*/
.containerOne:hover {
  background-color: #d62976;
  transition-duration: 0.3s;
}

/* twitter*/
.containerTwo:hover {
  background-color: #00acee;
  transition-duration: 0.3s;
}

/* linkdin*/
.containerThree:hover {
  background-color: #0072b1;
  transition-duration: 0.3s;
}

/* Whatsapp*/
.containerFour:hover {
  background-color: #128c7e;
  transition-duration: 0.3s;
}

.socialContainer:active {
  transform: scale(0.9);
  transition-duration: 0.3s;
}

.socialSvg {
  width: 24px;
}

.socialSvg path {
  fill: rgb(255, 255, 255);
}

.socialContainer:hover .socialSvg {
  animation: slide-in-top 0.3s both;
}

@keyframes slide-in-top {
  0% {
    transform: translateY(-50px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
/* From Uiverse.io by JulanDeAlb */
.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger input {
  display: none;
}

.hamburger svg {
  /* The size of the SVG defines the overall size */
  height: 3em;
  /* Define the transition for transforming the SVG */
  transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.line {
  fill: none;
  stroke: white;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
  /* Define the transition for transforming the Stroke */
  transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
    stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.line-top-bottom {
  stroke-dasharray: 12 63;
}

.hamburger input:checked + svg {
  transform: rotate(-45deg);
}

.hamburger input:checked + svg .line-top-bottom {
  stroke-dasharray: 20 300;
  stroke-dashoffset: -32.42;
}
/* From Uiverse.io by TISEPSE */
.btn2 {
  position: relative;
  display: inline-block;
  padding: 15px 30px;
  border: 1px solid #fefefe;
  border-radius: 16px;
  color: #fefefe;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: 0.3s;
}
.btnwhatsapp {
  position: relative;
  display: flex;
  align-items: center;
  padding: 15px 30px;
  border-radius: 16px;
  color: #fefefe;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: 0.3s;
  background-color: #22bb5a;
}
.btn2::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  width: calc(100% + 4px);
  height: calc(100% - -2px);
  background-color: var(--purple);
  transition: 0.3s ease-out;
  transform: scaleY(1);
}

.btn2::after {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  width: calc(100% + 4px);
  height: calc(100% - 50px);
  background-color: var(--purple);
  transition: 0.3s ease-out;
  transform: scaleY(1);
}

.btn2:hover::before {
  transform: translateY(-25px);
  height: 0;
}

.btn2:hover::after {
  transform: scaleX(0);
  transition-delay: 0.15s;
}

.btn2:hover {
  border: 1px solid #fefefe;
}

.btn2 span {
  position: relative;
  z-index: 3;
}

button {
  text-decoration: none;
  border: none;
  background-color: transparent;
}

.mainSections {
  display: flex;
  width: 100%;
  gap: 8px;
}

/* BANNER PLACE */
.banner {
  background: rgb(28, 34, 142);
  background: -moz-linear-gradient(
    343deg,
    rgba(28, 34, 142, 1) 0%,
    rgba(53, 3, 96, 1) 63%
  );
  background: -webkit-linear-gradient(
    343deg,
    rgba(28, 34, 142, 1) 0%,
    rgba(53, 3, 96, 1) 63%
  );
  background: linear-gradient(
    343deg,
    rgba(28, 34, 142, 1) 0%,
    rgba(53, 3, 96, 1) 63%
  );
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#1c228e",endColorstr="#350360",GradientType=1);
  height: 600px;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Hero banner videos: landscape vs portrait */
.hero {
  position: relative;
  margin-top: 80px;
}

.hero-video {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.hero-video-portrait {
  display: none;
}

@media (orientation: portrait) {
  .hero-video-landscape {
    display: none;
  }

  .hero-video-portrait {
    display: block;
  }
}

/* SERVICIOS */
.section {
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 64px;
}

/* Extra space after servicios so "Acerca de nosotros" title sits clearly below the cards */
.section.servicios {
  margin-bottom: 80px;
}

/* Nuestra presencia */
.presencia-intro {
  text-align: center;
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 24px;
}

.presencia-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
}

.presencia-card {
  background: linear-gradient(
    to right,
    rgba(28, 34, 142, 1) 0%,
    rgba(53, 3, 96, 1) 63%
  );
  color: white;
  padding: 20px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(53, 3, 96, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.presencia-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(53, 3, 96, 0.35);
}

.servicios i {
  font-size: 70px;
  color: var(--purple);
}

/* From Uiverse.io by vinodjangid07 */
.cardsSection {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 32px;
  margin-top: 32px;
}

.cookieCard {
  width: 400px;
  background: linear-gradient(
    to right,
    rgba(28, 34, 142, 1) 0%,
    rgba(53, 3, 96, 1) 63%
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  min-height: 100%;
}

.cookieCard::before {
  width: 150px;
  height: 150px;
  content: "";
  background: linear-gradient(
    to right,
    rgba(28, 34, 142, 1) 0%,
    rgba(53, 3, 96, 1) 63%
  );
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  right: -19%;
  top: -20%;
}

.cookieHeading {
  font-size: 1.5em;
  font-weight: 600;
  color: rgb(241, 241, 241);
  z-index: 2;
}

.cookieDescription {
  font-size: 0.9em;
  color: rgb(241, 241, 241);
  z-index: 2;
}

.cookieDescription a {
  color: rgb(241, 241, 241);
}

.acceptButton {
  padding: 16px;
  background-color: #7b57ff;
  transition-duration: 0.2s;
  border: none;
  color: rgb(241, 241, 241);
  cursor: pointer;
  font-weight: 600;
  z-index: 2;
  width: 100%;
  border-radius: 8px;
  font-size: 18px;
}

.acceptButton:hover {
  background-color: #714aff;
  transition-duration: 0.2s;
}

.itemCardServices {
  background-color: #ffffff;
  padding: 8px;
  border-radius: 8px;
  width: 100%;
  font-size: 18px;
  font-weight: 500;
  position: relative;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.itemCardServices:hover {
  background-color: #f0f0f0;
}

.serviceDetails {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s ease, padding 0.5s ease;
}

.serviceDetails p {
  margin: 0;
  padding: 6px 0;
  font-size: 0.9rem;
  line-height: 1.45;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
}

.serviceDetails p + p {
  margin-top: 4px;
}
.itemRow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.itemRow p {
  margin: 0;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
  flex: 1;
  min-width: 0; /* Allow flex item to shrink so text can wrap */
}

/* NOSOTROS */

.aboutUs {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  padding-top: 48px;
  margin-top: 0;
}

.aboutUs > h2 {
  margin-bottom: 32px;
  margin-top: 0;
}

/* From Uiverse.io by MikeAndrewDesigner */
.e-card {
  background: transparent;
  box-shadow: 0px 8px 28px -9px rgba(0, 0, 0, 0.45);
  position: relative;
  width: 550px;
  min-height: 374px; /* Asegura una altura mínima */
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* Alinea el contenido en la parte superior */
}

.e-card .infotop div {
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
}

.wave {
  position: absolute;
  width: 540px;
  height: 700px;
  opacity: 0.6;
  left: 0;
  top: 0;
  margin-left: -1%;
  margin-top: -70%;
  background: linear-gradient(
    to right,
    rgba(123, 87, 255) 0%,
    rgba(53, 3, 96, 1) 63%
  );
  z-index: 1;
}

.icon {
  width: 3em;
  margin-top: -1em;
  padding-bottom: 1em;
}

.infotop {
  text-align: center;
  font-size: 20px;
  color: rgb(255, 255, 255);
  font-weight: 600;
  padding: 16px; /* Añadir padding para asegurar que el contenido tenga espacio */
  flex-shrink: 0; /* Evita que el contenedor se colapse */
  z-index: 10;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
}

.name {
  font-size: 14px;
  font-weight: 100;
  position: relative;
  top: 1em;
  text-transform: lowercase;
}

.wave:nth-child(2),
.wave:nth-child(3) {
  top: 210px;
}

.playing .wave {
  border-radius: 40%;
  animation: wave 7000ms infinite linear;
}

.wave {
  border-radius: 40%;
  animation: wave 55s infinite linear;
}

.playing .wave:nth-child(2) {
  animation-duration: 9000ms;
}

.wave:nth-child(2) {
  animation-duration: 50s;
}

.playing .wave:nth-child(3) {
  animation-duration: 15000ms;
}

.wave:nth-child(3) {
  animation-duration: 45s;
}

@keyframes wave {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}
.largeCard {
  display: flex;
  justify-content: center;
  gap: 200px;
  padding-top: 48px;
  align-items: flex-start; /* Asegura que las cards estén alineadas en la parte superior */
}

/* VALORES */
.valores-container {
  display: flex;
  justify-content: center;
  padding: 55px 0 20px 0;
}
.valores {
  display: flex;
  justify-content: center;
  align-items: stretch;
  padding: 16px;
  width: fit-content;
  max-width: 70%;
}
.valores > div {
  flex: 1; /* Esto asegura que ambos elementos (imagen y right-side) tomen el mismo espacio */
}
.attributes {
  display: flex;
  justify-content: space-between;
  padding: 0 64px;
}
.list {
  font-size: 24px;
}
.valores-img {
  width: 100%; /* La imagen ocupa el 100% del ancho del contenedor */
  height: 100%; /* La imagen ocupa el 100% de la altura del contenedor */
  object-fit: cover;
  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px;
}
.right-side {
  background-color: var(--purple);
  color: white;
  padding: 16px;
  display: flex;
  flex-direction: column; /* Asegura que el contenido se organice en columnas */
  justify-content: center;
  border-top-right-radius: 16px;
  border-bottom-right-radius: 16px;
}

/* NUESTROS CLIENTES */

.clientes {
  padding: 48px;
}

.carousel-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.carousel {
  display: flex;
  flex-direction: row;
  width: max-content;
  animation: slide 45s linear infinite; /* Ajusta la duración según el número de elementos */
}

.carousel-inner {
  display: flex;
  flex-direction: row;
}

.carousel-row {
  display: flex;
  flex: 0 0 auto;
  gap: 32px;
}

.carousel-item {
  flex: 0 0 auto;
  min-width: 200px;
  flex-shrink: 0;
}

.carousel-item img {
  height: 100px;
}

@keyframes slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(
      -50.15%
    ); /* Ajustar este valor para que coincida con el desplazamiento exacto */
  }
}

/*  Bolsa de trabajo */

.oferta {
  padding: 32px;
  background-color: var(--purple);
}

/* Footer */
.footer-bottom {
  display: flex; 
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
  background-color: var(--purple);
  padding: 48px;
}

.footer-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
  font-weight: bold;
  font-size: 18px;
}
.footer-item a {
  color: white;
  text-decoration: none;
}


/* MOBILE STYLES */
@media (max-width: 1024px) {
  /* Estilos que se aplican para pantallas de 1024px o menos */
  .hamburger {
    display: block;
    position: relative;
        left: -33px;
  }
  .mainSections {
    display: none;
  } 
  .cardsSection {
    flex-wrap: wrap;
    flex-direction: column;
  }
  .cookieCard {
    width: -webkit-fill-available;
  }
  .largeCard {
    flex-direction: column;
    gap: 32px;
  }
  .e-card {
    width: 100%;
  }
  .clientes {
    padding: 0;
  }
  .valores {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    padding: 16px;
  }
  .valores-img {
    border-bottom-left-radius: 0;
    border-top-right-radius:16px;
  }
  .right-side {
    border-radius: 0;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
  }
  .attributes {
    flex-direction: column;
  }
  .list {
    margin: 0;
  }
  .list li {
    font-size: 20px;
  }
  .right-side h2 {
    font-size: 24px;
    padding-bottom: 8px;
  }
  .presencia-cards {
    flex-direction: column;
    align-items: stretch;
  }
  .presencia-card {
    text-align: center;
  }
}