body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #2e8cd2;
    padding: 10px 20px;
    color: white;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 80px;
    margin-right: 10px;
}

.logo h1 {
    font-size: 24px;
    margin: 0;
}

nav {
    position: relative;
}

.nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.nav-menu li {
    position: relative;
    margin: 0 15px;
}

.nav-menu li a {
    color: white;
    text-decoration: none;
    padding: 10px;
}

.submenu {
    display: none;
    position: absolute;
    background-color: #444;
    list-style: none;
    padding: 10px;
    margin: 0;
    z-index: 1000;
}

.nav-menu li:hover .submenu {
    display: block;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger .bar {
    height: 3px;
    width: 25px;
    background-color: white;
    margin: 4px 0;
}

.slider {
    position: relative;
    max-width: 1024px;
    margin: auto;
    overflow: hidden;
}

.slides {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
}

.slide img {
    width: 100%;
    display: block;
}

.arrow {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    font-size: 30px;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    cursor: pointer;
    z-index: 900;
}

.left { left: 10px; }
.right { right: 10px; }

.container {
    max-width: 1000px;
    margin: auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 20px;
}

.card {
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    text-align: center;
    flex: 1 1 calc(25% - 80px);
    margin: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.card img {
    width: 200px;
}

.card h1 {
    font-size: 15px;
}

.galeria {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 20px;
}

.galeria img {
    width: 100px;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s;
}

.galeria img:hover {
    transform: scale(1.05);
}

.footer {
    background-color: #000;
    color: #fff;
    padding: 10px 20px;
    text-align: center;
}

.footer-contenido {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    max-width: 1000px;
    margin: 0 auto;
    font-size: 16px;
    text-align: center;
}

.footer a, .footer div {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.footer a:hover {
    color: #1e90ff;
}

.footer i {
    font-size: 20px;
}

/* WHATSAPP */
.whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  color: white;
  font-size: 2rem;
  padding: 0.8rem;
  border-radius: 50%;
  z-index: 100;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.whatsapp:hover {
  background: #1ebe5b;
}
@media (max-width: 720px) {
  * {
    box-sizing: border-box;
  }


  body, html {
    margin: 0;
    padding: 0;
  }

  header {
    width: 100%;
    padding: 10px 20px;
    box-sizing: border-box;
  }

  nav {
    margin: 0;
    padding: 0;
    width: 100%;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    z-index: 1100;
    margin-left: auto;
  }

  .hamburger .bar {
    height: 3px;
    width: 25px;
    background-color: white;
    margin: 4px 0;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #2e8cd2;
    z-index: 1000;
    padding: 0;
    margin: 0;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu li {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .nav-menu li a {
    display: block;
    width: 100%;
    padding: 12px 16px;
    font-size: 18px;
    color: white;
    background-color: #2e8cd2;
    text-align: left;
    margin: 0;
    box-sizing: border-box;
  }








  
}