/* Reset básico */
body {
    font-family: 'Courier New', Courier, monospace;
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom, #1e1e1e, #3a3a3a);
    color: #ffffff;
}

header {
    background: #ffffff;
    padding: 1em;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-content {
    display: flex;
    align-items: center;
    width: 100%;
}

.logo img {
    width: 150px;
    height: auto;
}

header h1 {
    flex: 1;
    text-align: center;
    margin: 0;
    font-size: 2em;
    color: #000000;
}

.menu-buttons button {
    background: none;
    border: none;
    cursor: pointer;
    margin-left: 0.5em;
}

.menu-buttons button img {
    width: 30px;
    height: 30px;
}

nav {
    background: #ffffff;
    position: relative;
    z-index: 10;
}

.nav-list {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1em;
    margin: 0;
    padding: 0.5em;
}

.nav-link {
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-weight: bold;
    position: relative;
}

.nav-link:hover {
    text-decoration: underline;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background: #262626;
    border: 1px solid #444;
    border-radius: 5px;
    list-style: none;
    padding: 0;
    margin: 0;
    top: 100%;
    left: 0;
    z-index: 1000;
    min-width: 150px;
}

.dropdown-menu li {
    padding: 10px 15px;
}

.dropdown-menu li a {
    color: #fff;
    text-decoration: none;
}

.dropdown-menu li:hover {
    background: #0047ab;
}

/* Mostrar menú desplegable al pasar el ratón */
.dropdown:hover .dropdown-menu {
    display: block;
}

/* Ajustes adicionales para evitar solapamientos */
.nav-list > li {
    position: relative;
    z-index: 5;
}

/* Asegúrate de que el <a> sea un contenedor flex */
.nav-link {
    display: flex;             /* Alinea los elementos en línea */
    align-items: center;       /* Alinea verticalmente el texto y la imagen */
    gap: 8px;                  /* Agrega espacio entre la imagen y el texto */
}

.nav-link img {
    margin-right: 8px;         /* Espacio adicional entre la imagen y el texto */
}

.productos-destacados {
    text-align: center;
    padding: 40px 20px;
    background-color: #8f9294;
}

.productos-destacados h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

.productos-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.producto {
    background-color: white;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 8px;
    width: 250px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.producto:hover {
    transform: translateY(-10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.producto-imagen {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

h3 {
    font-size: 1.2rem;
    margin-top: 15px;
    color: #333;
}

.descripcion {
    font-size: 0.9rem;
    color: #666;
    margin: 10px 0;
}

.btn-ver-mas {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #0072c6;
    color: white;
    font-weight: bold;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.btn-ver-mas:hover {
    background-color: #005fa3;
}

/* Estilos para el carrusel - Evitar conflictos con prefijo unique- */
.unique-carousel-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    font-family: Arial, sans-serif;
  }
  
  .unique-carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    position: relative;
  }
  
  .unique-slide {
    min-width: 100%;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.5s ease, transform 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
  }
  
  .unique-slide.active {
    opacity: 1;
    transform: scale(1);
    position: relative;
  }
  
  .unique-slide h2 {
    font-size: 24px;
    margin-bottom: 10px;
  }
  
  .unique-slide p {
    font-size: 18px;
    margin-bottom: 20px;
  }
  
  .unique-slide img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
  }
  
  .unique-btn {
    padding: 10px 20px;
    background-color: #000;
    color: #fff;
    border: none;
    cursor: pointer;
  }
  
  .unique-btn:hover {
    background-color: #333;
  }
  
  /* Navegación del carrusel */
  .unique-carousel-nav {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
  }
  
  .unique-dot {
    width: 10px;
    height: 10px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
  }
  
  .unique-dot.active {
    background-color: #000;
  }
  
  /* Estilos del formulario de ayuda al cliente */
#ayuda-clientes {
    padding: 20px;
    background-color: #f9f9f9;
    border-top: 2px solid #ddd;
}

#ayuda-clientes h2 {
    text-align: center;
    color: #333;
    margin-bottom: 15px;
}

#ayuda-clientes p {
    text-align: center;
    margin-bottom: 20px;
    color: #555;
}

#form-ayuda {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#form-ayuda label {
    font-weight: bold;
    color: #333;
}

