/* Reset y scroll suave */
    * { 
      box-sizing: border-box; 
      margin: 0; 
      padding: 0; 
    }
    
    html { 
      scroll-behavior: smooth; 
    }
    
    body {
      font-family: 'Poppins', sans-serif;
      color: #fff;
      line-height: 1.6;
      /* Fondo fijado compartido por todas las secciones */
      background: url('https://noticias.unsam.edu.ar/wp-content/uploads/2019/02/lsaweb-01.jpg') center/cover no-repeat fixed;
    }

    /* Navegación mejorada */
    nav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 1000;
      background: rgba(0,0,0,0.2);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid rgba(255,255,255,0.1);
      padding: 15px 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      transition: all 0.3s ease;
    }

    .nav-logo {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .nav-logo img {
      width: 50px;
      height: 50px;
      border-radius: 50%;
    }

    .nav-logo span {
      font-weight: 600;
      font-size: 1.2rem;
      display: none;
    }

    nav ul {
      list-style: none;
      display: flex;
      gap: 30px;
      margin: 0;
    }

    nav ul li a {
      color: #fff;
      text-decoration: none;
      font-size: 1rem;
      font-weight: 500;
      transition: all 0.3s ease;
      padding: 8px 16px;
      border-radius: 20px;
    }

    nav ul li a:hover {
      background: rgba(30, 79, 159, 0.3);
      color: #fff;
    }

    /* Menú hamburguesa para móviles */
    .menu-toggle {
      display: none;
      flex-direction: column;
      cursor: pointer;
      padding: 5px;
    }

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

    /* Hero Section */
    #hero {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      position: relative;
      padding: 80px 20px 60px;
      text-align: center;
    }

    #hero::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.5);
      z-index: 0;
    }

    #hero > * {
      position: relative;
      z-index: 1;
    }

    .hero-title {
      font-size: clamp(3rem, 8vw, 8rem);

      letter-spacing: 2px;
      margin-bottom: 20px;
      transition: 0.5s;
      font-weight: 700;
    }

    .hero-title:hover {
      -webkit-text-stroke: 2px #fff;
      color: transparent;
    }

    .hero-title .blue { 
      color:rgb(90, 153, 255); 
    }
    
    .hero-title .white { 
      color: #fff; 
    }

    .subtitle {
      color: #fff;
      margin: 20px 0 40px;
      font-size: clamp(1rem, 2.5vw, 1.5rem);
      max-width: 600px;
      opacity: 0.9;
    }

    .btn-primary {
      background: #1e4f9f;
      color: #fff;
      padding: 15px 40px;
      border: none;
      border-radius: 50px;
      text-decoration: none;
      font-size: 1.1rem;
      font-weight: 600;
      transition: all 0.3s ease;
      display: inline-block;
      box-shadow: 0 4px 15px rgba(30, 79, 159, 0.3);
    }

    .btn-primary:hover {
      background: #163b72;
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(30, 79, 159, 0.4);
    }

    /* Scroll indicator */
    .scroll-indicator {
      position: absolute;
      bottom: 30px;
      left: 50%;
      transform: translateX(-50%);
      animation: bounce 2s infinite;
    }

    @keyframes bounce {
      0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
      }
      40% {
        transform: translateX(-50%) translateY(-10px);
      }
      60% {
        transform: translateX(-50%) translateY(-5px);
      }
    }

    /* Secciones con mejor espaciado */
    section {
      padding: 80px 20px;
      min-height: auto;
    }

    /* Info Cards mejoradas */
    .info-section {
      display: flex;
      justify-content: center;
      align-items: flex-start;
      gap: 30px;
      flex-wrap: wrap;
      max-width: 1200px;
      margin: 0 auto;
    }

    .section-title {
      text-align: center;
      margin-bottom: 60px;
    }

    .section-title h2 {
      font-size: clamp(2rem, 4vw, 3rem);
      margin-bottom: 15px;
      color: #fff;
    }

    .section-title::after {
      content: '';
      display: block;
      width: 80px;
      height: 4px;
      background: #1e4f9f;
      margin: 20px auto;
      border-radius: 2px;
    }

    .info-card {
      background: rgba(0,0,0,0.8); /* Igual que .dark-overlay */
  color: #fff;                 /* Letras blancas */
  border: 1px solid rgba(255,255,255,0.1); /* Igual que .dark-overlay */
  border-radius: 20px;
  padding: 30px;
  width: 100%;
  max-width: 350px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3); /* Igual que .dark-overlay */
}

    .info-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    }

    .info-card h3 {
      color: #fff;
      margin-bottom: 15px;
      font-size: 1.3rem;
      font-weight: 600;
    }

    .info-card p {
      color: #fff;
      line-height: 1.6;
      font-size: 0.95rem;
      flex-grow: 1;
    }

    /* Translator Section mejorada */
    .translator-section {
      background: rgba(0,0,0,0.7);
      backdrop-filter: blur(10px);
    }

    .traductor-wrapper {
      width: 100%;
      max-width: 800px;
      margin: 0 auto;
    }

    .dark-overlay {
      background: rgba(0,0,0,0.8);
      border-radius: 20px;
      padding: 40px;
      border: 1px solid rgba(255,255,255,0.1);
      box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    }

    .dark-overlay h2 {
      margin-bottom: 30px;
      color: #fff;
      font-size: 2.5rem;
      text-align: center;
    }

    .form-label {
      display: block;
      color: #fff;
      margin-bottom: 10px;
      font-weight: 500;
      font-size: 1.1rem;
    }

    .dark-overlay input {
      width: 100%;
      padding: 15px 20px;
      margin-bottom: 25px;
      border: 2px solid rgba(255,255,255,0.2);
      border-radius: 12px;
      background: rgba(255,255,255,0.1);
      color: #fff;
      font-size: 1rem;
      transition: all 0.3s ease;
    }

    .dark-overlay input:focus {
      outline: none;
      border-color: #1e4f9f;
    }

    .dark-overlay input::placeholder {
      color: rgba(255,255,255,0.6);
    }

    .dark-overlay button {
      width: 100%;
      padding: 15px;
      border: none;
      border-radius: 12px;
      background: #1e4f9f;
      color: #fff;
      cursor: pointer;
      font-size: 1.2rem;
      font-weight: 700;
      transition: all 0.3s ease;
      box-shadow: 0 4px 15px rgba(30, 79, 159, 0.3);
    }

    .dark-overlay button:hover {
      background: #163b72;
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(30, 79, 159, 0.4);
    }

    .output-container {
      margin-top: 30px;
      color: #fff;
      text-align: center;
      padding: 20px;
      background: rgba(255,255,255,0.05);
      border-radius: 15px;
      border: 1px solid rgba(255,255,255,0.1);
    }

    .output-container h3 {
      margin-bottom: 15px;
      font-size: 1.5rem;
    }

    .output-container p {
      font-size: 1.2rem;
      margin-bottom: 20px;
    }

    .output-container img {
      width: 100%;
      max-width: 300px;
      height: 300px;
      object-fit: contain;
      border-radius: 15px;
      margin: 20px 0;
      background: rgba(255,255,255,0.1);
    }

    .output-container button {
      margin-top: 15px;
      background: #fff;
      color: #1e4f9f;
      border: none;
      padding: 12px 25px;
      border-radius: 25px;
      cursor: pointer;
      font-weight: 600;
      transition: all 0.3s ease;
    }

    .output-container button:hover {
      background: #f0f0f0;
      transform: translateY(-2px);
    }

    /* Videos Section mejorada */
    .videos-section {
      background: rgba(0,0,0,0.6);
      backdrop-filter: blur(10px);
    }

    .videos-section h2,
    .videos-section p {
      color: #fff;
      text-align: center;
    }

    .videos-section p {
      font-size: 1.2rem;
      margin-bottom: 40px;
      opacity: 0.9;
    }

    .video-buttons {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 20px;
      max-width: 1000px;
      margin: 0 auto;
    }

    .video-buttons a {
      padding: 25px;
      border-radius: 15px;
      background: rgba(255,255,255,0.15);
      backdrop-filter: blur(10px);
      text-decoration: none;
      color: #fff;
      transition: all 0.3s ease;
      text-align: center;
      font-weight: 600;
      font-size: 1.1rem;
      border: 1px solid rgba(255,255,255,0.2);
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 80px;
    }

    .video-buttons a:hover {
      background: rgba(255,255,255,0.25);
      transform: translateY(-5px);
      box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    }

    /* Footer mejorado */
    footer {
      background: rgba(0,0,0,0.8);
      backdrop-filter: blur(10px);
      border-top: 1px solid rgba(255,255,255,0.1);
      padding: 30px 20px;
    }

    .footer-content {
      display: flex;
      justify-content: space-between;
      align-items: center;
      max-width: 1200px;
      margin: 0 auto;
      flex-wrap: wrap;
      gap: 20px;
    }

    .logo-footer {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .logo-footer img {
      width: 50px;
      height: 50px;
      border-radius: 50%;
    }

    .logo-footer span {
      font-weight: 600;
      font-size: 1.2rem;
      color: #fff;
    }

    .footer-links {
      display: flex;
      gap: 30px;
      flex-wrap: wrap;
    }

    .footer-links a {
      text-decoration: none;
      color: #fff;
      transition: all 0.3s ease;
      font-weight: 500;
    }

    .footer-links a:hover {
      color: #1e4f9f;
    }

    .copyright {
      text-align: center;
      margin-top: 20px;
      padding-top: 20px;
      border-top: 1px solid rgba(255,255,255,0.1);
      color: rgba(255,255,255,0.7);
      font-size: 0.9rem;
    }

    /* Responsive Design */
    @media (max-width: 768px) {
      .nav-logo span {
        display: block;
      }

      nav ul {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(0,0,0,0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 50px;
        transition: left 0.3s ease;
      }

      nav ul.active {
        left: 0;
      }

      nav ul li {
        margin: 15px 0;
      }

      nav ul li a {
        font-size: 1.2rem;
        padding: 15px 30px;
      }

      .menu-toggle {
        display: flex;
      }

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

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

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

      .info-section {
        flex-direction: column;
        align-items: center;
      }

      .info-card {
        max-width: 100%;
      }

      .video-buttons {
        grid-template-columns: 1fr;
      }

      .footer-content {
        flex-direction: column;
        text-align: center;
      }

      .footer-links {
        justify-content: center;
      }
    }

    @media (max-width: 480px) {
      section {
        padding: 60px 15px;
      }

      .dark-overlay {
        padding: 25px;
      }

      .info-card {
        padding: 20px;
      }
    }

    /* Scrollbar personalizada */
    ::-webkit-scrollbar {
      width: 8px;
    }

    ::-webkit-scrollbar-track {
      background: rgba(0,0,0,0.1);
    }

    ::-webkit-scrollbar-thumb {
      background: rgba(30, 79, 159, 0.8);
      border-radius: 4px;
    }

    ::-webkit-scrollbar-thumb:hover {
      background: rgba(30, 79, 159, 1);
    }