.hero-section {
  position: relative;
  height: 100vh;
  width: 100%;
  background: #0b0f1a; 
  overflow: hidden;
}



.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 2;
}

.hero-title {
  position: relative;
  z-index: 3;
  color: #ffffff;
  font-size: 60px;
  font-weight:70px;
  letter-spacing: 0.5px;
}

.hero-title span {
  color: #ff8c00;
  font-weight: 700;
}

.blog-section {
  padding: 100px 0;
  background: url("../img/home/service-bg.jpeg") ;

}

.blog-container {
  max-width: 1000px;
}

.blog-row {
  --bs-gutter-x: 10px; 
  --bs-gutter-y: 32px;  
}

.blog-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.blog-card {
  width: 100%;
  border: 1px solid #ededed;
  border-radius: 6px;
  padding: 58px 10px 20px; 
  box-shadow: none;
  height: 100%;             
  min-height: 390px;        
  position: relative;
  display: flex;
  flex-direction: column;
  
}


.blog-card .date {
  position: absolute;
  top: 18px;
  left: 15px;
  font-size: 17px;
  font-weight: 500;
  color: #ff8c00;
}

.blog-card h4 {
  text-align: center;
  text-justify: inter-word;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.45;
  color: #111;
  margin-bottom: 30px;
  
}

.blog-card p {
  font-size: 13px;
  line-height: 1.50;        
  color: black;
 font-weight: 500;
  text-align: center;
  text-justify: inter-word;
  word-spacing: -1px;       
  letter-spacing: -0px; 
  flex-grow: 1;   
}

.read-more-wrap {
  margin-top: 18px;
}

.blog-row > [class*="col-"] {
  display: flex;
}

.read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  font-size: 22px;
  font-weight: 400;
  color: #111;
  background: #f5f5f5f8;
  padding: 8px 22px;
  border-radius: 999px;
  text-decoration: none;
}

.pagination-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 60px;
}

.custom-pagination {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.custom-pagination li a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 35px;
  font-size: 14px;
  font-weight: 500;
  color: black;
  background: #f1f1f1;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.custom-pagination li.active a {
  background: #ff8c00;
  color: #fff;
}
.custom-pagination li.next a {
  padding: 0 12px;
  min-width: auto;
}

@media (max-width: 576px) {
  .pagination-wrapper {
    margin-top: 40px;
  }

  .custom-pagination li a {
    min-width: 34px;
    height: 34px;
    font-size: 13px;
  }
}

@media (max-width: 1200px) {
  .hero-title {
    font-size: 48px;
  }

  .blog-card h4 {
    font-size: 22px;
  }

  .read-more-btn {
    font-size: 18px;
    gap: 16px;
  }
}

/* Tablets */
@media (max-width: 991px) {
  .hero-title {
    font-size: 40px;
  }

  .blog-container {
    max-width: 90%;
  }

  .blog-card {
    min-height: 360px; 
  }

  .blog-card h4 {
    font-size: 20px;
    margin-bottom: 24px;
  }

  .blog-card p {
    font-size: 14px;
    line-height: 1.5;
  }

  .read-more-btn {
    font-size: 16px;
    padding: 8px 18px;
  }
}


@media (max-width: 576px) {
  .hero-title {
    font-size: 28px;
    line-height: 1.3;
  }

  .blog-section {
    padding: 50px 0;
  }

  .blog-card {
    min-height: auto;     
    padding: 48px 16px 24px;
  }

  .blog-card h4 {
    font-size: 18px;
    margin-bottom: 18px;
  }

  .blog-card p {
    font-size: 13px;
    line-height: 1.45;
    word-spacing: -1px;
  }

  .blog-card .date {
    font-size: 14px;
    top: 14px;
    left: 12px;
  }

  .read-more-btn {
    font-size: 14px;
    gap: 10px;
    padding: 6px 16px;
  }
}