#form-ayuda input,
#form-ayuda select,
#form-ayuda textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

#form-ayuda input:focus,
#form-ayuda select:focus,
#form-ayuda textarea:focus {
    border-color: #007bff;
    outline: none;
}

#form-ayuda button {
    padding: 12px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#form-ayuda button:hover {
    background-color: #0056b3;
}

/* Sección de productos */
#productos {
    padding: 20px;
    background-color: #f4f4f4;
}

#productos h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.categoria {
    margin-bottom: 40px;
}

.categoria h3 {
    color: #007bff;
    margin-bottom: 15px;
    text-align: center;
}

.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.producto {
    background-color: #fff;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
    transition: box-shadow 0.3s ease;
}

.producto:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.producto img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
    border-radius: 4px;
}

.producto h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #333;
}

.producto p {
    font-size: 16px;
    color: #007bff;
    margin-bottom: 10px;
}

.producto button {
    padding: 10px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin: 5px;
}

.producto .btn-comprar {
    background-color: #007bff;
    color: #fff;
}

.producto .btn-comprar:hover {
    background-color: #0056b3;
}

.producto .btn-carrito {
    background-color: #28a745;
    color: #fff;
}

.producto .btn-carrito:hover {
    background-color: #1e7e34;
}

/* Sección del Blog */
#blog {
    padding: 20px;
    background-color: #f4f4f4;
}

#blog h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.blog-posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.blog-post {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.blog-post:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.blog-post img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 15px;
    text-align: center;
}

.blog-content h3 {
    color: #007bff;
    margin-bottom: 10px;
}

.blog-content p {
    color: #555;
    font-size: 14px;
}

.blog-content .btn-leer-mas {
    padding: 8px 15px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 10px;
}

.blog-content .btn-leer-mas:hover {
    background-color: #0056b3;
}

.blog-detalle {
    margin-top: 10px;
    display: none;
    color: #333;
    font-size: 14px;
    text-align: left;
}

/* Footer Estilizado */
footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    font-size: 14px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

.footer-links,
.footer-social,
.footer-info {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.footer-links h3,
.footer-social h3,
.footer-info h3 {
    margin-bottom: 10px;
    font-size: 18px;
    color: #f5a623;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin: 5px 0;
}

.footer-links ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: #f5a623;
}

.footer-social .social-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.footer-social .social-icons a img {
    width: 32px;
    height: 32px;
    transition: transform 0.3s;
}

.footer-social .social-icons a img:hover {
    transform: scale(1.2);
}

.footer-info p {
    margin: 5px 0;
    color: #ccc;
}

.footer-info p:last-child {
    font-size: 12px;
    color: #aaa;
}

/* Estilo general del contenedor */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    padding: 0.75rem 1rem;
    margin: 0;
    list-style: none;
    background-color: #f8f9fa; /* Fondo claro */
    border-radius: 0.25rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Estilo de cada ítem */
.breadcrumb-item {
    font-size: 1rem;
    color: #6c757d; /* Color de texto gris */
    text-decoration: none;
    display: flex;
    align-items: center;
}

/* Enlace activo y normal */
.breadcrumb-item a {
    color: #007bff; /* Azul del enlace */
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.breadcrumb-item a:hover {
    color: #0056b3; /* Azul más oscuro al pasar el mouse */
    text-decoration: underline;
}

/* Ítem activo */
.breadcrumb-item.active {
    color: #6c757d; /* Gris más tenue */
    font-weight: bold;
    pointer-events: none;
}

/* Separador entre ítems */
.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    color: #6c757d; /* Gris del separador */
    margin: 0 0.5rem;
}

/* Estilos para la sección de Servicios */
.services {
    padding: 40px;
    background-color: #f9f9f9;
    text-align: center;
}

.services h2 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #005f9e;
}

