.portfolio {
    padding: 60px 0 !important;
  }
  
  .portfolio-slider {
    position: relative !important;
    display: flex !important;
    align-items: cente !important;
    justify-content: center !important;
  }
  
  .portfolio-wrapper {
    overflow: hidden !important;
    width: 100% !important;    
  }
  
  .portfolio-container {
    display: flex !important;
    transition: transform 0.5s ease !important;
  }
  
  .portfolio-item {
    min-width: 33.33% !important;
    box-sizing: border-box !important;
    padding: 0 15px !important;
  }
  
  .card {
    background-color: #f3f4f8 !important;
    display: flex !important;
    flex-direction: column !important;
    border: none !important;
    border-radius: 0 !important;
  }
  
  .card-body {
    padding: 15px !important;
  }
  
  .card-title {
    font-weight: bold !important;
  }
  
  .card-img-top {
    width: 100% !important;
    height: auto !important;
  }
  
  .slider-btn {
    background-color: #f49700 !important;
    border: none !important;
    color: white !important;
    padding: 10px !important;
    cursor: pointer !important;
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 2 !important;
  }
  
  .prev-btn {
    left: 0px !important;
    border-radius: 4px !important;
  }
  
  .next-btn {
    right: 0px !important;
    border-radius: 4px !important;
  }
  @media (max-width: 768px) {
    .portfolio-item {
      min-width: 100% !important; /* Show 1 item at a time on mobile */
    }
  }
  @media (min-width: 1180px) {
    .portfolio-item {
      min-width: 33.33% !important;
    }
  }
  .blogs.section-bg {
  background-color: #f8f9fa;
  padding: 60px 0;
}

.blogs {
  text-align: center;
  padding-bottom: 30px;
}

.blogs h2 {
  font-size: 32px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  color: #2c4964;
}

.blogs h2::before {
  content: '';
  position: absolute;
  display: block;
  width: 120px;
  height: 1px;
  background: #ddd;
  bottom: 1px;
  left: calc(50% - 60px);
}

.blogs h2::after {
  content: '';
  position: absolute;
  display: block;
  width: 40px;
  height: 3px;
  background: #3498db;
  bottom: 0;
  left: calc(50% - 20px);
}

.blogs .section-title p {
  margin-bottom: 0;
  color: #919191;
}

.blog-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.15);
}

.blog-img {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}


.blog-category {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #f49700;
  color: #fff;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.blog-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-content h4 {
  font-size: 20px;
  font-weight: 700;
  color: #2c4964;
  margin-bottom: 15px;
  line-height: 1.4;
}

.blog-content p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.blog-content .read-more {
  color: #f49700;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.blog-content .read-more i {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.blog-content .read-more:hover {
  color: #2c4964;
}

.blog-content .read-more:hover i {
  transform: translateX(5px);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .blog-card {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .blogs .section-title h2 {
    font-size: 28px;
  }
  
  .blog-img {
    height: 200px;
  }
  
  .blog-content h4 {
    font-size: 18px;
  }
}