  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Source Sans 3', sans-serif;
    }




  body {
    
    background-color:rgb(255, 255, 255);
    -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  }

    /* Botones del menu principal */

  /* Botones del menu principal */


  header {
    background: linear-gradient(to right, #020121, #00063c);
    padding: 0px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    font-weight: 700;
  }

.logo img {
  height: 100px;
  margin-right: 15px;
  display: block; /* <-- Añade esta línea */
}

  .menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
  }

  .menu-toggle span {
    height: 3px;
    width: 25px;
    background: #fff;
    margin: 4px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  /* Transformaciones cuando está activo (en forma de "X") */
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
  }

  nav a {

    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 1.2rem;
    font-weight: normal;
  }

  nav a:hover {
    color: #ffcc00;
  }

  .header-container {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }



  h2.section-title {
    
    text-align: center;
    color: rgb(41, 53, 39);
    margin: 60px 0 30px;
    font-size: 3rem;
    font-weight: bold;

  }

  .page-section-title {
  background-color: #dfffcc;
  color: #488b00;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
  display: inline-block;
  
}

  .news-grid, .promo-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    max-width: 1280px;
    margin: 0 auto 60px;
    padding: 0 20px;


    
  }

  .news-card, .promo-card {
    flex: 0 0 calc(33.333% - 20px);
    background-color: #fff;
    color: #000;
    overflow: hidden;
    transition: transform 0.3s ease;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(214, 214, 214, 0.9);
   
    
  }

  .news-card:hover, .promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  }

  .news-card img, .promo-card img {
    width: 100%;
    height: auto;
    display: block;
  }

  .news-card h3, .promo-info h3 {
    margin: 10px 0;
    padding: 10px;
    color: rgb(41, 41, 41);
    font-size: 1.5rem;
    font-weight: normal;
  }

  .news-card p, .promo-info p {
    color: #555;
    font-size: 1rem;
    margin: 0px auto 20px;
    padding: 0 10px;
  }

  .promo-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
   
  }

  .promo-info p{
    text-align: center;
   
  }

  .promo-btn {
    display: flex;
    padding: 8px 16px;
    background-color: #ffcc00;
    color: #000000;
    text-decoration: none;
    font-size: 20x;
    border-radius: 4px;
    transition: background 0.3s ease;
 
  }

  .promo-btn:hover {
    background-color: #000000;
    color: #ffffff;
  }

  .hero-custom {
    background-image: url('fondobanner.jpg');
    background-size: cover;         /* Ajusta la imagen para cubrir todo el div */
    background-position: center;    /* Centra la imagen */
    background-repeat: no-repeat;   /* Evita que se repita */
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 20px;
    flex-direction: column; /* Asegurando que los elementos estén apilados verticalmente */

    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1); /* x, y, blur, color */
text-align: center;
    font-weight: normal;

    
  }
  
  .hero-custom .container {
    max-width: 1280px; /* Igual al del header */
    width: 100%;
    padding: 0 20px;
  }
  
  .hero-custom .hero-text {
    max-width: 100%;
    margin-bottom: 50px; /* Un pequeño espacio entre el texto y el botón */
  }
  
 .hero-custom .hero-text h1 {
  font-size: 3.5rem; /* O prueba con 3.2rem o 3rem */
  font-weight: bold;
  color: #FFD700; /* Dorado, o prueba con #FFA500 (Naranja) */
  max-width: 100%;
  margin: 0 auto;
}


  
.hero-custom .hero-text p {
  margin-top: 20px;
  font-size: 1.8rem; /* Ligeramente más pequeño, o prueba con 1.7rem */
  color: #ffffff;
  font-weight: 700;
  font-weight: normal;
}

.hero-custom .hero-text h1 span {
  background-color: rgba(0, 0, 0, 0.7); /* Negro semi-transparente */
  padding: 5px 10px;
  font-weight: 900;
  color: white;
}
  
.hero-button {
  background-color: #00c853; /* Verde neón */
  color: #fff;
  font-weight: 900;
  padding: 15px 25px;
  border-radius: 10px;
  text-transform: uppercase;
  margin-top: 50px; /* o el valor que prefieras */
  transition: all 0.3s ease;
  letter-spacing: 1px;
  text-decoration: none;
}

