body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #eaf6ff, #f4f4f4);
  }

  header {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    text-align: center;
    padding: 3em 1em;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  }

  header img {
   border-radius: 20px;
   box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
   transition: transform 0.6s ease, box-shadow 0.6s ease;
   }

   header img:hover {
    transform: scale(1.08) rotate(-2deg);
    box-shadow: 0 12px 30px rgba(52, 152, 219, 0.7);
   }

    header h1 {
    font-size: 3em;
    margin-bottom: 0.2em;
    }

    header p {
    font-size: 1.5em;
    font-weight: 300;
    }
    .btn-translate {
      position: fixed;
      top: 20px;
      right: 20px;
      z-index: 999;
      background-color: #e67e22;
      color: white;
      padding: 0.7em 1.3em;
      border: none;
      border-radius: 30px;
      font-size: 1em;
      font-weight: bold;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
      cursor: pointer;
      transition: background-color 0.3s ease;
    }
    
    .btn-translate:hover {
      background-color: #d35400;
    }
    
  .container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 3em 1em;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  }

  .hero {
    text-align: center;
    margin-bottom: 3em;
    padding: 2em 1em;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
  }

  .hero h2 {
    font-size: 2.8em;
    color: #2c3e50;
    margin-bottom: 0.5em;
  }

  .hero p {
    font-size: 1.4em;
    color: #555;
    margin-bottom: 1.5em;
  }

  .btn-email {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    background-color: #007BFF; /* Azul clásico de email */
    color: white;
    padding: 0.8em 1.5em;
    font-size: 1.2em;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }
  
  .btn-email:hover {
    background-color: #0056b3;
  }
  
  

  .features {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 2em;
    flex-wrap: wrap;
    margin-top: 2em;
    overflow-x: auto;
    padding: 1em 0;
  }

  .feature {
      cursor: pointer;
    text-align: center;
    padding: 2em 1.5em;
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    width: 280px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
  }

  .feature:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    background: linear-gradient(145deg, #e0f7ff, #d2e9f7);
  }

  .feature i {
    font-size: 3em;
    color: #3498db;
    margin-bottom: 0.6em;
    transition: transform 0.3s ease;
  }

  .feature:hover i {
    transform: rotate(8deg) scale(1.2);
  }

  .feature h3 {
    font-size: 1.6em;
    color: #333;
    margin-top: 0.5em;
    transition: color 0.3s ease;
  }

  .feature:hover h3 {
    color: #e74c3c;
  }
  .modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background-color: rgba(0,0,0,0.95);
    padding-top: 60px;
  }
  
  .modal-content {
    background-color: #fff;
    margin: auto;
    padding: 2em;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    animation: fadeIn 0.4s ease-in-out;
  }
  
  .close {
    color: #aaa;
    float: right;
    font-size: 2em;
    font-weight: bold;
    cursor: pointer;
  }
  
  .close:hover,
  .close:focus {
    color: #e74c3c;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  @media (max-width: 768px) {
    .features {
      flex-direction: column;
      align-items: center;
      gap: 1em;
    }
  
    .feature {
      width: 90%;
      padding: 1.2em 1em;
    }
  
    .feature i {
      font-size: 2.2em;
    }
  
    .feature h3 {
      font-size: 1.2em;
    }
  
    .modal-content {
      width: 95%;
      padding: 1.2em;
      font-size: 0.95em;
      text-align: left;
    }
  
    .modal-content h2 {
      font-size: 1.2em;
    }
  
    .modal-content p {
      white-space: pre-line;
      font-size: 1em;
      line-height: 1.4;
    }
  
    .close {
      font-size: 1.6em;
    }
  }
  

  footer {
    text-align: center;
    padding: 1.5em 1em;
    background: #2c3e50;
    color: white;
    font-size: 0.9em;
  }

  footer a {
    color: #e74c3c;
    text-decoration: none;
  }

  footer a:hover {
    text-decoration: underline;
  }