.blog-section {
      max-width: 1200px;
      margin: 0 auto;
      padding: 60px 20px;
      font-family: 'Poppins';
    }

    .section-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 50px;
      flex-wrap: wrap;
    }

.section-title {
   font-size: clamp(1.5rem, 2.5vw + 1rem, 2rem);
  font-weight: bold;
  position: relative;
  color: #111;
  text-align: center;     /* center the text */
  display: block;         /* ensures text-align works */
}

.section-title::after {
  content: '';
  display: block;
  width: 100px;
  height: 6px;
  background-color: #1e3a8a;
  margin: 8px auto 0;    /* centers underline below text */
  border-radius: 2px;     /* optional for rounded look */
}


.action-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: 600;
  color: #1e3a8a;
  text-decoration: none;
  border: 2px solid #1e3a8a;
  border-radius: 9999px;
  overflow: hidden;
  cursor: pointer;
  background-color: transparent;
  transition: color 0.4s ease;
  box-shadow: 0 4px 10px rgba(30, 58, 138, 0.12);
  user-select: none;
  background: none;
}

.action-button i {
  color: red;
  font-size: 18px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.action-button::before {
  content: '';
  position: absolute;
  inset: -2px;
  background-color: #1e3a8a;
  border-radius: inherit;
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.action-button:hover::before {
  transform: scaleX(1);
}

.action-button:hover {
  color: white;
}

.action-button:hover i {
  transform: scale(1.15);
  color: white;
}


    .blogs-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 30px;
    }

    .blog-card {
      background: #fff;
      border: 1px solid #eee;
      border-radius: 12px;
      padding: 25px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
      transition: all 0.3s ease;
    }

    .blog-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    }

    .blog-image {
      width: 100%;
      height: 220px;
      background: #f0f0f0;
      border-radius: 8px;
      margin-bottom: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #666;
      font-size: 1.1rem;
      border: 2px dashed #ccc;
    }

    .blog-title {
      
      font-weight: bold;
      margin-bottom: 15px;
      line-height: 1.4;
      color: #111;
    }

    .blog-excerpt {
      color: #444;
      font-size: 1rem;
      line-height: 1.6;
      margin-bottom: 20px;
    }

 

   @media (max-width: 768px) {
  

  .section-header {
    flex-direction: column;
    align-items: flex-start; /* <-- keeps content left-aligned */
    gap: 20px;
  }
}


.blogviewbtn{
  padding: 18px 43px;
}