html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  font-family: "Segoe UI", Arial, sans-serif;
  background: linear-gradient(135deg, #e8f0ff, #ffffff);
  color: #333;
}

nav {
  display: flex;
  align-items: center;
  background: #000;
  color: white;
  padding: 15px 30px;
}

nav img {
  height: 40px;
  margin-right: 10px;
}

nav .brand {
  font-size: 22px;
  font-weight: bold;
  color: white;
  text-decoration: none;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
}

h1 {
  font-size: 40px;
  margin-bottom: 15px;
  color: #222;
}

p {
  font-size: 18px;
  margin: 15px 0;
  color: #555;
  line-height: 1.6;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1000px;
  width: 100%;
  margin-bottom: 30px;
}

.btn-card {
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  padding: 20px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  color: #0078ff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  background: #f8fbff;
}

footer {
  text-align: center;
  padding: 20px;
  font-size: 14px;
  color: #777;
  background: #fafafa;
  border-top: 1px solid #eee;
}

@media (max-width: 768px) {
  nav {
    padding: 10px 15px;
    justify-content: space-between;
  }
  
  nav .brand {
    font-size: 20px;
  }

  nav img {
    height: 30px;
  }

  main {
    padding: 30px 10px;
  }

  h1 {
    font-size: 30px;
  }

  p {
    font-size: 16px;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .btn-card {
    padding: 15px;
  }
}