/* Recent Blogs Section - Enhanced Styling */
.recent-blogs-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #0b0c10 0%, #1f2833 100%);
  position: relative;
  overflow: hidden;
}

.section-title {
  font-size: 2.5rem;
  color: #66fcf1;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: #66fcf1;
  border-radius: 2px;
}

.blog-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
}

.blog-card {
  background: #1f2833;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid rgba(102, 252, 241, 0.1);
  position: relative;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(102, 252, 241, 0.15);
  border-color: #66fcf1;
}

.blog-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(102, 252, 241, 0.1), transparent);
  transform: rotate(45deg);
  transition: all 0.5s;
  opacity: 0;
}

.blog-card:hover::before {
  opacity: 1;
  animation: shine 1.5s;
}

@keyframes shine {
  0% { transform: rotate(45deg) translate(-50%, -50%); }
  100% { transform: rotate(45deg) translate(100%, 100%); }
}

.blog-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover img {
  transform: scale(1.05);
}

.blog-content {
  padding: 25px;
  position: relative;
  z-index: 1;
}

.blog-content h3 {
  font-size: 1.4rem;
  color: #66fcf1;
  margin-bottom: 15px;
  line-height: 1.4;
}

.blog-content p {
  color: #c5c6c7;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 25px;
  opacity: 0.9;
}

.read-more-btn {
  background: transparent;
  color: #66fcf1;
  padding: 12px 30px;
  border: 2px solid #66fcf1;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.read-more-btn:hover {
  background: #66fcf1;
  color: #0b0c10;
  transform: translateY(-2px);
}

.read-more-btn::after {
  content: '→';
  transition: transform 0.3s ease;
}

.read-more-btn:hover::after {
  transform: translateX(3px);
}

.view-all-container {
  margin-top: 50px;
  text-align: center;
}

.view-all-btn {
  background: #66fcf1;
  color: #0b0c10;
  padding: 16px 70px;
  font-size: 1.1rem;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 700;
  transition: all 0.3s ease;
  /*position: relative;*/
  /*overflow: hidden;*/
  text-decoration: none;
}

.view-all-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(102, 252, 241, 0.3);
  border: 2px solid #66fcf1 ;
  background-color: black;
  color: white;
}

/*.view-all-btn::before {*/
/*  content: '';*/
/*  position: absolute;*/
/*  top: 0;*/
/*  left: -100%;*/
/*  width: 100%;*/
/*  height: 100%;*/
/*  background: linear-gradient(90deg, */
/*    transparent, */
/*    rgba(255, 255, 255, 0.2), */
/*    transparent);*/
/*  transition: 0.5s;*/
/*}*/

.view-all-btn:hover::before {
  left: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
  .blog-cards-container {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .blog-card {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .recent-blogs-section {
    padding: 60px 15px;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .read-more-btn {
    width: 100%;
    justify-content: center;
  }
}