* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: #f0f2f5;
}


.navbar {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #1e2a38;
  color: white;
  padding: 15px 30px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
}

.nav-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.nav-links li a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #4fc3f7;
}


.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
}



.card {
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 30px;
  width: 100%;
  max-width: 400px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);

  scroll-margin-top: 100px; /* sticky navbar offset */
}

.card:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.card h2 {
  margin-bottom: 15px;
  font-size: 28px;
}

.card p {
  font-size: 15px;
  line-height: 1.6;
}

.buttons {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  background-color: #2196f3;
  color: #fff;
  padding: 10px 18px;
  margin: 5px;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #0b7dda;
}


footer {
  text-align: center;
  padding: 20px;
  background: #1e2a38;
  color: white;
  margin-top: 40px;
}
.card {
  flex: 0 1 calc(50% - 30px); 
  max-width: 500px;
}

@media (max-width: 768px) {
  .card {
    flex: 0 1 100%;
  }
}