body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #0e0e0e;
  color: #e0ffe0;
}

header {
  background-color: #111;
  padding: 1rem;
  text-align: center;
  border-bottom: 2px solid #00ff99;
}

header h1 {
  color: #00ff99;
  font-size: 2.5rem;
  text-shadow: 0 0 10px #00ff99;
}

nav {
  margin-top: 0.5rem;
}

nav a {
  color: #66ffcc;
  margin: 0 1rem;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  color: #00ff99;
}

.hero {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(90deg, #0e0e0e, #111);
}

.hero h2 {
  font-size: 2.5rem;
  color: #00ff99;
  text-shadow: 0 0 15px #00ff99;
}

.hero p {
  font-size: 1.2rem;
  color: #66ffcc;
}

.btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  color: #0e0e0e;
  background-color: #00ff99;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  box-shadow: 0 0 10px #00ff99;
}

.articles {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 2rem;
}

article {
  background-color: #1a1a1a;
  border: 1px solid #00ff99;
  padding: 1rem;
  margin: 1rem;
  width: 300px;
  box-shadow: 0 0 10px #00ff99;
  border-radius: 8px;
}

article h3 {
  color: #66ffcc;
}

article p {
  color: #e0ffe0;
}

article a {
  color: #00ff99;
  text-decoration: none;
}

footer {
  text-align: center;
  padding: 1rem;
  border-top: 1px solid #00ff99;
  margin-top: 2rem;
  color: #66ffcc;
}

.article-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 0.5rem;
  box-shadow: 0 0 10px #00ff99;
}

header {
  background-color: #111;
  padding: 1rem 0;
  text-align: center;
}

header h1 {
  color: #00ff99;
  font-size: 2.5rem;
  text-shadow: 0 0 10px #00ff99;
  margin-bottom: 0.5rem;
}

nav {
  padding: 0.5rem 0;
  border-top: 2px solid #00ff99;
  border-bottom: 2px solid #00ff99;
  margin-top: 0.5rem;
}

nav a {
  color: #66ffcc;
  margin: 0 1rem;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  color: #00ff99;
}
.post-container {
  max-width: 700px;
  margin: 2rem auto;
  padding: 1rem;
  background-color: #1a1a1a;
  border-radius: 8px;
  box-shadow: 0 0 10px #00ff99;
  color: #e0ffe0;
}

.post-container h2 {
  text-align: center;
  color: #00ff99;
  margin-bottom: 0.5rem;
}

.category {
  text-align: center;
  color: #66ffcc;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.post-image {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  display: block;
  margin: 0 auto 1.5rem;
  border-radius: 6px;
  box-shadow: 0 0 8px #00ff99;
}

.post-content {
  line-height: 1.6;
  font-size: 1.05rem;
  padding: 0 0.5rem;
}

.back-link {
  text-align: center;
  margin-top: 2rem;
}

.back-link a {
  color: #00ff99;
  text-decoration: underline;
  font-weight: bold;
}
.post-content {
  line-height: 1.6;
  font-size: 1.05rem;
  padding: 0 0.5rem;
  text-align: center; /* ✅ Center text */
}
/* --- Post Page Styling --- */
.post-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem;
  text-align: center;
}

.post-title {
  color: #00ff99;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.post-category {
  font-size: 1rem;
  color: #66ffcc;
  margin-bottom: 1rem;
}

.post-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 0 10px #00ff99;
  margin: 0 auto 1rem;
}

.post-content {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #e0ffe0;
  padding: 0 1rem;
  text-align: center;
}

.back-link {
  display: block;
  margin-top: 2rem;
  color: #00ff99;
  text-decoration: underline;
  font-weight: bold;
}
/* Center the post container in the page */
body.post-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 1rem;
  background: #111;
  color: #e0ffe0;
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  flex-direction: column;
}

/* Existing post container styles */
.post-container {
  max-width: 800px;
  text-align: center;
  padding: 2rem;
  background: #1a1a1a;
  border-radius: 10px;
  box-shadow: 0 0 10px #00ff99;
}
.post-page img {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 1rem auto;
  border-radius: 8px;
  box-shadow: 0 0 10px #00ff99;
}

/* Floating Nav */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #111;
  border-bottom: 2px solid #00ff99;
  z-index: 999;
  padding: 1rem 0;
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.main-header h1 {
  color: #00ff99;
  font-size: 2rem;
  text-shadow: 0 0 10px #00ff99;
  margin: 0;
  padding-bottom: 0.5rem;
}

nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

nav a {
  color: #66ffcc;
  text-decoration: none;
  font-weight: bold;/* Hamburger toggle */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #00ff99;
  padding: 0.5rem 0;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #111;
    padding-top: 1rem;
    border-top: 1px solid #00ff99;
  }

  nav a {
    padding: 0.5rem 0;
  }

  nav.active {
    display: flex;
  }
}

}

nav a:hover {
  color: #00ff99;
}

/* Ensure page content is not hidden under fixed nav */
body {
  padding-top: 120px; /* Adjust depending on nav height */
}

/* Mobile responsiveness */
@media (max-width: 600px) {
  .nav-container {
    align-items: flex-start;
  }

  nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

/* Base styles */
.main-header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #111;
  padding: 1rem;
  z-index: 1000;
  border-bottom: 2px solid #00ff99;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.main-header h1 {
  margin: 0;
  color: #00ff99;
  font-size: 1.8rem;
}

nav {
  display: flex;
  gap: 1rem;
}

nav a {
  color: #66ffcc;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  color: #00ff99;
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: #00ff99;
}

/* Mobile styles */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 1rem;
    border-top: 1px solid #00ff99;
    padding-top: 1rem;
  }

  nav.active {
    display: flex;
  }

  nav a {
    padding: 0.5rem 0;
  }
}
.chat-head {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.chat-alert {
  background-color: #00ff99;
  color: #111;
  padding: 10px 15px;
  border-radius: 10px;
  margin-bottom: 8px;
  display: none;
  animation: slideIn 0.3s ease-out;
  box-shadow: 0 0 10px #00ff99;
}

.chat-icon {
  background-color: #00ff99;
  color: #111;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 10px #00ff99;
}

.chat-options {
  display: none;
  flex-direction: column;
  margin-top: 10px;
}

.chat-options a {
  margin: 5px 0;
}

.chat-options img {
  width: 40px;
  height: 40px;
  transition: transform 0.2s;
}

.chat-options img:hover {
  transform: scale(1.2);
}

@keyframes slideIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}


.chat-head {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  /* etc. */
}



.chat-options img {
  width: 40px;
  height: 40px;
  border: 2px solid red; /* 👈 Temporary for testing */
}

.hero-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
  padding: 2rem 1rem;
  background-color: #000;
}

.hero {
  border: 2px solid #00ff99;
  padding: 2rem;
  border-radius: 10px;
  max-width: 600px;
  width: 100%;
  text-align: center;
  background-color: #111; /* slightly lighter than full black for contrast */
  color: #fff;
}

.hero h2 {
  font-size: 2rem;
  color: #00ff99;
}

.hero p {
  font-size: 1.1rem;
  margin-top: 1rem;
  color: #ccc;
}

.btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.7rem 1.5rem;
  background: #00ff99;
  color: #000;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #00cc77;
}

/* Responsive styling */
@media (max-width: 600px) {
  .hero {
    padding: 1.5rem;
  }

  .hero h2 {
    font-size: 1.6rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .btn {
    font-size: 1rem;
    padding: 0.6rem 1.2rem;
  }
}

