:root {
  --font: "Oswald", sans-serif;
  --background-color: #264660;
  --title-color: #364351;
  --link-color: #509ee3;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
@keyframes backgroundAnimation {
  0% {
    background: radial-gradient(
        1200px 500px at 10% 10%,
        rgba(25, 135, 84, 0.2),
        transparent 60%
      ),
      linear-gradient(135deg, #0d6efd 0%, #4395ff 100%);
    background-position: 0% 0%;
  }
  50% {
    background: radial-gradient(
        1200px 500px at 10% 10%,
        rgba(25, 135, 84, 0.2),
        transparent 60%
      ),
      linear-gradient(135deg, #0d6efd 0%, #4395ff 100%);
    background-position: 100% 100%;
  }
  100% {
    background: radial-gradient(
        1200px 500px at 10% 10%,
        rgba(25, 135, 84, 0.2),
        transparent 60%
      ),
      linear-gradient(135deg, #0d6efd 0%, #4395ff 100%);
    background-position: 0% 0%;
  }
}

body {
  font-family: var(--font);
  background: radial-gradient(
      1200px 500px at 10% 10%,
      rgba(25, 135, 84, 0.2),
      transparent 60%
    ),
    linear-gradient(135deg, #0d6efd 0%, #4395ff 100%);
  animation: backgroundAnimation 10s ease-in-out infinite;
  background-size: 200% 200%; /* Ajustamos el tamaño del fondo para crear el movimiento */
  min-height: 100vh;
  overflow-x: hidden;
}

/* Animaciones */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

/* HERO */
.mx-hero {
  padding: 2rem 0 3rem;
  color: #fff;
  animation: fadeInUp 0.8s ease;
}

.mx-hero__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease 0.2s backwards;
}

.mx-hero__logo {
  max-height: 120px;
  transition: transform 0.3s ease;
}

.mx-hero__logo:hover {
  transform: scale(1.1) rotate(2deg);
}

.mx-hero__divider {
  font-size: 3rem;
  font-weight: 200;
  opacity: 0.5;
  animation: pulse 2s ease-in-out infinite;
}

.hr_divider_title .hr_divider {
  border: 0;
  height: 4px !important;
  background: linear-gradient(90deg, transparent, white, transparent);
  margin: 20px auto;
  width: 80%;
  border-radius: 5px;
  opacity: 1 !important;
}
.hr_divider {
  display: none;
  opacity: 1 !important;
}
.mx-hero__lead {
  font-size: 1.2rem;
  max-width: 820px;
  margin: 0 auto 2rem;
  opacity: 0.95;
  animation: fadeInUp 1s ease 0.4s backwards;
}
li {
  padding-top: 8px;
}
.mx-hero__cta {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  animation: fadeInUp 1s ease 0.6s backwards;
  position: relative;
  overflow: hidden;
  background-color: #4395ff;
  color: white;
  font-size: 16px;
}
.mx-hero_cta {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  animation: fadeInUp 1s ease 0.6s backwards;
  position: relative;
  overflow: hidden;
  color: #4395ff;
  font-size: 16px;
  font-size: 16px;
}

.mx-hero__cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s;
}

.mx-hero__cta:hover::before {
  left: 100%;
}

.mx-hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

/* CARDS */
.cards-container {
  animation: fadeInUp 1s ease 0.8s backwards;
}

.mx-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.mx-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(13, 110, 253, 0.05),
    transparent
  );
  transition: left 0.6s;
}

.mx-card:hover::before {
  left: 100%;
}

.mx-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

.mx-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: var(--background-color);
  background: linear-gradient(
    135deg,
    rgba(13, 110, 253, 0.1),
    rgba(102, 16, 242, 0.1)
  );
  transition: all 0.5s ease;
}

.mx-card:hover .mx-card__icon {
  transform: rotate(360deg) scale(1.1);
  background: linear-gradient(
    135deg,
    rgba(13, 110, 253, 0.2),
    rgba(102, 16, 242, 0.2)
  );
}

.mx-card__title {
  font-size: 19px;
  font-weight: 500;
  margin-bottom: 0.75rem;
  color: #212529;
  line-height: 1.5;
}

.mx-card__text {
  color: #495057;
  margin-bottom: 1rem;
  line-height: 1.8;
}

.mx-card__list {
  list-style: none;
  padding-left: 0;
  margin: 0 0 1rem;
}

.mx-card__list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #343a40;
  margin: 0.5rem 0;
  line-height: 1.4;
  opacity: 0;
  animation: fadeInUp 0.5s ease forwards;
}

.mx-card:hover .mx-card__list li:nth-child(1) {
  animation-delay: 0.1s;
}

.mx-card:hover .mx-card__list li:nth-child(2) {
  animation-delay: 0.2s;
}

.mx-card:hover .mx-card__list li:nth-child(3) {
  animation-delay: 0.3s;
}

.mx-card__list i {
  font-size: 1.1rem;
  color: #198754;
  transition: transform 0.3s ease;
}

.mx-card:hover .mx-card__list i {
  transform: scale(1.2);
}

.mx-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: black;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
}

.mx-card__link:hover {
  color: #0d6efd;
  gap: 0.5rem;
}

.mx-card__link i {
  transition: transform 0.3s ease;
}

.mx-card__link:hover i {
  transform: translateX(4px);
}

/* CTA */
.mx-cta {
  padding: 4rem 0 0rem;
  color: white;
  animation: fadeInUp 1s ease 1s backwards;
}

.mx-cta__title {
  font-weight: 800;
  margin-bottom: 1rem;
  font-size: 35px;
}

.mx-cta__text {
  color: white;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  opacity: 0.95;
}

/* Modal */
.modal-content {
  border-radius: 16px;
  border: none;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
  background: linear-gradient(135deg, #0d6efd 0%, #4395ff 100%);
  color: white;
  border-radius: 16px 16px 0 0;
  border: none;
}

.modal-header .btn-close {
  filter: brightness(0) invert(1);
}

.modal-body {
  padding: 2rem;
}

.modal-title {
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.feature-item {
  padding: 1rem;
  border-left: 3px solid #0d6efd;
  background: rgba(13, 110, 253, 0.05);
  margin-bottom: 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: rgba(13, 110, 253, 0.1);
  transform: translateX(8px);
}

.feature-item h5 {
  color: #4395ff;
  margin-bottom: 0.5rem;
  font-weight: 500;
}
footer {
  background-color: #4395ff;
  color: white;
  font-family: var(--font);
  padding: 1rem 0;
  text-align: center;
  position: relative;
  bottom: 0;
  width: 100%;
}
footer strong {
  color: white;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 510px) {
  .mx-hero__logos {
    flex-wrap: wrap;
    gap: 0;
  }

  .mx-hero__divider {
    display: none;
  }

  .hr_divider {
    display: flex;
  }

  .mx-hero__logo {
    max-height: 100px;
  }
}
