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

body {
  background: #0a0a0a;
  color: white;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  background:
    radial-gradient(circle at top, #1e3a8a, transparent 40%),
    radial-gradient(circle at bottom, #7c3aed, transparent 40%),
    #050505;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0,0,0,0.3),
    rgba(0,0,0,0.8)
  );
}

.content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

h1 {
  font-size: 5rem;
  margin-bottom: 20px;
}

.subtitle {
  font-size: 1.4rem;
  color: #cfcfcf;
  margin-bottom: 35px;
}

.buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.buttons a {
  text-decoration: none;
  color: white;
  padding: 14px 28px;
  border-radius: 10px;
  background: #2563eb;
  transition: 0.2s;
  font-weight: bold;
}

.buttons a:hover {
  transform: translateY(-2px);
  background: #3b82f6;
}

.section {
  max-width: 1100px;
  margin: auto;
  padding: 80px 20px;
}

.section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.card {
  background: #141414;
  border: 1px solid #222;
  border-radius: 14px;
  padding: 24px;
}

.card h3 {
  margin-bottom: 12px;
}

footer {
  border-top: 1px solid #222;
  text-align: center;
  padding: 30px;
  color: #888;
}
/* Responsive Fixes */

/* 1. Ensure images and containers don't exceed screen width */
* {
  box-sizing: border-box;
}

body {
  overflow-x: hidden; /* Prevents side-scrolling */
  margin: 0;
  padding: 0;
}

/* 2. Make the grid stack vertically on mobile */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  width: 100%;
  padding: 0 20px; /* Gives breathing room on sides */
}

/* 3. Hero content scaling */
.hero .content {
  padding: 0 20px;
  width: 100%;
}

.hero h1 {
  font-size: 2.5rem; /* Shrinks large titles for mobile */
  word-wrap: break-word;
}

/* 4. Ensure buttons wrap if they are too long */
.buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

@media (max-width: 600px) {
  .section {
    padding: 40px 15px; /* Reduce large desktop padding */
  }
}
