.hero {
  background: linear-gradient(135deg, #000, #3498db);
  height: 90vh;
  display: flex;
  flex-direction: column;  /* Stack items vertically */
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}
.hero-heading {
  margin-bottom: 20px;
  color: #fff;
}

.main-page {
  background: linear-gradient(135deg, #000, #3498db);
  flex: 1; /* Fill the remaining space in main */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px; /* Reduced padding to avoid extra height */
  box-sizing: border-box;
  min-height: calc(100vh - 140px);
}

.main-page h1 {
  margin-bottom: 20px;
  color: #fff;
  font-size: 2.5rem;
}

.categories-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}


.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, 300px);
  gap: 20px;
  justify-content: center;
  margin: 20px auto;
  max-width: 1200px;
}

.category {
  background-color: #1e1e1e;
  border: 2px solid #3498db;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s;
}
.category:hover {
  transform: scale(1.05);
}
.category img {
  max-width: 100%;
  height: auto;
  margin-bottom: 15px;
  border-radius: 5px;
}
.category h2 {
  margin-top: 0;
  font-size: 1.5rem;
}
.cta-button {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background-color: #3498db;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s;
}
.cta-button:hover {
  background-color: #fff;
  color: #3498db;
}

.category img {
  height: 120px;
  width: auto;
  margin-bottom: 15px;
  border-radius: 5px;
  object-fit: contain;
}
