@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

:root {
  --official-blue: #0434b4;
  --official-red: #e40414;
  --official-green: #04c404;
  --customer-animation-speed: 25s;
}

* {
  color: white;
  font-family: "Lato", sans-serif;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  background-color: black;
}

span {
  background-color: transparent;
}

ul {
  list-style: none;
}

li {
  margin: 2px;
}

.text-p {
  font-size: 1em;
  text-align: justify;
}

#contact, #about, #services, #customers{
  scroll-margin-top: 80px;
}

/* NAVBAR SECTION */

.navbar {
  background-color: black;
}


.navbar-collapse {
  margin-left: 35%;
}

.logo {
  height: auto;
  width: 80px;
  background-color: black;
}

.nav-link {
  color: #fff;
}

.nav-link:hover {
  color: #fff;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23ffffff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  
}

.navbar-nav {
  margin-left: 50%;
}

.nav-item {
  margin-left: 5%;
}

/* HOME SECTION */

@keyframes move-gradient {
  0% {
    background-position: 0 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0 50%;
  }
}

.home-section {
  padding-top: 20vh;
  padding-bottom: 20vh;
  text-align: center;
  background: linear-gradient(
    0deg,
    var(--official-blue),
    rgb(0, 0, 0),
    rgb(0, 0, 0)
  );
  background-size: 200% 200%;
  animation: move-gradient 5s ease infinite;
}

.home-logo {
  width: 500px;
  padding-bottom: 40px;
}

.home-title {
  padding-bottom: 5%;
  font-weight: 700;
}

.scroll-button-wrapper {
  width: 100%;
  position: relative;
  margin: 20px auto;
}

.scroll-txt {
  color: #fff;
  text-align: center;
  width: 100px;
  margin: 6px auto;
  position: relative;
}

.scroll-button {
  height: 50px;
  width: 28px;
  border: 1px solid #fff;
  border-radius: 14px;
  position: relative;
  margin: 0 auto;
}

.scroll-button::after {
  content: "";
  height: 8px;
  width: 8px;
  top: 14px;
  left: 9px;
  border-radius: 100%;
  background-color: #fff;
  position: absolute;

  -webkit-animation: animate-it 1.5s ease infinite;
  animation: animate-it 1.5s ease infinite;
}

@keyframes animate-it {
  0% {
    -webkit-transform: translateY(0);
    opacity: 0;
  }
  20% {
    -webkit-transform: translateY(-4px);
    opacity: 1;
  }
  60% {
    -webkit-transform: translateY(10px);
    opacity: 1;
  }
  100% {
    -webkit-transform: translateY(10px);
    opacity: 0;
  }
}

/* ABOUT SECTION */
.about-section {
  padding-top: 10%;
}

.about-text {
  margin: 0 auto; 
  margin-top: 40px;
  margin-bottom: 50px;
  max-width: 60%;
}

.about-item {
  margin: 0 auto; 
  background: rgba(255, 255, 255, 0.05); 
  border-radius: 15px; 
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); 
  max-width: 300px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-item:hover {
  transform: translateY(-5px); /* Efecto de levantar al pasar el mouse */
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* PARTNER SECTION */ 
.partner-section {
  padding: 60px 0; 
  background-color:  #e57000;
  font-family: Open;

}

.partner-content {
  display: flex; /* Contenedor flexible */
  flex-direction: row; /* Dirección de los elementos en fila */
  justify-content: center; /* Distribución espaciada */
  align-items: flex-start; /* Alinear elementos arriba */
}

.photo-partner {
  flex: 1; /* La imagen ocupa 1 parte de 2 */
}

.photo-partner img {
  max-width: 70%; /* Imagen responsiva al ancho del contenedor */
  height: auto; /* Altura automática */
}

.partner-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  font-weight: 700;
}

.info-partner {
  flex: 2; /* El texto ocupa 2 partes de 2 */
  font-stretch: semi-expanded;
}

.btn-partner {
  background-color:  #00617F;
  color: #fff;
  margin-left: 15px;
}

.btn-partner:hover {
  color: black;
  background-color:  #FF9100;
}

/* SERVICE SECTION */

.service-title {
  margin-bottom: 20px;
}

.service-container {
  margin-top: 5%;
}

.card-img {
  width: 100%; /* Asegura que la imagen se ajuste */
  margin-left: 0;
}

.service-btns a {
  margin: 10px 20px 10px 0;
}

/* CUSTOMERS SECTION */
.customers-section {
  padding-top: 2%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.customers-title {
  font-size: 2.3em;
  font-weight: 900;
  text-align: center;
  padding-bottom: 5%;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-250px * 7));
  }
}

.slider {
  height: 100px;
  margin: auto;
  overflow: hidden;
  position: relative;
  width: auto;
  padding-bottom: 20px;
}

