/*VARIABLES EN CSS*/
:root {
  --color-dark: black;
  --color-primary: #ef3d5e;
  --color-grey: #f6f6fb;
  --color-light: #ffffff;
}

body {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 1rem;
  font-weight: 300;
  background-color: #211f24;
}

.bg-dark-800 {
  background-color: #211f24;
}

.bg-dark-700 {
  background-color: #24252a;
}

.bg-red {
  background-color: #f70037;
}

.txt-red {
  color: #f70037;
}

.txt-description {
  color: #6f6f71;
  line-height: 1.4em;
}

.text-gray-400 {
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / var(--tw-text-opacity, 1));
}

.text-white-tw {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.hero {
  min-height: 100vh;
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: cover;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
}

.navbar {
  width: 100%;
  transition: ease-in-out 0.5s;
  position: fixed;
  z-index: 4;
  box-shadow: inset;
}

.py-6 {
  padding: 5rem 0;
}

/* boton scrolldown */
.scrolldown {
  --color: white;
  --sizeX: 30px;
  --sizeY: 50px;
  position: relative;
  width: var(--sizeX);
  height: var(--sizeY);
  margin-left: var(sizeX / 2);
  border: calc(var(--sizeX) / 10) solid var(--color);
  border-radius: 50px;
  box-sizing: border-box;
  margin-bottom: 16px;
  cursor: pointer;
}

.scrolldown::before {
  content: "";
  position: absolute;
  bottom: 30px;
  left: 50%;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  background-color: var(--color);
  border-radius: 100%;
  animation: scrolldown-anim 2s infinite;
  box-sizing: border-box;
  box-shadow: 0px -5px 3px 1px #2a547066;
}

@keyframes scrolldown-anim {
  0% {
    opacity: 0;
    height: 6px;
  }

  40% {
    opacity: 1;
    height: 10px;
  }

  80% {
    transform: translate(0, 20px);
    height: 10px;
    opacity: 0;
  }

  100% {
    height: 3px;
    opacity: 0;
  }
}

.chevrons {
  padding: 6px 0 0 0;
  margin-left: -3px;
  margin-top: 48px;
  width: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.chevrondown {
  margin-top: -6px;
  position: relative;
  border: solid var(--color);
  border-width: 0 3px 3px 0;
  display: inline-block;
  width: 10px;
  height: 10px;
  transform: rotate(45deg);
}

.chevrondown:nth-child(odd) {
  animation: pulse54012 500ms ease infinite alternate;
}

.chevrondown:nth-child(even) {
  animation: pulse54012 500ms ease infinite alternate 250ms;
}

@keyframes pulse54012 {
  from {
    opacity: 0;
  }

  to {
    opacity: 0.5;
  }
}


/*llina de tiempo*/
.step-icon {
  width: 60px;
  height: 60px;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #24252a;
  color: white;
  margin: 0 auto 10px auto;
}

.timeline-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  position: relative;
}

.timeline-step {
  text-align: center;
  width: 220px;
  position: relative;
}

.arrow-svg {
  position: absolute;
  top: 45px;
  left: 100%;
  width: 80px;
  height: 50px;
  pointer-events: none;
}

.arrow-svg path {
  stroke: #ffffff;
  stroke-width: 2;
  stroke-dasharray: 5, 5;
  fill: none;
  animation: drawDashed 1.5s ease-out forwards;
  opacity: 0;
}

@keyframes drawDashed {
  0% {
    stroke-dashoffset: 100;
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
}

@media (max-width: 767px) {
  .timeline-container {
    flex-direction: column;
    align-items: center;
  }

  .arrow-svg {
    display: none;
  }
}

.brd-red {
  border-bottom: 2px solid #f70037 !important;
}


/*ANIMACION CARDS*/
.animate-up {
  transition: all .5s;
}

.animate-up:hover {
  transform: translateY(-15px);
  transition: all .5s;
}

.postcard__bar {
  width: 100px;
  height: 5px;
  margin: 10px 0;
  border-radius: 5px;
  background-color: #f70037;
  transition: width 0.2s ease;
}

.form-control {
  font-size: 14px;
  padding: 15px;
  border-radius: 2px;
  border: none;
  height: auto;
  background-color: #24252a;
  color: #ffffff;
}

.form-control:focus {
  outline: none;
  box-shadow: none;
  border: none;
  background-color: #24252a;
  color: #ffffff;
}

.form-control::placeholder {
  color: #6f6f71;
}

/*flip card*/
.card-custom {
  min-height: 450px;
  transition: box-shadow 0.3s ease-in-out;
}

.card-custom:hover {
  box-shadow: 14px 13px 15px 0px #2f3035;
}

.flip-card{
  position: relative;
  transition: .3s ease all;
  transform: rotateY(0deg);
  transform-style: preserve-3d;
  cursor: pointer;
  z-index: 2;
}

.flip-card.active{
  transform: rotateY(180deg);
}


.back-card{
  position: absolute;
  top: 0;
  transform: rotateY(180deg);
  backface-visibility: hidden;
  min-width: 360px;
  min-height: 400px;
}


.logo-scroller {
  position: relative;
   display: block;
  width:100%;  /* Will fit parent container at 100% */
  margin:0 auto;
}

.logo-scroller-content {
  padding: 200px 0;
}

.logo-scroller-items {
  margin: -58px 0;
  overflow: hidden;
  cursor: default;
}

.logo-scroller-row {
  display: flex;
  position: relative;
  white-space: nowrap;
  justify-content: space-around; /* Ensures logos have space around them */
  gap: 40px; /* Adds consistent space between logos */
}

.logo-scroller-item {
  position: relative;
  flex: 1 1 auto; /* Flexible sizing */
  min-width: 150px; /* Prevent logos from getting too small */
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-scroller-item span {
  position: relative;
  display: inline-block;
  z-index: 1;
}

/* Default logo size */
.logo-scroller-item span img {
  max-width: 100%;  /* Ensure the logo doesn't overflow horizontally */
  max-height: 100px;  /* Set consistent max height for logos */
  object-fit: contain;  /* Ensure logos maintain aspect ratio */
  display: block;  /* Remove inline spacing issues */
}

/* For larger screens (desktop) */
@media (min-width: 1024px) {
  .logo-scroller-item span img {
    max-height: 150px;  /* Larger height for big screens */
  }
}

/* For smaller screens (tablets) */
@media (max-width: 768px) {
  .logo-scroller-item {
    min-width: 100px; /* Adjust minimum width for smaller screens */
  }
  .logo-scroller-item span img {
    max-height: 80px;  /* Smaller height for tablets */
  }
}

/* For very small screens (phones) */
@media (max-width: 480px) {
  .logo-scroller-item {
    min-width: 80px; /* Adjust minimum width for mobile phones */
  }
  .logo-scroller-item span img {
    max-height: 60px;  /* Even smaller size for mobile phones */
  }
}


.nav-link {
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background-color: #f70037;
  transition: width 0.4s ease;
}

.nav-link.active::after {
  width: 100%;
}