/* =========================
   GLOBAL RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

/* =========================
   BODY
========================= */
body {
  background: #f8f8f8;
  padding: 150px; /* desktop default */
}

/* =========================
   HERO
========================= */
.hero {
  display: flex;
  background: #3dbeb7;
  border-radius: 16px;
  padding: 12px;
  margin-bottom: 35px;
  margin-top: -110px;
  align-items: center;
}

.hero-image img {
  max-width: 100%;
  display: block;
}

/* =========================
   SEARCH
========================= */
.search-wrapper {
  margin-bottom: 30px;
}

.search-wrapper input {
  width: 100%;
  height: 50px;              
  padding: 0 14px;           /* horizontal padding only */
  border-radius: 10px;
  border: 2px solid #3b82f6;
  font-size: 14px;
  line-height: 40px;         /* vertical centering */
}

/* =========================
   GRID
========================= */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 15px;
}

/* =========================
   CARD
========================= */
.card {
  background: #fff;
  border-radius: 14px;
  padding: 15px;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-4px);
}

.card:active {
  transform: scale(0.97);
}

.card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 10px;
}

.card h3 {
  font-size: 15px;
  margin-bottom: 5px;
}

.level {
  font-size: 13px;
  color: #555;
}

/* =========================
   BADGE
========================= */
.tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #3b82f6;
  color: white;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 6px;
}

/* =========================
   TABLET & BELOW
========================= */
@media (max-width: 1024px) {
  body {
    margin-top: 25px;
    padding: 45px;
  }

  .tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #3b82f6;
  color: white;
  font-size: 22px;
  padding: 4px 8px;
  border-radius: 6px;
}

   .hero {
    margin-top: -40px;
    padding: 20px;
    height: 300px;
  }

  .grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .card h3 {
    font-size: 30px;        /* slightly smaller */
    line-height: 1.3;
    margin-bottom: 6px;
  }

  .card .level {
    font-size: 25px;        /* cleaner on small screens */
    line-height: 1.2;
  }

   .search-wrapper input {
    height: 65px;            /* 👈 your requirement */
    line-height: 40px;
    font-size: 20px;
    padding: 0 14px;
  }
}


/* =========================
   MOBILE (IMPORTANT)
========================= */
/* @media (max-width: 768px) {
  body {
    padding: 16px;
  }

  .hero {
    margin-top: -40px;
    padding: 20px;
    height: 250px;
  }

  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
} */

/* =========================
   SMALL MOBILE
========================= */
/* @media (max-width: 480px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 24px;
  }
} */
