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

body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(135deg, #a8edea, #fed6e3);
  color: #333;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.wrapper {
  width: 100%;
  max-width: 950px;
  background: #fff;
  border-radius: 25px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 0 2rem 2rem 2rem;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 2px solid #1976d2;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo {
  width: 40px;
  height: 40px;
}

.brand-name {
  font-weight: 700;
  font-size: 1.3rem;
  color: #1976d2;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
}

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

.nav-links a:hover {
  color: #1976d2;
}

.nav-links a.active {
  color: #1976d2;
  font-weight: 700;
  border-bottom: 2px solid #1976d2;
  padding-bottom: 0.2rem;
}

.site-header {
  text-align: center;
  margin-top: 1.5rem;
}

.site-header h1 {
  font-size: 2rem;
  color: #1565c0;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.tagline {
  font-size: 0.95rem;
  color: #555;
}

.main-content {
  text-align: center;
  flex-grow: 1;
}

.card {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 1.5rem;
  border: 2px solid #1976d2;
  border-radius: 20px;
  margin: 1.5rem 0;
  transition: all 0.4s ease;
}

.card:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 15px rgba(25, 118, 210, 0.2);
}

.image-container img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 15px;
}

.text-container {
  flex: 1;
}

.text-container h2 {
  color: #1565c0;
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.text-container p {
  color: #444;
  font-size: 1rem;
  line-height: 1.6;
  text-align: justify;
  animation: fade 0.5s ease;
}

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

.buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

button {
  padding: 0.7rem 1.4rem;
  border: none;
  border-radius: 10px;
  background-color: #1976d2;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover {
  background-color: #0d47a1;
}

.progress-text {
  color: #555;
  font-size: 0.95rem;
  margin-top: 1rem;
}

footer {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: #666;
}

@media (max-width: 750px) {
  .card {
    flex-direction: column;
  }

  .image-container img {
    width: 100%;
    max-width: 300px;
  }

  .nav-links {
    display: none;
  }

  .brand-name {
    font-size: 1.2rem;
  }

  .site-header h1 {
    font-size: 1.6rem;
  }

  .site-header p {
    font-size: 0.9rem;
  }
}
.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #1976d2;
}

@media (max-width: 750px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    right: 20px;
    flex-direction: column;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 1rem;
    gap: 0.8rem;
    display: none;
    z-index: 1000;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    color: #1976d2;
  }
}