.hero-button:hover {
  background-color: #00b8d4; /* Turquesa */
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 184, 212, 0.7);
   text-decoration: none;
}




  .news-date {
    display: block;
    font-size: 0.9rem;
    color: #999;
    margin: 0 10px 10px;
    }
    
    .leer-mas {
    display: inline-block;
    margin: 0 10px 20px;
    color: rgb(255, 122, 13);
    text-decoration: none;
    font-weight: normal;
    font-size: 1.1rem;
    transition: color 0.3s;
    }
    
    .leer-mas:hover {
    color: darkred;
    text-decoration: underline;
    }
    
    .links-titulos {
    display: inline-block;
    font-weight: normal;
    color:rgb(59, 59, 59);
    text-decoration: none;
    transition: color 0.3s;
    }
    
    .links-titulos:hover {
    color: rgb(255, 44, 44);
    text-decoration: underline;
    }
    
    
    .logo-carousel {
      background-color: #000;
      overflow: hidden;
      padding: 20px 0;
      width: 100%;
    }
    
    .logo-track {
      display: flex;
      width: max-content;
      animation: scroll 40s linear infinite;
    }
    
    .logo-carousel img {
      height: 40px;
      margin: 0 25px;
      filter: brightness(0) invert(1);
      flex-shrink: 0;
    }
    
    @keyframes scroll {
      0% {
        transform: translateX(0);
      }
      100% {
        transform: translateX(-50%);
      }
    }




  @media (max-width: 768px) {
    .menu-toggle {
      display: flex;
    }

    h2.section-title {
    
      text-align: center;
      color: rgb(41, 53, 39);
      margin: 60px 0 30px;
      font-size: 2.2rem;
      font-weight: bold;
      padding-left: 20px;
      padding-right: 20px;
    }



    nav {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    background-color: rgba(5, 4, 51, 0.95);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    padding: 20px 0;
    border-radius: 0 0 10px 10px;
    transition: all 0.3s ease;
    z-index: 999;
    }

    nav.active {
    display: flex;
    }

    nav a {
    font-size: 1.2rem;
    color: #fff;
    padding: 12px 20px;
    width: 80%;
    border-radius: 8px;
    margin: 0px 0;
    transition: background 0.3s;
    background-color: rgba(255, 255, 255, 0.05);
    }

    nav a:hover {
    background-color: #ffcc00;
    color: #050433;
    }

    .news-card, .promo-card {
      flex: 0 0 calc(50% - 20px);
    }

    .hero-custom .hero-text h1 {
      font-size: 2.5rem;
      max-width: 100%;
    }

    .logo-track {
      animation: scroll 20s linear infinite; /* el doble de rápido en móviles */
    }


  }


  @media (max-width: 480px) {
    .news-card, .promo-card {
      flex: 0 0 100%;
    }
  }




  #portfolio {
   
    padding: 50px;
    background-color: #e3f9ff;
    text-align: center;
  }
  
  #portfolio h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #2e2e2e;
  }
  
  .portfolio-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
  }
  
.portfolio-item {
  
  width: 100%;
  max-width: 320px; /* controlás el tamaño máximo */
  
}
  

  
  .image-container {
    overflow: hidden;
  }
  
  .image-container img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
  }
  
 
  
  .portfolio-content {
    display: flex;
    justify-content: center; /* Centra horizontalmente */
    align-items: center;     /* Centra verticalmente */
    height: 100px;           /* Altura fija para centrar verticalmente */
    padding: 0 20px;         /* Espaciado horizontal */
  }
  

  /*  CONTENIDO DEL POST */
  .portfolio-content h3 {
    margin-top: 0;
    font-size: 1.5em;
    color: #303030;
    font-weight: normal;
  }
  
  .portfolio-content p {
    font-size: 1em;
    color: #666;
    margin: 10px 0;
  }

  .portfolio-content .price {
  color: #0077b6;
  font-size: 1.2rem;
  font-weight: bold;
  margin: 8px 0;
}

