    :root {
      --primary-blue: #002d8a;
      --light-blue: #0066cc;
      --accent-blue: #00abf0;
      --text-light: #ccc;
      --white: #ffffff;
      --shadow: rgba(0, 45, 138, 0.2);
    }

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

    .btn-volver {
  display: inline-block;
  padding: 12px 24px;
  background-color: #2c3e50;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn-volver:hover {
  background-color: #1abc9c;
}


    body {
      font-family: 'Arial', sans-serif;
      background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
      color: #333;
      min-height: 100vh;
      position: relative;
    }

    body::before {
      content: '';
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: radial-gradient(circle at 30% 70%, rgba(0, 45, 138, 0.05) 0%, transparent 50%),
                  radial-gradient(circle at 70% 30%, rgba(0, 171, 240, 0.05) 0%, transparent 50%);
      pointer-events: none;
      z-index: -1;
    }

    .header {
      background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
      color: var(--white);
      text-align: center;
      padding: 30px 20px;
      position: relative;
      box-shadow: 0 10px 30px var(--shadow);
      overflow: hidden;
    }

    .header::before {
      content: '';
      position: absolute;
      top: -50%;
      left: -50%;
      width: 200%;
      height: 200%;
      background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
      animation: headerGlow 8s ease-in-out infinite;
      pointer-events: none;
    }

    @keyframes headerGlow {
      0%, 100% {
        transform: rotate(0deg) scale(1);
        opacity: 0.3;
      }
      50% {
        transform: rotate(180deg) scale(1.2);
        opacity: 0.6;
      }
    }

    .header .logo {
      width: 80px;
      height: 80px;
      position: absolute;
      top: 20px;
      left: 30px;
      border-radius: 50%;
      object-fit: cover;
      border: 3px solid var(--white);
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
      transition: all 0.3s ease;
      z-index: 2;
    }

    .header .logo:hover {
      transform: scale(1.1) rotate(5deg);
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    }

    .header h1 {
      font-size: 3rem;
      margin: 0;
      font-weight: 700;
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
      position: relative;
      z-index: 2;
      animation: titleFloat 3s ease-in-out infinite;
    }

    @keyframes titleFloat {
      0%, 100% {
        transform: translateY(0px);
      }
      50% {
        transform: translateY(-5px);
      }
    }

    .header span {
      font-size: 1.4rem;
      display: block;
      color: var(--text-light);
      margin-top: 5px;
      font-weight: 300;
      position: relative;
      z-index: 2;
    }

    .menu-catalogo {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 40px;
      padding: 60px 40px;
      max-width: 1200px;
      margin: 0 auto;
    }

    .card {
      text-decoration: none;
      color: #333;
      background: var(--white);
      border-radius: 25px;
      padding: 30px 20px;
      text-align: center;
      box-shadow: 0 15px 35px rgba(0, 45, 138, 0.1);
      transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      position: relative;
      overflow: hidden;
      border: 2px solid transparent;
    }

    .card::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(0, 171, 240, 0.1), transparent);
      transition: left 0.6s ease;
    }

    .card:hover::before {
      left: 100%;
    }

    .card:hover {
      transform: translateY(-15px) scale(1.03);
      box-shadow: 0 25px 50px rgba(0, 45, 138, 0.2);
      border-color: var(--accent-blue);
    }

    .card img {
      width: 120px;
      height: 120px;
      object-fit: cover;
      border-radius: 20px;
      transition: all 0.4s ease;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
      border: 3px solid #f0f0f0;
    }

    .card:hover img {
      transform: scale(1.1) rotate(3deg);
      box-shadow: 0 15px 30px rgba(0, 45, 138, 0.3);
      border-color: var(--accent-blue);
    }

    .card span {
      display: inline-block;
      background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
      color: var(--white);
      border-radius: 25px;
      padding: 12px 25px;
      margin-top: 20px;
      font-size: 1rem;
      font-weight: 600;
      letter-spacing: 0.5px;
      box-shadow: 0 5px 15px rgba(0, 45, 138, 0.3);
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
    }

    .card span::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
      transition: left 0.5s ease;
    }

    .card:hover span::before {
      left: 100%;
    }

    .card:hover span {
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(0, 45, 138, 0.4);
    }

    /* Specific card styling with unique colors */
    .card:nth-child(1) {
      animation: fadeInUp 0.6s ease-out 0.1s both;
    }

    .card:nth-child(2) {
      animation: fadeInUp 0.6s ease-out 0.2s both;
    }

    .card:nth-child(3) {
      animation: fadeInUp 0.6s ease-out 0.3s both;
    }

    .card:nth-child(4) {
      animation: fadeInUp 0.6s ease-out 0.4s both;
    }

    .card:nth-child(5) {
      animation: fadeInUp 0.6s ease-out 0.5s both;
    }

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

    /* Floating particles */
    .floating-particles {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: -1;
    }

    .particle {
      position: absolute;
      background: rgba(0, 45, 138, 0.1);
      border-radius: 50%;
      animation: float 8s ease-in-out infinite;
    }

    .particle:nth-child(1) {
      width: 20px;
      height: 20px;
      top: 20%;
      left: 10%;
      animation-delay: 0s;
    }

    .particle:nth-child(2) {
      width: 15px;
      height: 15px;
      top: 60%;
      left: 90%;
      animation-delay: 2s;
    }

    .particle:nth-child(3) {
      width: 25px;
      height: 25px;
      top: 80%;
      left: 20%;
      animation-delay: 4s;
    }

    .particle:nth-child(4) {
      width: 18px;
      height: 18px;
      top: 30%;
      left: 80%;
      animation-delay: 6s;
    }

    @keyframes float {
      0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
      }
      50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.8;
      }
    }

    @media (max-width: 768px) {
      .header h1 {
        font-size: 2.2rem;
        margin-top: 20px;
      }

      .header .logo {
        position: static;
        margin-bottom: 20px;
      }

      .menu-catalogo {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 25px;
        padding: 40px 20px;
      }

      .card {
        padding: 25px 15px;
      }

      .card img {
        width: 100px;
        height: 100px;
      }
    }

    /* Additional hover effects for different categories */
    .card:nth-child(1):hover {
      background: linear-gradient(135deg, #fff 0%, #f8f9ff 100%);
    }

    .card:nth-child(2):hover {
      background: linear-gradient(135deg, #fff 0%, #fff8f8 100%);
    }

    .card:nth-child(3):hover {
      background: linear-gradient(135deg, #fff 0%, #f8fff8 100%);
    }

    .card:nth-child(4):hover {
      background: linear-gradient(135deg, #fff 0%, #fffaf8 100%);
    }

    .card:nth-child(5):hover {
      background: linear-gradient(135deg, #fff 0%, #f8f8ff 100%);
    }