/* ============ BASIC STYLING ============ */
body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  color: #0b1220;
  background: #fff;
}

/* ============ NAVBAR ============ */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
  background:#1b19d0e6;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-weight: 700;
  font-size: 1.3rem;
  color: #ffffff;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
}

.nav-links li a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  transition: 0.3s;
}

.nav-links li a:hover
{
color:#ed42dc

}
.nav-links li a.active {
  color: #000000;
}



/* ===== MOBILE MENU ===== */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color:#ffffff
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: white;
    border-top: 1px solid #ddd;
    text-align: center;
    padding: 15px 0;
  }

  .nav-links.open {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }

  .nav-links li {
    padding: 10px 0;
  }

  .nav-links li a {
  text-decoration: none;
  color: #000000;
  font-weight: 500;
  transition: 0.3s;
}

.nav-links li a:hover
{
color:#ed42dc

}
.nav-links > li > a > .nav-link active {
  color: #000000;
}


}

/* ============ HERO SECTION ============ */
.hero {
  text-align: center;
  padding: 1px 20px;
  background: linear-gradient(to right, #e3f2fd, #f3e5f5);
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.hero span {
  color: #1a237e;
}

.hero p {
  color: #555;
}

/* ============ POSTS SECTION ============ */
.posts-section {
  padding: 50px 20px;
  max-width: 1000px;
  margin: auto;
}

.posts-section h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #1a237e;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.post-card {
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 20px;
  background: #fff;
  transition: all 0.3s ease;
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.post-cat {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1a237e;
}

.post-title {
  font-weight: 600;
  margin: 10px 0;
}

/* ============ FOOTER ============ */
.footer {
  background: #1b19d0e6;;
  text-align: center;
  padding: 1px 20px;
  border-top: 1px solid #ddd;
}

.footer h3 {
  color: #ffffff;
  margin-bottom: 5px;
}

.footer p {
  color: #ffffff;
  max-width: 600px;
  margin: 10px auto;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 15px 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
}

.footer-links a:hover {
  color: #ed42dc;
}

.copyright {
  color: #ffffff;
  font-size: 0.9rem;
}

.notification-card {
      background: #f0f8ff;
      padding: 20px;
      border-radius: 10px;
      box-shadow: 0 2px 12px rgba(0,0,0,0.06);
      transition: 0.3s;
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
      border: solid 1px #cce4ff;
    }

 .notification-card:hover {
      transform: translateY(-4px);
      background: #e6f3ff;
    }

 .notification-card h3 {
      font-size: 20px;
      margin-bottom: 10px;
      color: #121414;
    }

.notification-card p {
      font-size: 16px;
      margin-bottom: 10px;
    }