.buy-button {
  background-color: #0077b6;
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.buy-button:hover {
  background-color: #005f87;
}
  
  .btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #007BFF;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
  }
  
  .btn:hover {
    background-color: #0056b3;
  }


    h4.portfolio-title {
    text-align: center;
    color: rgb(41, 53, 39);
    margin: 0px 0 30px;
    font-size: 3.5rem;
    font-weight: bold;

    }

    

  @media (max-width: 768px) {

  h4.portfolio-title {
    
      text-align: center;
      color: rgb(41, 53, 39);
      margin: 10px 0 30px;
      font-size: 2.2rem;
      font-weight: bold;
      padding-left: 20px;
      padding-right: 20px;
  }

  #portfolio {
   
    padding: 10px;

  }

  }

 /* TITULOS CURSOS */
  .titulos-cursos {
font-size: clamp(2rem, 5vw, 3.5rem);
  color: #2c3e50; /* Azul oscuro elegante */
  font-weight: normal; /* Sin negrita */

  }

 /* TITULOS CURSOS */


.post-wrapper {

  padding: 0px 0px;
}

.post-container {
  max-width: 1280px;
  margin: 0 auto;
  background-color: #fff;
  padding: 40px;


}

.post-header h1 {
  font-size: 2.8rem;
  color: #222;
  margin-bottom: 10px;
  line-height: 1.2;
}

.post-date {
  font-size: 0.95rem;
  color: #888;
  margin-bottom: 30px;
  display: block;
}

.post-image img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.post-content p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 20px;
}

.post-content ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.post-content ul li {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 10px;
}

.volver-btn {
  display: inline-block;
  margin-top: 30px;
  background-color: #050433;
  color: #fff;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1rem;
  font-weight: bold;
}

.volver-btn:hover {
  background-color: #ffcc00;
  color: #000;
}


/* Asegura que las imágenes dentro del contenido estén centradas y sean responsivas */
.post-image-inline {
  margin: 30px auto;
  text-align: center;
  max-width: 100%;
}

.post-image-inline img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto; /* centra horizontalmente */
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.post-image-inline .caption {
  font-size: 0.95rem;
  color: #666;
  margin-top: 10px;
  font-style: italic;
  text-align: center;
}

.post-meta {
  margin-top: 10px;
  font-size: 0.95rem;
  color: #666;
}

.post-meta .categoria,
.post-meta .keywords {
  display: block;
  margin-top: 5px;
}

.post-meta a {
  color: #0056b3;
  text-decoration: none;
  margin-right: 6px;
  font-weight: normal;
}

.post-meta a:hover {
  text-decoration: underline;
  color: #ff6600;
}

/* Paginación centrada */
.pagination {
  text-align: center;
  margin: 40px 0;
}

.pagination a {
  margin: 0 5px;
  text-decoration: none;
  color: #050433;
  font-weight: bold;
}

.pagination a:hover {
  color: #ffcc00;
}


@media (max-width: 768px) {
  .post-container {
    padding: 20px;
  }

  .post-header h1 {
    font-size: 2rem;
  }

  .post-content p,
  .post-content ul li {
    font-size: 1rem;
  }
}


  /*  CONTENIDO DEL POST */

  /* PRODUCTOS */

  .product-card {
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: 5px;
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px; /* espacio entre tarjetas, ajustable */
  padding: 20px;
  background-color: #fff; /* o #f0f0f0 si querés fondo gris claro */
}

.product-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

.product-info {
  padding: 12px 0;
}

.product-title {
  font-size: 1.1rem;
  margin: 8px 0;
}

.product-price {
  font-size: 2.5rem;
  color:  #f57c00;
  margin: 10px auto;
  display: block;

  padding: 6px 12px;
  

  text-align: center;
}

.product-detail {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 12px;
}

.product-buttons {
  display: flex;
  gap: 8px;
  justify-content: center;

}

.btn {
  background-color: #050433;
  color: #fff;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-cart {
  background-color: #f0f0f0;
  color: #333;
}

.btn-cart:hover {
  background-color: #ddd;
}

.btn-buy {
  background-color: #0077b6;
  color: white;
}

.btn:hover {
    background-color: #ffcc00;
  color: #000;
}

@media (min-width: 768px) {
  .product-card {
    padding: 5px;
    margin: 5px; 
  }

  .products-grid {
    gap: 16px;
    padding: 10px;
  }

  .product-image {
    height: 180px;
  }
}

/* PRODUCTOS */