.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal.hidden {
  display: none;
}

.modal-content {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  max-width: 600px;
  width: 90%;
}

.close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  cursor: pointer;
}

.modal-content h4 {
  margin-top: 1em;
  color: #2c3e50;
}

.modal-content ul {
  margin-left: 1em;
  padding-left: 1em;
  list-style-type: disc;
}

.modal-content p {
  margin-bottom: 1em;
}

.card {
  background: linear-gradient(135deg, #f0f4f8, #ffffff);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 1.5em;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 122, 204, 0.3);
}

.card .icon {
  font-size: 2.5em;
  margin-bottom: 0.5em;
}

.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
  z-index: 1000;
}

.modal-content {
  background: #fff;
  padding: 2em;
  border-radius: 10px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  animation: slideUp 0.4s ease;
}

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

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

.modal-content h3 {
  font-size: 1.6em;
  color: #2c3e50;
  margin-bottom: 0.5em;
}

.modal-content h4 {
  font-size: 1.2em;
  color: #007acc;
  margin-top: 1.2em;
}

.modal-content ul {
  list-style-type: disc;
  padding-left: 1.2em;
  margin-bottom: 1em;
}

.modal-content p {
  margin-bottom: 1em;
  line-height: 1.6;
}

nav {
  background: #007acc;
  padding: 1em;
  display: flex;
  gap: 1em;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #ffdd57;
}

.hero {
  background: linear-gradient(135deg, #007acc, #00c6ff);
  color: white;
  padding: 3em 1em;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.hero h1 {
  font-size: 2.5em;
  margin-bottom: 0.3em;
  animation: fadeInDown 0.6s ease;
}

.hero p {
  font-size: 1.2em;
  animation: fadeInUp 0.8s ease;
}



.icon {
  font-size: 2.5em;
  margin-bottom: 0.5em;
  display: inline-block;
}

.bounce {
  animation: bounce 1.5s infinite;
}

.pulse {
  animation: pulse 2s infinite;
}

.wiggle {
  animation: wiggle 1.2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

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

@keyframes wiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(3deg); }
  75% { transform: rotate(-3deg); }
}

button {
  background: #007acc;
  color: white;
  border: none;
  padding: 0.75em 1.5em;
  border-radius: 8px;
  font-size: 1em;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

button:hover {
  background: #005fa3;
  transform: scale(1.05);
}

button:active {
  transform: scale(0.98);
}