.service-list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.service-item {
    width: 30%;
    margin: 15px 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.service-item img {
    max-width: 80px;
    margin-bottom: 15px;
}

.service-item h3 {
    margin-bottom: 10px;
    font-size: 18px;
    color: #333;
}

.service-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* Estilos para la sección de información de contacto */
.contact-info {
    padding: 20px;
    background-color: #f8f9fa;
    text-align: center;
    border-top: 2px solid #ddd;
    border-bottom: 2px solid #ddd;
}

.contact-info h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

.contact-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.contact-details .detail {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    width: 300px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-details .detail img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.contact-details .detail p {
    margin: 0;
    font-size: 16px;
    color: #555;
}

.contact-details .detail strong {
    color: #000;
    font-weight: bold;
}

/* Estilos para el contenedor del mapa */
.map-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.map-container iframe {
    width: 100%;
    max-width: 600px;
    height: 450px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Sección general */
.laptops-products {
    padding: 40px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.laptops-products h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 20px;
}

.category {
    margin-top: 40px;
}

.category h3 {
    font-size: 24px;
    color: #555;
    margin-bottom: 20px;
}

.products {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.product-card {
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 10px;
    width: 250px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.product-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.product-card h4 {
    font-size: 18px;
    color: #000;
    margin-bottom: 10px;
}

.product-card p {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.product-card .price {
    font-size: 16px;
    font-weight: bold;
    color: #007bff;
}

.product-card a {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 12px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.product-card a:hover {
    background-color: #0056b3;
}

.view-more-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}


/* Estilos específicos para la sección de producto HP Omen 15 */

.product-section {
    padding: 20px;
    display: flex;
    justify-content: center;
    background-color: #f9f9f9;
}

.product-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Área de imágenes */
.product-images {
    flex: 1;
    min-width: 300px;
    padding: 20px;
    border-right: 1px solid #ddd;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-images .main-image {
    width: 100%;
    max-width: 350px;
    margin-bottom: 10px;
}

.thumbnail-images {
    display: flex;
    gap: 10px;
}

.thumbnail-images img {
    width: 60px;
    height: 60px;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.2s;
}

.thumbnail-images img:hover {
    transform: scale(1.1);
}

/* Detalles del producto */
.product-details {
    flex: 2;
    padding: 20px;
}

.product-details h1 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 10px;
}

.product-details .price {
    font-size: 1.5rem;
    color: #d9534f;
    margin-bottom: 10px;
}

.product-details .rating {
    font-size: 1rem;
    color: #f0ad4e;
    margin-bottom: 15px;
}

.product-details .description {
    font-size: 1rem;
    color: #555;
    margin-bottom: 10px;
    line-height: 1.5;
}

.product-details ul {
    margin-bottom: 15px;
    padding-left: 20px;
}

.product-details ul li {
    margin-bottom: 5px;
    font-size: 0.95rem;
    color: #444;
}

.product-details .availability {
    font-size: 1rem;
    color: #28a745;
    margin-bottom: 20px;
}

/* Botones de acción */
.action-buttons {
    display: flex;
    gap: 10px;
}

.action-buttons button {
    flex: 1;
    padding: 10px 15px;
    font-size: 1rem;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.action-buttons .add-to-cart {
    background-color: #007bff;
}

.action-buttons .add-to-cart:hover {
    background-color: #0056b3;
}

.action-buttons .buy-now {
    background-color: #28a745;
}

.action-buttons .buy-now:hover {
    background-color: #1e7e34;
}

/* Estilos específicos para la sección de ofertas */

.offers-section {
    padding: 20px;
    background-color: #f3f3f3;
    text-align: center;
}

.offers-section h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
}

.offers-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.offer-item {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 300px;
    padding: 15px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.offer-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.offer-item img {
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
}

.offer-item h3 {
    font-size: 1.2rem;
    color: #444;
    margin-bottom: 10px;
}

.offer-price {
    font-size: 1.1rem;
    color: #d9534f;
    margin-bottom: 10px;
}

.original-price {
    text-decoration: line-through;
    font-size: 0.9rem;
    color: #888;
    margin-left: 5px;
}

.view-offer {
    display: inline-block;
    padding: 10px 15px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.view-offer:hover {
    background-color: #0056b3;
}

/* Estilos específicos para la sección de reparación */

.repair-info-section {
    padding: 30px;
    background-color: #f7f7f7;
    text-align: center;
}

.repair-info-section h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 20px;
}

.repair-info-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.repair-info-item {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 300px;
    flex: 1;
    text-align: left;
    transition: transform 0.3s, box-shadow 0.3s;
}

.repair-info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.repair-info-item h3 {
    font-size: 1.4rem;
    color: #34495e;
    margin-bottom: 10px;
}

.repair-info-item p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 10px;
    line-height: 1.5;
}

.repair-info-item ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 15px;
}

.repair-info-item ul li {
    font-size: 0.95rem;
    color: #444;
    margin-bottom: 5px;
}

.hp-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(90deg, #0078d4, #002952);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    z-index: 1000;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.4);
    flex-wrap: wrap; /* Permite reorganizar los elementos en pantallas pequeñas */
}

.hp-banner .banner-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.hp-banner .banner-logo img {
    height: 40px;
}

.hp-banner .banner-text {
    flex-grow: 1; /* Hace que el texto ocupe el espacio disponible */
    text-align: center;
    margin-bottom: 10px; /* Añade espacio en pantallas pequeñas */
}

.hp-banner .banner-text h2 {
    margin: 0;
    font-size: 1rem;
    font-weight: bold;
}

.hp-banner .banner-text p {
    margin: 5px 0 0;
    font-size: 0.9rem;
}

.hp-banner .banner-buttons {
    display: flex;
    gap: 10px; /* Añade espacio entre botones */
    justify-content: center; /* Centra los botones */
    flex-wrap: wrap; /* Permite que los botones bajen de línea si no caben */
}

.hp-banner .banner-buttons a {
    text-decoration: none;
    color: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    background-color: #ff5722;
    transition: background 0.3s ease, transform 0.3s ease;
}

.hp-banner .banner-buttons a:nth-child(2) {
    background-color: #4caf50;
}

.hp-banner .banner-buttons a:hover {
    transform: scale(1.1);
    background-color: #ffffff20;
}

/* Media Queries */
@media (max-width: 768px) {
    .hp-banner {
        flex-direction: column; /* Cambia a diseño vertical */
        align-items: center; /* Centra todos los elementos */
        padding: 10px;
    }

    .hp-banner .banner-logo {
        margin-bottom: 10px;
    }

    .hp-banner .banner-buttons {
        width: 100%; /* Asegura que los botones se ajusten en pantallas pequeñas */
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hp-banner .banner-text h2 {
        font-size: 0.9rem;
    }

    .hp-banner .banner-text p {
        font-size: 0.8rem;
    }

    .hp-banner .banner-buttons a {
        font-size: 0.8rem;
        padding: 6px 10px;
    }
}

.expandable-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(90deg, #8ada64, #5cc0a2);
    color: #000000;
    z-index: 1000;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    height: 50px; /* Altura inicial del banner */
    transition: height 0.3s ease-in-out;
}

.expandable-banner .banner-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background-color: #3fcb72;
    font-size: 1rem;
    cursor: pointer;
}

.expandable-banner .banner-header button {
    background: none;
    border: none;
    color: #ff0000;
    font-size: 1.5rem;
    cursor: pointer;
}

.expandable-banner .banner-content {
    display: none; /* Inicialmente oculto */
    padding: 15px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.expandable-banner .banner-content.show {
    display: flex; /* Mostrar contenido al expandir */
}

.expandable-banner .banner-logo img {
    height: 190px;
    margin-right: 15px;
}

.expandable-banner .banner-text {
    flex-grow: 1;
    text-align: center;
    margin: 0 15px;
}

.expandable-banner .banner-buttons {
    display: flex;
    gap: 10px;
}

.expandable-banner .banner-buttons a {
    text-decoration: none;
    color: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    background-color: #ff5722;
    transition: background 0.3s ease;
}

.expandable-banner .banner-buttons a:hover {
    background-color: #ffffff20;
}

/* Estilo del overlay (fondo oscuro) */
.popup-overlay {
    display: none; /* Inicialmente oculto */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Fondo oscuro */
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Estilo del contenido del pop-up */
.popup-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 300px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.popup-content h2 {
    margin: 0 0 10px;
    font-size: 1.5rem;
    color: #333;
}

.popup-content p {
    margin: 0 0 20px;
    color: #555;
}

.popup-content .btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0078d4;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.popup-content .btn:hover {
    background-color: #005fa3;
}

.popup-content .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 5rem;
    color: #ff0000;
    background: none;
    border: none;
    cursor: pointer;
}

.popup-content .close-btn:hover {
    color: #ff5722;
}

/* Estilo para el banner flotante */
.floating-banner {
    position: fixed;
    bottom: 20px; /* Distancia desde el borde inferior */
    left: 50%;
    transform: translateX(-50%); /* Centrado horizontal */
    background-color: #52a9eb;
    color: white;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 400px;
    z-index: 9999;
}

.floating-banner .banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.floating-banner p {
    margin: 0;
    font-size: 1rem;
    flex: 1;
}

.floating-banner .btn {
    padding: 10px 15px;
    background-color: #ff5722;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-left: 15px;
}

.floating-banner .btn:hover {
    background-color: #ff3700;
}

.floating-banner .close-btn {
    font-size: 4rem;
    cursor: pointer;
    background: none;
    border: none;
    color: rgb(255, 0, 0);
    margin-left: 15px;
}

.floating-banner .close-btn:hover {
    color: #ff5722;
}

.news-section {
    text-align: center;
    padding: 50px 20px;
    background: linear-gradient(135deg, #0057b7, #002f6c);
    color: white;
}

.news-section h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.news-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.news-card {
    background: white;
    color: black;
    border-radius: 10px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.news-card h3 {
    font-size: 1.3rem;
    padding: 15px;
}

.news-card p {
    font-size: 1rem;
    padding: 0 15px 10px;
}

.news-card a {
    display: block;
    text-align: center;
    background: #0057b7;
    color: white;
    padding: 10px;
    text-decoration: none;
    font-weight: bold;
}

.news-card a:hover {
    background: #002f6c;
}

.videos-section {
    text-align: center;
    padding: 50px 20px;
    background: linear-gradient(135deg, #002f6c, #0057b7);
    color: white;
}

.videos-section h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.videos-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.video-card {
    background: white;
    color: black;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
    padding: 10px;
}

.video-card:hover {
    transform: translateY(-5px);
}

.video-card h3 {
    font-size: 1.2rem;
    margin-top: 10px;
}

.forum-section {
    text-align: center;
    padding: 50px 20px;
    background: linear-gradient(135deg, #002f6c, #0057b7);
    color: white;
}

.forum-section h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.forum-section p {
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.forum-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.category {
    background: white;
    color: black;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}

.category:hover {
    transform: translateY(-5px);
}

.category img {
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
}

.category h3 a {
    text-decoration: none;
    color: #0057b7;
    font-size: 1.4rem;
}

.category p {
    font-size: 1rem;
    margin-top: 5px;
}

.forum-topics {
    max-width: 1200px;
    margin: 40px auto;
    background: white;
    color: black;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.forum-topics h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.forum-topics table {
    width: 100%;
    border-collapse: collapse;
}

.forum-topics th, .forum-topics td {
    padding: 10px;
    border-bottom: 1px solid #ccc;
    text-align: left;
}

.forum-topics th {
    background: #0057b7;
    color: white;
}

.forum-topics tr:hover {
    background: #f2f2f2;
}

.new-topic {
    margin-top: 30px;
}

.new-topic button {
    background: #ff9800;
    color: white;
    border: none;
    padding: 15px 25px;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease-in-out;
}

.new-topic button:hover {
    background: #e68900;
}

.hp-educativo {
    background: linear-gradient(135deg, #0046b3, #0084ff);
    color: white;
    text-align: center;
    padding: 50px 20px;
    margin: 40px 0;
    border-radius: 10px;
}

.educativo-container {
    max-width: 900px;
    margin: auto;
}

.hp-educativo h2 {
    font-size: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

.hp-educativo p {
    font-size: 18px;
    margin-bottom: 20px;
}

.educativo-benefits {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.benefit {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    width: 30%;
    text-align: center;
}

.benefit img {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
}

.benefit h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.benefit p {
    font-size: 16px;
}

.btn-educativo {
    display: inline-block;
    background-color: #ffcc00;
    color: #000;
    padding: 12px 25px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    margin-top: 20px;
    transition: background 0.3s ease-in-out;
}

.btn-educativo:hover {
    background-color: #ff9900;
}

/* Estilos del buscador */
.search-bar {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 20px;
    padding: 5px 10px;
}

.search-bar input {
    border: none;
    outline: none;
    padding: 5px;
}

.search-bar button {
    background: none;
    border: none;
    cursor: pointer;
}

.search-bar img {
    width: 20px;
    height: 20px;
}
