/* Gradient background from blue to black */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
background: #020024;
background: linear-gradient(180deg, rgba(2, 0, 36, 1) 0%, rgba(9, 9, 121, 1) 55%, rgba(14, 96, 150, 1) 100%);
  color: white;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Header styling */
header {
  text-align: center;
  padding: 5px, 5px;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

p {
  font-size: 1.2rem;
  opacity: 0.8;
}

/* Grid layout */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 2rem;
  width: 80%;
  max-width: 1000px;
}

/* Card styling with blur and zoom */
.card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 1.3rem;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  cursor: pointer;
  border: 0.5px solid rgba(255, 255, 255, 0.1);
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(0, 150, 255, 1.2);
}

.card:active {
  transform: scale(1.05);
}

/* Icon styling */
.icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}
