     /* body {
      font-family: 'Poppins', sans-serif;
      background-color: #f7fafc;
    } */
/* hero */
 .hero-section {
    position: relative;
    background: url('../images/blog.png') center/cover no-repeat;
    height: 400px;
     background-position-y: 30%; 
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 20px;
    margin-bottom: 50px;
  }

  .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.4); /* dark overlay for readability */
    z-index: 1;
  }

  .hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
        animation: fadeUp 1s ease forwards;

  }

  .hero-content h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
  }

  .hero-content p {
    font-size: 18px;
    line-height: 1.6;
    color: #f0f0f0;
  }
 @keyframes fadeUp {
    0% { opacity:0; transform:translateY(20px);}
    100% { opacity:1; transform:translateY(0);}
  }
  /* Responsive */
  @media (max-width: 768px) {
    .hero-content h2 {
      font-size: 32px;
    }
    .hero-content p {
      font-size: 16px;
    }
  }

   /* Button Base */
.b_effect {
  position: relative;
  padding: 14px 40px;
  background: transparent;
  color: green;
  border: 2px solid green;
  font-size: 16px;
  letter-spacing: 1px;
  font-weight: 600;
  cursor: pointer;
  overflow: hidden;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

/* Liquid overlay */
.b_effect::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgb(115, 247, 115), green);
  z-index: -1;
  transition: all 0.4s ease;
}

/* Hover effect — liquid rises */
.b_effect:hover::before {
  top: 0;
}

/* Text turns dark when filled */
.b_effect:hover {
  color: white;
  border:2px solid green;
  font-weight: 700;
}
 
    /* Blog Section */
    .blog-section {
      padding: 50px 20px;
      max-width: 1200px;
      margin: auto;
    }
    .blog-section h3 {
      text-align: center;
      font-size: 32px;
      font-weight: 700;
      margin-bottom: 70px;
      color: green;
    }
    .blog-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 30px;
    }
    .blog-card {
      background: #fff;
      border-radius: 15px;
      box-shadow: 0 6px 15px rgba(0,0,0,0.1);
      overflow: hidden;
      transition: all 0.3s ease;
      display: flex;
      flex-direction: column;
    }
    .blog-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 12px 25px rgba(0,0,0,0.15);
    }
    .blog-card img {
      width: 100%;
      height: 200px;
      object-fit: cover;
    }
    .blog-card .content {
      padding: 20px;
      flex: 1;
      display: flex;
      flex-direction: column;
    }
    .blog-card h4 {
      font-size: 20px;
      font-weight: 600;
      margin-bottom: 10px;
      color: black;
    }
    .blog-card p {
      font-size: 15px;
      color: #4a5568;
      flex: 1;
    }
    .blog-card a {
      text-decoration: none;
      font-weight: 600;
      width:60%;
      color: green;
      margin-top: 15px;
      border:2px solid green;
      transition: color 0.3s;
    }
 

    /* Categories Section */
    .categories-section {
      background-color: #f0fff4;
      padding: 80px 20px;
      text-align: center;
    }
    .categories-section h3 {
      font-size: 32px;
      font-weight: 700;
      color: green;
      margin-bottom: 40px;
    }
    .category-tags {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 15px;
    }
    .category-tags span {
      background-color: green;
      color: white;
      font-weight: 600;
      padding: 10px 20px;
      border-radius: 50px;
      cursor: pointer;
      transition: all 0.3s ease;
    }
      .category-tags span:hover {
      background-color: white;
      color: green;
      font-weight: 600;
      padding: 10px 20px;
      border-radius: 50px;
      cursor: pointer;
      transition: all 0.3s ease;
    }
  
    