:root {
      --background: #F8F9FA;
      --foreground: #FFFFFF;
      --text-primary: #212529;
      --text-secondary: #6C757D;
      --accent: #007BFF;
      --border: #DEE2E6;
      --shadow: rgba(0, 0, 0, 0.05);
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Manrope', sans-serif;
      background-color: var(--background);
      color: var(--text-primary);
      line-height: 1.7;
    }

    .container {
      max-width: 960px;
      margin: 0 auto;
      padding: 0 1.5rem;
    }

    .page-header {
      background-image: url('bg.png');
      background-color: #333;
      background-size: cover;
      background-position: center;
      padding: 2rem 0;
      color: white;
      position: relative;
    }

    .page-header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1;
    }

    .header-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      position: relative;
      z-index: 2;
      max-width: 960px;
      margin: 0 auto;
      padding: 0 1.5rem;
      flex-wrap: wrap;
    }

    .logo {
      /* Making container transparent and removing padding */
      background: transparent;
      padding: 0;
      line-height: 0; /* Removes any extra line-height space */
    }

    .logo img {
      height: 120px; /* Adjust height as needed */
      width: auto; /* Maintain aspect ratio */
      display: block;
      border-radius: 8px; /* Optional: if you want rounded corners on the logo */
      box-shadow: 0 4px 10px var(--shadow); /* Applying shadow to the image */
    }

    .lang-switch button {
      background: var(--foreground);
      border: 1px solid var(--border);
      color: var(--text-secondary);
      padding: 0.5rem 1rem;
      margin-left: 0.5rem;
      border-radius: 8px;
      cursor: pointer;
      font-size: 0.9rem;
      transition: all 0.2s ease;
    }

    .lang-switch button.active,
    .lang-switch button:hover {
      background-color: var(--accent);
      color: var(--foreground);
      border-color: var(--accent);
      transform: translateY(-2px);
      box-shadow: 0 4px 8px rgba(0, 123, 255, 0.2);
    }

    .hero {
      text-align: center;
      margin: 0;
      padding: 0;
      position: relative;
      z-index: 2;
    }

    .hero h1 {
      font-size: 1.5rem;
      font-weight: 600;
      margin-bottom: 0;
      line-height: 1.3;
      color: white;
    }

    .hero-text-container {
      text-align: center;
      margin: 1rem 0;
      max-width: 400px;
    }

    .profile-section {
      margin-bottom: 4rem;
    }

    .profile-card {
      background-color: var(--foreground);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 2rem;
      text-align: center;
      transition: all 0.2s ease;
    }

    .profile-card:hover {
      background-color: var(--card-hover, #f9fafb);
      transform: translateY(-2px);
    }

    .profile-icon {
      width: 48px;
      height: 48px;
      margin: 0 auto 1rem;
      color: var(--accent);
    }

    .profile-icon svg {
      width: 100%;
      height: 100%;
    }

    .profile-card h2 {
      font-size: 1.5rem;
      font-weight: 600;
      margin-bottom: 1rem;
      color: var(--text-primary);
    }

    .profile-card p {
      font-size: 1rem;
      color: var(--text-secondary);
      line-height: 1.6;
      text-align: left;
    }

    .services-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1.5rem;
      margin-bottom: 4rem;
    }

    @media (max-width: 768px) {
      .services-grid {
        grid-template-columns: 1fr;
      }
    }

    .service-card {
      background-color: var(--foreground);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 1.5rem;
      text-align: center;
      transition: all 0.2s ease;
    }

    .service-card:hover {
      background-color: var(--card-hover, #f9fafb);
      transform: translateY(-2px);
    }

    .service-icon {
      font-size: 2rem;
      margin-bottom: 1rem;
      display: block;
    }

    .service-card h3 {
      font-size: 1.1rem;
      font-weight: 600;
      margin-bottom: 0.75rem;
      color: var(--text-primary);
    }

    .service-card p {
      font-size: 0.9rem;
      color: var(--text-secondary);
      line-height: 1.5;
      text-align: left;
    }

    .contact-section {
      background-color: var(--foreground);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 2rem;
      text-align: center;
      margin-bottom: 4rem;
    }

    .contact-section h2 {
      font-size: 1.5rem;
      font-weight: 600;
      margin-bottom: 1.5rem;
      color: var(--text-primary);
    }

    .contact-info {
      margin: 0 auto;
    }

    .contact-email {
      display: inline-block;
      padding: 0.75rem 1.5rem;
      background-color: var(--accent);
      color: white;
      border-radius: 8px;
      text-decoration: none;
      font-weight: 600;
      transition: all 0.2s ease;
    }

    .contact-email:hover {
      background-color: #2563eb;
      transform: translateY(-2px);
      text-decoration: none;
    }

    a {
      color: var(--accent);
      text-decoration: none;
      font-weight: 600;
    }

    a:hover {
      text-decoration: underline;
    }

    footer {
      text-align: center;
      padding: 2rem 0;
      color: var(--text-secondary);
      font-size: 0.9rem;
    }

    .en, .es {
      display: none;
    }

    .visible {
      display: block;
      animation: fadeIn 0.5s ease-in-out;
    }

    @keyframes blink {
      50% { opacity: 0; }
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(20px); }
      to { opacity: 1; transform: translateY(0); }
    }

    @media (max-width: 768px) {
      .hero h1 {
        font-size: 2.5rem;
      }
      .grid {
        grid-template-columns: 1fr;
      }
    }