/* RESET GENERAL */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  background-color: #f9f9f9;
  color: #333;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* CONTENEDOR GENERAL */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* NAVBAR */
.navbar {
  background-color: #e6e9f0;
  color: white;
  position: sticky;
  top: 0;
  z-index: 999;
  padding: 10px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar .logo {
  height: 50px;
}

.navbar nav ul {
  display: flex;
  list-style: none;
}

.navbar nav ul li {
  margin-left: 20px;
}

.navbar nav ul li a {
  color: rgb(0, 0, 0);
  font-weight: bold;
  transition: color 0.3s;
}

.navbar nav ul li a:hover {
  color: #0026ff;
}

/* HERO */
.hero {
  background: url('assets/images/bg.jpg') center/cover no-repeat;
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  position: relative;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: bold;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

.arrow {
  font-size: 2rem;
  animation: bounce 1.5s infinite;
  position: absolute;
  color: white;
  bottom: -230px;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

/* SECCIÓN INFO */
.info-section {
  display: flex;
  flex-wrap: wrap;
  padding: 60px 0;
  background-color: white;
}

.info-section .container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.info-section .column {
  flex: 1;
  min-width: 250px;
}

.info-section .column.img img {
  border-radius: 10px;
}

/* SERVICIOS */
.servicios {
  background: #e6e9f0;
  padding: 60px 0;
  text-align: center;
}

.servicios h2 {
  font-size: 2rem;
  margin-bottom: 30px;
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  padding: 0 20px;
  max-width: 2100px;
}

.servicios-grid .card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 10px;
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.servicios-grid .card:hover {
  transform: scale(1.05);
}

.servicios-grid .card img {
  height: 120px;
  object-fit: cover;
  border-radius: 4px;
}

.servicios-grid .card p {
  margin-top: 10px;
  font-weight: 500;
}

/* CONTADOR */
.contador {
  background: #ffb300;
  color: white;
  display: flex;
  justify-content: space-around;
  padding: 40px 20px;
  text-align: center;
  font-weight: bold;
}

.contador .item h3 {
  font-size: 2.5rem;
}

/* SLIDER */
  .slider-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 85vw;
    height: 550px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    margin: 5px 10px 5px 10px;
  }

  .slider {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
  }

  .slide {
    display: none;
    height: 100%;
    object-fit: cover;
  }

  .slide.active {
    display: block;
  }

  button#prev,
  button#next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: white;
    background: rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 10;
    transition: background 0.3s;
  }

  button#prev:hover,
  button#next:hover {
    background: rgba(0, 0, 0, 0.6);
  }

  #prev {
    left: 10px;
  }

  #next {
    right: 10px;
  }

  .slider-btn{
    padding: 26px 12px 26px 12px;
    background: #000000a9;
    outline: none;
    color: #fff;
    border: none;
    cursor: pointer;
  }
/*FIN SLIDER*/

/* CLIENTES */
.clientes {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  padding: 30px 0;
  background: #f0f0f0;
  flex-wrap: wrap;
  max-width: 2100px;
}

.clientes img {
  height: 50px;
  margin: 10px;
}

/* CONTACTO */
.contacto {
  background: #fff;
  padding: 60px 20px;
}

.contacto h2 {
  text-align: center;
  margin-bottom: 30px;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.contact-container iframe {
  border: 0;
  width: 100%;
  max-width: 500px;
  height: 300px;
  border-radius: 8px;
}

.contact-container form {
  flex: 1;
  min-width: 300px;
}

.contact-container input,
.contact-container textarea,
.contact-container button {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.contact-container button {
  background-color: #2d2d2d;
  color: white;
  font-weight: bold;
  border: none;
  cursor: pointer;
}

/* FOOTER */
footer {
  background: #2d2d2d;
  color: white;
  text-align: center;
  padding: 15px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .navbar .container {
    flex-direction: column;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
  }

  .info-section .container {
    flex-direction: column;
  }

  .contador {
    flex-direction: column;
    gap: 20px;
  }

  .contact-container {
    flex-direction: column;
  }

  .slider .slide {
    min-width: 100%;
  }
}
.RectanguloIMG{
  height: 100%;
  width: 100%;
  object-fit: fill;
}



.clientes img {
  height: 80px;
  object-fit: contain;
  margin: 15px;
  transition: transform 0.3s ease-in-out;
}

.clientes img:hover {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .slider-track {
    flex-direction: column;
    align-items: center;
  }

  .slider-btn {
    display: none;
  }

  .slide.circular {
    width: 200px;
    height: 200px;
    margin-bottom: 20px;
  }
}

@media  screen and (max-width : 900px) {
  .slider-container{
    height: 250px;
    width: 80vw;
  }
}

@media  screen and (min-width : 1800px) {
  .slider-container{
    height: 550px;
    width: 60vw;
  }
}

