/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background: #f4f6f9;
  color: #333;
}

/* Container */
.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-size: 1.4rem;
  font-weight: bold;
}

/* Hamburger Button */
.menu-btn {
  font-size: 1.5rem;
  cursor: pointer;
  background: none;
  border: none;
}

/* Navigation - Mobile First */
nav {
  display: none;
  flex-direction: column;
  text-align: center;
  background: white;
  padding: 1rem 0;
}

nav a {
  text-decoration: none;
  color: #333;
  padding: 0.8rem 0;
  display: block;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 3rem 1rem;
}

.hero h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.hero p {
  margin-bottom: 1.5rem;
}

.primary-btn {
  padding: 0.7rem 1.5rem;
  border: none;
  background: #3b82f6;
  color: white;
  border-radius: 8px;
  cursor: pointer;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
/* Footer */
footer {
  text-align: center;
  padding: 2rem 0;
  background: #1e293b;
  color: white;
  margin-top: 3rem;
}

/* Popup */
.popup {
  display: none;   /* IMPORTANT */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}

.popup-content {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  width: 300px;
}

.popup-content button {
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  border: none;
  background: #3b82f6;
  color: white;
  border-radius: 6px;
  cursor: pointer;
}

/* Tablet */
@media (min-width: 768px) {

  nav {
    display: flex;
    flex-direction: row;
    justify-content: center;
  }

  nav a {
    margin: 0 1rem;
  }

  .menu-btn {
    display: none;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero h2 {
    font-size: 2.5rem;
  }
}

/* Desktop */
@media (min-width: 1024px) {

  .cards {
    grid-template-columns: repeat(3, 1fr);
  }

}