/* Gallery Container */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
  }
  
  /* Card Style */
  .gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    border: 4px solid transparent;
    background: rgba(13, 31, 60, 0.7);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
  }
  
  .gallery-card:hover {
    border-image-source: linear-gradient(135deg, #2563eb, #3b82f6, #60a5fa, #93c5fd);
    border-image-slice: 1;
    background: rgba(13, 31, 60, 0.9);
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
  }
  
  /* Image Style */
  .gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: opacity 0.3s ease;
  }
  
  .gallery-card:hover .gallery-image {
    opacity: 0.8;
  }
  
  /* Overlay Style */
  .card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 22, 40, 0.7);
    color: #dbeafe;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .gallery-card:hover .card-overlay {
    opacity: 1;
  }
  
  .card-overlay h3 {
    margin: 0;
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #dbeafe;
  }
  
  .card-overlay p {
    margin: 0;
    font-size: 1em;
    text-align: center;
    color: #93c5fd;
  }
  
  /* Gradient Animation */
  .gallery-card:hover {
    animation: gradient-border 3s linear infinite;
  }
  
  @keyframes gradient-border {
    0% {
      border-image-source: linear-gradient(135deg, #2563eb, #3b82f6, #60a5fa, #93c5fd);
    }
    50% {
      border-image-source: linear-gradient(135deg, #93c5fd, #60a5fa, #3b82f6, #2563eb);
    }
    100% {
      border-image-source: linear-gradient(135deg, #2563eb, #3b82f6, #60a5fa, #93c5fd);
    }
  }
  