/* 
Theme Name: GS Mock Test
*/

.card-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  
  .card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    border: 1px solid #ccc;
  }
  
  .card img {
    width: 100%;
    display: block;
    transition: transform 0.4s ease;
  }
  
  /* Overlay */
  .card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 20px;
    transform: translateY(100%);
    transition: 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }
  
  .card-overlay h3 {
    margin: 0;
    font-size: 20px;
  }
  
  .card-overlay p {
    font-size: 14px;
    margin-top: 5px;
  }
  
  /* Hover Effects */
  .card:hover img {
    transform: scale(1.1);
  }
  
  .card:hover .card-overlay {
    transform: translateY(0);
  }
  
  /* Responsive */
  @media (max-width: 1024px) {
    .card-container {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (max-width: 600px) {
    .card-container {
      grid-template-columns: 1fr;
    }
  }

  #message {
    height: 120px; /* change as needed */
    resize: vertical; /* optional: allow resize */
  }