
/* Reset básico y estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    }
    body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    }
    .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    }
    a {
    text-decoration: none;
    color: inherit;
    }
    
    /* Header y Navbar (actualizado) */
    header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    }
    .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    }
    .logo-container {
    display: flex;
    align-items: center;
    }
    .logo-image {
      width: 150px;
      height: 75px;
      object-fit: contain;
      transition: transform 0.3s ease, filter 0.3s ease;
      }
      .logo-image:hover {
      transform: scale(1.1);
      filter: drop-shadow(0 0 5px rgba(52, 152, 219, 0.5));
      }
      .middle-logos {
        display: flex;
        align-items: center;
    }
    .middle-logo-image {
      width: 80px;
      height: 40px;
      object-fit: contain;
      margin: 0 10px;
      transition: transform 0.3s ease, filter 0.3s ease;
  }
  .middle-logo-image:hover {
      transform: scale(1.1);
      filter: drop-shadow(0 0 5px rgba(52, 152, 219, 0.5));
  }
    nav ul {
    list-style: none;
    display: flex;
    }
    nav ul li {
    margin-left: 30px;
    position: relative;
    }
    nav ul li a {
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    }
    nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #3498db;
    transition: width 0.3s ease;
    }
    nav ul li a:hover {
    color: #3498db;
    }
    nav ul li a:hover::after {
    width: 100%;
    }
    h2 {
      text-align: center;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      color: white; 
      font-size: 2rem;
      margin-bottom: 20px;
      font-weight: 700;
      margin-top: 100px;
      background: linear-gradient(120deg, #28a745, #1e8535);
      color: white;
      padding: 0.8rem 1.5rem;
      border-radius: 4px;
      position: relative;
      overflow: hidden;
      font-size: 1.25rem;
      font-weight: 500;
      display: inline-block;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  h2::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    opacity: 0.6;
  }

  h2:hover {
    transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  }
    /* Menú desplegable (sin cambios) */
    .dropdown {
    position: relative;
    }
    .dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 1;
    border-radius: 4px;
    overflow: hidden;
    }
    .dropdown:hover .dropdown-content {
    display: block;
    }
    .dropdown-content li {
    margin: 0;
    }
    .dropdown-content a {
    color: #333;
    padding: 12px 16px;
    display: block;
    text-align: left;
    }
    .dropdown-content a:hover {
    background-color: #f1f1f1;
    }
    
    /* Menú móvil (sin cambios) */
    .menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #3498db;
    }

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}
.tab-menu {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.tab-button {
  background-color: #003366;
  color: white;
  border: none;
  padding: 10px 15px;
  margin: 5px;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.tab-button:hover, .tab-button.active {
  background-color: #004080;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.product-card {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  overflow: hidden;
}
.product-image {
  width: 100%;
  height: 200px;
  object-fit: contain;
}
.product-info {
  padding: 15px;
}
.product-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.product-name {
  font-size: 18px;
  font-weight: bold;
}
.product-description {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
}
.product-button {
  background-color: #003366;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.product-button:hover {
  background-color: #004080;
}
.product-features {
  display: none;
  padding: 15px;
  background-color: #f9f9f9;
}
.product-features ul {
  margin: 0;
  padding-left: 20px;
}
.product-features li {
  margin-bottom: 5px;
}
.whatsapp-button {
  background-color: #25D366;
  color: white;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s;
}
.whatsapp-button:hover {
  background-color: #128C7E;
}
.whatsapp-icon {
  width: 18px;
  height: 18px;
}

  /* Footer (actualizado) */
  footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 4rem 0 2rem;
    }
    .footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    }
    .footer-section {
    width: calc(33.333% - 20px);
    margin-bottom: 2rem;
    }
    .footer-logo {
    width: 200px;
    height: auto;
    margin-bottom: 1rem;
    }
    .footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #3498db;
    }
    .footer-section ul {
    list-style: none;
    }
    .footer-section ul li {
    margin-bottom: 0.5rem;
    }
    .footer-section ul li a {
    transition: color 0.3s ease;
    }
    .footer-section ul li a:hover {
    color: #3498db;
    }
    .footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    font-size: 0.9rem;
    color: #bdc3c7;
    }
    
    /* Responsive Design */

    
    @media (max-width: 768px) {
      .header-content{
        flex-wrap: wrap;

      }
      .menu-toggle {
        display: block;
      }
      .middle-logos {
        order: 2;
        flex-grow: 1;
        justify-content: center;
    }
      nav {
        display: none;
        order: 4;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #fff;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
      }
      nav.active {
        display: block;
      }
      nav ul {
        flex-direction: column;
        padding: 1rem;
      }
      nav ul li {
        margin: 0;
        padding: 0.5rem 0;
      }
      nav ul li a::after {
        display: none;
      }
      .dropdown-content {
        position: static;
        box-shadow: none;
        display: none;
      }
      .dropdown.active .dropdown-content {
        display: block;
      }
      .footer-section {
        width: 100%;
      }
      .container{
       
        margin: 0 auto;
      }
      .menu-toggle{
        display: block;
        order: 3;
       
      }
      .middle-logo-image{
        display: none;
      }
    }
    