/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #050505;
  color: #eaeaea;
  font-family: 'Inter', sans-serif;
}

/* NAVIGATION */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #00f0ff22;
}

nav a {
  margin-left: 30px;
  color: #aaa;
  text-decoration: none;
  transition: 0.3s;
}

nav a:hover {
  color: #00f0ff;
}

.logo img {
  height: 40px;
}

/* HERO SECTION */
.hero {
  position: relative;
  height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 60px;
  overflow: hidden;
  background: radial-gradient(circle at 30% 40%, #001f25, #000);
}

#hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  transform: translate(-50%, -50%);
  object-fit: cover;
  filter: brightness(0.35);
}

.hero-content {
  position: relative;
  z-index: 1; /* content above video */
  max-width: 600px;
  color: #00f0ff;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Hero Text */
.hero h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 3.2rem;
  color: #00f0ff;
  text-shadow: 0 0 20px #00f0ff55;
}

.hero p {
  font-family: 'Inter', sans-serif;
  color: #aaa;
  max-width: 700px;
  line-height: 1.6;
  margin: 0 auto;
}

/* Hero Button */

.btn-hero {
  display: inline-block;
  padding: 14px 35px;
  background-color: var(--neon, #00f0ff);
  color: #000;
  font-family: 'Inter', sans-serif;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  margin-top: 20px;
  box-shadow: 0 0 10px #00f0ff55;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: neonPulse 2s infinite alternate;
}

.btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px #00f0ffaa, 0 0 50px #00f0ff66;
}

/* Neon pulse animation */
@keyframes neonPulse {
  0% {
    box-shadow: 0 0 5px #00f0ff33, 0 0 10px #00f0ff22;
  }
  50% {
    box-shadow: 0 0 15px #00f0ff66, 0 0 30px #00f0ff44;
  }
  100% {
    box-shadow: 0 0 10px #00f0ff55, 0 0 20px #00f0ff33;
  }
}

/* CTA BUTTON */

.cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 60px 20px;
  overflow: visible;
}

.cta h2 {
  text-align: center;             /* Center heading */
  font-family: 'Orbitron', sans-serif;
  color: var(--neon, #00f0ff);   /* Neon color instead of white */
  margin-bottom: 20px;            /* Space between heading and button */
}

.cta button {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  padding: 12px 30px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  background-color: var(--neon, #00f0ff);
  color: #000;
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-block;
}

.cta button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* SECTION CARDS */
.section {
  padding: 60px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  text-align: center;         /* Center heading */
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  color: var(--neon, #00f0ff);
  margin-bottom: 40px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  justify-content: center;  /* Center the grid items */
  max-width: 1100px;       /* Optional: limits grid width */
  margin: 0 auto;          /* Center the grid container */
}

.card {
  padding: 30px;
  background: linear-gradient(145deg, #0a0a0a, #050505);
  border: 1px solid #00f0ff22;
  border-radius: 12px;
  transition: 0.4s;
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 20px #00f0ff33;
}

.card h3 {
  color: #00f0ff;
  margin-bottom: 10px;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 30px;
  border-top: 1px solid #00f0ff22;
  color: #777;
}

/* MOBILE */
@media(max-width: 768px) {
  nav, .hero, section {
    padding: 20px;
  }

  .hero h1 {
    font-size: 2.4rem;
  }
}