body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  background-color: #f5f5f5;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden; /* Prevent horizontal scrolling */
}

header {
  background-color: #2E3B55;
  color: white;
  padding: 20px;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}

header h1 {
  display: flex;
  align-items: center;
  font-size: 2em; /* Adjust this value as needed */
}

header h1 .material-icons {
  font-size: 36px;
  margin-right: 10px;
}

.subtitle {
  font-size: 1.2em;
  margin-top: 10px;
}

main {
  padding: 20px;
  text-align: center;
  flex: 1;
  width: 100%;
  box-sizing: border-box;
}

.container {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns */
  gap: 20px; /* Space between cards */
  justify-content: center;
  margin-bottom: 60px; /* Space for footer */
  box-sizing: border-box;
  animation: fadeIn 1s ease-in-out; /* Fade in animation */
}

.card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeInUp 0.5s ease-in-out;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card .material-icons {
  font-size: 48px;
  color: #2E3B55;
  margin-bottom: 10px;
}

.card h2 {
  font-size: 1.5em;
  margin: 10px 0;
}

.card p {
  color: #777;
  font-weight: 450;
  margin: 10px 0;
  text-align: center;
}

footer {
  background-color: #2E3B55;
  color: white;
  padding: 10px;
  text-align: center;
  width: 100%;
  position: relative;
  box-sizing: border-box;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.coming-soon {
  font-size: 1.5em;
  color: #2E3B55;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@media (max-width: 900px) {
  .container {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on smaller screens */
  }
}

@media (max-width: 600px) {
  .container {
    grid-template-columns: 1fr; /* 1 column on mobile */
  }

  .card {
    width: 90%;
    max-width: 300px; /* Ensure the cards don't get too large on wider screens */
  }

  header h1 {
    font-size: 1.5em; /* Decrease the header h1 size slightly on mobile */
  }

  header h1 .material-icons {
    font-size: 30px; /* Adjust the icon size as well for consistency */
  }

  .container {
    margin-top: 0;
    margin: 10px;
  }
}
