
        body {
            background: radial-gradient(circle, #99a2e9, #294bb2 , #99a2e9);
            display: flex;
            flex-direction: column;
            align-items: center;
            min-height: 100vh;
            margin: 0;
        }

        .ser-container {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 20px; /* Space between cards */
            width: 100%; 
            margin-right: 10px;
            padding: 20px;
        }

        .ser {
            width: 250px;
            height: 300px; /* Flashcard appearance */
            text-align: center;
            padding: 20px;
            background-color: #ffffff; /* White background */
            border-radius: 10px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }

        .ser:hover {
            transform: translateY(-10px); /* Hover lift effect */
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
        }

        .ser img {
            width: 80%; /* Image resized */
            height: auto;
            border-radius: 8px;
        }

        .ser h3 {   
            font-size: 20px;
            color: #222;
            margin-top: 15px;
            font-weight: bold;
            text-transform: uppercase;
        }
        
        @media screen and (max-width: 1024px) {
  .ser {
    width: 220px;
    height: 280px;
  }

  .ser h3 {
    font-size: 18px;
  }
}

@media screen and (max-width: 768px) {
  .ser {
    width: 45%; /* Two cards per row */
    height: auto; /* Allow height to adjust based on content */
  }

  .ser img {
    width: 90%;
    height: auto;
  }

  .ser h3 {
    font-size: 16px;
  }
}

@media screen and (max-width: 480px) {
  .ser-container {
    flex-direction: column;
    align-items: center;
  }

  .ser {
    width: 90%; /* Stack cards full-width on small screens */
    height: auto;
    padding: 15px;
  }

  .ser img {
    width: 90%;
    height: auto;
  }

  .ser h3 {
    font-size: 15px;
  }
}
