﻿    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background: #f9f9f9;
      color: #333;
    }

    h1, h2, h3, h4, h5 {
      color: #0077b6;
    }

    a {
      color: #0096c7;
      text-decoration: none;
    }
    a:hover {
      text-decoration: underline;
    }

    header, footer {
      background: #023e8a;
      color: white;
      padding: 1rem;
      text-align: center;
    }

    .filtro-btn {
      margin: 0.25rem;
      transition: background-color 0.3s, color 0.3s;
    }
    .filtro-btn.active,
    .filtro-btn:hover {
      background-color: #0077b6;
      color: white;
    }

    .grid-container {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 1.5rem;
    }

    .proyecto-item {
      transition: all 0.4s ease;
      opacity: 1;
      transform: scale(1);
      display: block;
    }

    .proyecto-item.oculto {
      opacity: 0;
      transform: scale(0.8);
      pointer-events: none;
      display: none;
    }

    .proyecto-item.mostrar {
      animation: aparecer 0.4s ease forwards;
    }

    @keyframes aparecer {
      0% {
        opacity: 0;
        transform: scale(0.8);
      }
      100% {
        opacity: 1;
        transform: scale(1);
      }
    }

    .card {
      border: none;
      border-radius: 10px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .card:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
    }

    .card-img-top {
      height: 200px;
      object-fit: cover;
      border-top-left-radius: 10px;
      border-top-right-radius: 10px;
    }

    .card-body {
      background: white;
      border-bottom-left-radius: 10px;
      border-bottom-right-radius: 10px;
    }

    .modal-content {
      border-radius: 15px;
      overflow: hidden;
    }
    .modal-body img {
      border-radius: 10px;
    }