.slide-track {
  animation: scroll var(--customer-animation-speed) linear infinite;
  display: flex;
  width: calc(250px * 14);
}

.second-slide-track {
  animation: scroll reverse var(--customer-animation-speed) linear infinite;
  display: flex;
  width: calc(250px * 14);
}

.slide {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
  width: 250px;
}

/* SOLUTIONS SECTION */

.solution-section {
  padding-bottom: 20%;
}

.solutions-title {
  font-size: 2.3em;
  font-weight: 900;
  padding-bottom: 5%;
  margin-left: 20%;
}

.circular-image {
  padding-bottom: 5%;
}

.circular-image img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
}

.solution-item-description {
  font-size: 1.2em;
  font-weight: 600;
}

.solution-item-description span {
  font-size: 0.8em;
  font-weight: 400;
}

.solutions-text {
  font-size: 1.1em;
  text-align: justify;
  margin-left: 20%;
  margin-top: 20px;
}

/* CONTACT SECTION */

.contact-section {
  padding-top: 10%;
  padding-bottom: 10%;
}
.contact-title {
  font-size: 2.3em;
  text-align: center;
  font-weight: 900;
  padding-bottom: 1%;
}

.social-media {
  margin-top: 10%;
}

.social-media i {
  font-size: 2em;
  width: 30px;
  height: 30px;
  border-radius: 15%;
  padding: 10px;
}

.bi-whatsapp {
  color: #04c404;
}

.bi-linkedin {
  color: #5675d4;
}

.bi-instagram {
  color: #e40414;
}

.contact-button:hover {
  margin-left: 20px;
}

label {
  display: flex;
  margin: 10px;
}

form {
  width: 50%;
  margin: 0 auto; /* Esto centra el formulario horizontalmente */
}

input,
textarea,
select {
  margin-bottom: 5%;
}

.btn-success {
  margin-top: 1%;
}

.custom-select {
  appearance: none; /* Deshabilita el estilo predeterminado del navegador */
  -webkit-appearance: none; /* Para navegadores basados en WebKit */
  -moz-appearance: none; /* Para navegadores basados en Gecko (Firefox) */
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="%23333" d="M7 9l3 3 3-3z"/></svg>'); /* Agrega una flecha personalizada */
  background-repeat: no-repeat; /* Evita que la flecha se repita */
  background-position: right 0.7em top 50%; /* Posición de la flecha */
  padding-right: 1.5em; /* Espacio para la flecha */
}

.sales {
  border-color: var(--official-blue);
}

.price {
  border-color: var(--official-red);
}

.whatsapp {
  border-color: var(--official-green);
}

.linkedin {
  border-color: #5675d4;
}




.social-footer {
  text-decoration: none;
}


/* RESPONSIVE STYLES */
@media (max-width: 1024px) {
     .navbar-collapse {
    background-color: black;
    margin-left: 0%;
    align-items: center;

  }

  .navbar-nav {
    margin: 0;
  }


  .nav-link {
    width: 100%;
    padding: 14px 0;
    text-align: center;
  }

  video {
    box-shadow: none;
  }

  .about-title {
    text-align: center;
    margin-top: 6%;
  }

  .about-words {
    text-align: center;
  }

  .cards {
    padding-right: 20px;
  }

  .card-container {
    padding-right: 20px;
  }

  .card-title {
    padding-top: 6%;
    padding-bottom: 6%;
    text-align: center;
  }



  .card-description {
    text-align: center;
  }

  label {
    display: flex;
    margin: 10px;
    padding-top: 5%;
  }

  form {
    width: 90%;
    margin: 0 auto; /* Esto centra el formulario horizontalmente */
  }

  input,
  textarea,
  select {
    margin-bottom: 5%;
  }

  .btn-success {
    margin-top: 1%;
  }

  .last-navigation {
    display: none;
  }

  .rights-mobile {
    display: flex;
    align-items: center;
    text-align: center;
  }

  .home-section {
    padding-top: calc(10vh - 0px);
    padding-bottom: calc(40vh - 0px);
  }

  .home-logo {
    padding-top: 40%;
    width: 300px;
  }

  .service {
    flex-direction: column;
  }


  .one-service {

    margin-left: 0;
  }

  .photo-service {
    width: 100%;
    margin-right: 0;
  }

  .info-service {
    width: 100%;
  }

  .card-img {
    width: 100%; /* Asegura que la imagen se ajuste */
    margin-left: 0;
  }

  .card-description {
    margin-right: 10%;
  }

  .partner-content {
    flex-direction: column; 
    text-align: center;

  }

  .photo-partner {
    margin-left: 0; /* Elimina el margen a la derecha */
    margin-bottom: 20px; /* Añade margen inferior */
  }

}
