/* GOOGLE FONT IMPORT */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

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

body {
  font-family: 'Poppins', sans-serif;
  background: #0a0a0a;
  color: #e0e0e0;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  text-decoration: none;
  color: #0ff3ff;
  transition: color 0.3s ease;
}

a:hover {
  color: #ffd700;
}

/* STICKY HEADER */
header {
  position: sticky;
  top: 0;
  background: linear-gradient(90deg, #000000, #001f33);
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.7);
}

header h1 {
  font-weight: 600;
  font-size: 1.8rem;
  color: #ffd700;
  letter-spacing: 1.2px;
}

nav a {
  margin-left: 25px;
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 15px;
  border-radius: 8px;
  background: transparent;
  border: 2px solid transparent;
  user-select: none;
}

nav a:hover, nav a.active {
  color: #000;
  background: #0ff3ff;
  border-color: #0ff3ff;
  box-shadow: 0 0 8px #0ff3ff;
}

/* MAIN CONTAINER */
main {
  flex: 1;
  max-width: 1200px;
  margin: 40px auto 60px;
  padding: 0 20px;
  width: 100%;
}

/* HERO SECTION */
.hero {
  text-align: center;
  margin-bottom: 50px;
}

.hero h2 {
  font-size: 2.6rem;
  color: #0ff3ff;
  margin-bottom: 15px;
  text-shadow: 0 0 6px #0ff3ff;
}

.hero p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto;
  color: #ccc;
}

/* CARDS GRID */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: 30px;
}

/* INDIVIDUAL CARD */
.card {
  background: linear-gradient(145deg, #001a33, #000011);
  border-radius: 15px;
  box-shadow:
    0 8px 20px rgba(0,255,255,0.15),
    inset 0 0 10px rgba(0,255,255,0.1);
  padding: 30px 25px 40px;
  color: #d0f0f0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  user-select: none;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 12px 30px rgba(0,255,255,0.4),
    inset 0 0 15px rgba(0,255,255,0.2);
}

.card h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
  font-weight: 600;
  color: #00ffff;
  text-shadow: 0 0 8px #00ffff;
}

.card p {
  flex-grow: 1;
  font-size: 1rem;
  margin-bottom: 25px;
  color: #a0e5e5;
}

.card a.btn {
  align-self: flex-start;
  padding: 12px 25px;
  background: #ffd700;
  color: #000;
  font-weight: 600;
  border-radius: 40px;
  box-shadow: 0 0 15px #ffd700aa;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.card a.btn:hover {
  background: #fff700;
  box-shadow: 0 0 25px #fff700ff;
}

/* FOOTER */
footer {
  background: #001522;
  color: #8899aa;
  padding: 20px 40px;
  text-align: center;
  font-size: 0.9rem;
  user-select: none;
  box-shadow: inset 0 5px 15px #000a20;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  nav {
    margin-top: 12px;
  }

  nav a {
    margin-left: 0;
    margin-right: 15px;
  }
}
