/* ========== Reset and Base Styles ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Orbitron', sans-serif;
  background-color: #0f0f1a;
  color: #f0f0f0;
  line-height: 1.7;
}

/* ========== Links ========== */
a {
  color: #00fff7;
  text-decoration: none;
  transition: 0.3s ease-in-out;
}

a:hover {
  color: #ff00c8;
  text-shadow: 0 0 5px #ff00c8;
}

/* ========== Navigation Bar ========== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10, 10, 30, 0.95);
  padding: 1rem 0;
  border-bottom: 1px solid #ff00c8;
  z-index: 1000;
}

.navbar ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.navbar li {
  text-transform: uppercase;
}

.navbar a {
  font-weight: bold;
  color: #ffffff;
  font-size: 1rem;
  letter-spacing: 1px;
}

/* ========== Hero Section ========== */
.hero-section {
  height: 100vh;
  background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  color: #00fff7;
  text-shadow: 0 0 10px #00fff7;
  padding: 0 20px;
  text-align: center;
}

.hero-section h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.hero-section p {
  font-size: 1.5rem;
  color: #f0f0f0;
  text-shadow: 0 0 5px #00f2ff;
}

/* ========== Content Sections ========== */
.content-section {
  padding: 100px 20px;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.content-section h2 {
  font-size: 3rem;
  margin-bottom: 40px;
  color: #ff00c8;
  text-shadow: 0 0 8px #ff00c8;
}

/* ========== Grid Layout ========== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 20px;
}

/* ========== Cards ========== */
.grid div,
.card {
  background: #1a1a2e;
  border: 1px solid #00fff7;
  padding: 20px;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 10px transparent;
}

.grid div:hover,
.card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px #00fff7;
}

.card ul {
  text-align: left;
  margin-top: 10px;
  padding-left: 20px;
  list-style: square;
}

/* ========== Social Links ========== */
.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  font-size: 2rem;
  margin-top: 1rem;
}

.social-links i {
  color: #00fff7;
  transition: color 0.3s, transform 0.3s;
}

.social-links i:hover {
  color: #ff00c8;
  transform: scale(1.2);
}

/* ========== Footer ========== */
footer {
  background: #1a1a2e;
  color: #aaa;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  border-top: 1px solid #ff00c8;
}

/* ========== Responsive Media Queries ========== */
@media (max-width: 1024px) {
  .navbar ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .hero-section h1 {
    font-size: 3rem;
  }

  .hero-section p {
    font-size: 1.2rem;
  }

  .content-section h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2.2rem;
  }

  .hero-section p {
    font-size: 1rem;
  }

  .navbar ul {
    flex-direction: column;
    gap: 1rem;
  }

  .content-section h2 {
    font-size: 2rem;
  }

  .grid {
    grid-template-columns: 1fr;
  }
}

/* === Slide Menu Toggle Button === */
.mobile-menu-toggle {
  position: fixed;
  top: 20px;
  left: 20px;
  font-size: 2rem;
  background: #1a1a2e;
  color: #00fff7;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  z-index: 2000;
  display: none;
}

/* === Slide Menu Panel === */
.mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 80%;
  height: 100%;
  background: #0f0f1a;
  z-index: 1500;
  padding-top: 60px;
  transition: left 0.4s ease-in-out;
  box-shadow: 5px 0 20px #ff00c8;
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.mobile-menu li {
  margin: 20px 0;
}

.mobile-menu a {
  color: #00fff7;
  font-size: 1.5rem;
  font-weight: bold;
}

.mobile-menu.show {
  left: 0;
}

/* === Responsive: Show menu on small screens only === */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }

  .navbar {
    display: none;
  }

  .grid {
    grid-template-columns: 1fr !important;
  }

  .content-section {
    padding: 60px 20px;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-section p {
    font-size: 1rem;
  }
}
