/* Base Styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: linear-gradient(135deg, #9D00FF 0%, #ebedee 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

.header {
  text-align: center;
  margin-bottom: 30px;
  animation: fadeIn 2s ease;
}

.header h1 {
  font-size: 2.8em;
  color: #2b547e;
  margin-bottom: 10px;
}

.header p {
  font-size: 1.2em;
  color: #555;
}

/* Dashboard Styling */
.dashboard {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1200px;
}

/* Title Card Styling */
.title-card {
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  width: 280px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  color: #fff;
}

.title-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.title-card .icon {
  font-size: 2.5em;
  margin-bottom: 15px;
  animation: bounce 1.5s infinite alternate;
}

.title-card h3 {
  font-size: 1.1em;
  margin-bottom: 10px;
  font-weight: bold;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
  from { transform: translateY(0); }
  to { transform: translateY(-10px); }
}

/* Color Variations */
.title-card:nth-child(1) { background: #ffb6c1; }  /* Light Pink */
.title-card:nth-child(2) { background: #add8e6; }  /* Light Blue */
.title-card:nth-child(3) { background: #98fb98; }  /* Pale Green */
.title-card:nth-child(4) { background: #ffa07a; }  /* Light Salmon */
.title-card:nth-child(5) { background: #d8bfd8; }  /* Thistle */
.title-card:nth-child(6) { background: #f0e68c; }  /* Khaki */
.title-card:nth-child(7) { background: #ff69b4; }  /* Hot Pink */
.title-card:nth-child(8) { background: #87cefa; }  /* Light Sky Blue */
.title-card:nth-child(9) { background: #20b2aa; }  /* Light Sea Green */
.title-card:nth-child(10) { background: #778899; } /* Light Slate Gray */
.title-card:nth-child(11) { background: #ffd700; } /* Gold */
.title-card:nth-child(12) { background: #9370db; } /* Medium Purple */
.title-card:nth-child(13) { background: #40e0d0; } /* Turquoise */
.title-card:nth-child(14) { background: #ff4500; } /* Orange Red */
.title-card:nth-child(15) { background: #48d1cc; } /* Medium Turquoise */
.title-card:nth-child(16) { background: #6a5acd; } /* Slate Blue */

.active {
  border: 3px solid #2b547e;
}
