.blog-heading{
    background-image: url(https://teamvoy.com/wp-content/uploads/2025/04/background-button-image.jpeg?id=5181) !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
   padding: 150px 0 80px 0;
}

.blog-heading div{
    display: flex;
    margin: 0 auto;
    max-width: 1380px;
}

.blog-heading h1{
  width: 100%; 
    margin: 0 50px;
}
  
.blog-container-wrapper {
    max-width: 1380px;
    margin: 50px auto;
  }

  .blog-link {
    text-decoration: none;
    color: inherit;
    display: block;
  }

  .blog-container {
    display: flex;
    gap: 24px;
    transition: box-shadow 0.3s ease;
    overflow: hidden;
  }

  .blog-image {
    height: 324px;
    width: 50%;
    object-fit: cover;
    transition: transform 0.4s ease;
  }

  .blog-container:hover .blog-image {
    transform: scale(1.04);
  }

  .blog-info {
    display: flex;
    flex-direction: column;
    flex: 1 0 0;
    justify-content: space-between;
  }

  .blog-info-top {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  .blog-tag {
    display: flex;
    padding: 10px 20px;
    justify-content: center;
    align-items: center;
    flex: 1 0 0;
    border: 1px solid #000;
    color: #000;
    font-size: 16px;
    font-weight: 400;
    text-transform: capitalize;
  }

  .blog-info-top h3 {
    color: #000;
    margin: 0;
    font-size: 36px;
    font-weight: 400;
    line-height: 44px;
    text-transform: capitalize;
  }

  .author {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .author img {
    width: 64px;
    height: 64px;
  }

  .author-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .author span {
    color: #000;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0.016px;
  }

  .author span:last-child {
    color: #696969;
  }

  @media (max-width: 1480px) {
    .blog-container {
      margin: 0;
    }
  }

  @media (max-width: 992px) {
    .blog-container {
      flex-direction: column;
    }

    .blog-image {
      width: 100%;
    }

    .author {
      margin-top: 24px;
    }
  }

  @media (max-width: 768px) {
    .blog-container {
      margin: 1rem 0;
    }

    .blog-container-wrapper {
      padding: 0;
    }
  }  

.blog-section {
    width: 100%;
  }

  .blog-wrapper,
  .box-wrapper {
    max-width: 1380px;
    margin: 0 auto;
    width: 100%;
  }

  .blog-content {
    margin: 0 50px;
  }

  .blog-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
  }

  .category-btn {
    font-size: 16px;
    padding: 10px 20px;
    border: 1px solid #000;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #000;
  }

  .category-btn.active,
  .category-btn:hover {
    background: #000;
    color: #fff;
  }

.category-btn.active {
  cursor: default;
  pointer-events: none;
}

.category-btn.active:hover {
  background: #000;
  color: #fff;
}

  .blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 48px;
    margin-bottom: 60px;
  }

  .blog-post {
    display: flex;
    flex-direction: column;
    background: #fff;
    cursor: pointer;
    opacity: 0;
    transform: translateY(8px) scale(0.995);
    transition: opacity 0.55s ease, transform 0.55s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
  }

  .blog-post,
  .blog-post:visited,
  .blog-post:hover,
  .blog-post:active {
    color: inherit;
    text-decoration: none;
  }

  .blog-post * {
    color: inherit;
  }

  .blog-post.show {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  .blog-post img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.6s ease;
  }

  .blog-post:hover img {
    transform: scale(1.07);
  }

  .blog-post-info {
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .blog-post-category {
    font-size: 16px;
    padding: 10px 20px;
    border: 1px solid #000;
    width: fit-content;
  }

  .blog-post-title {
    font-size: 22px;
    line-height: 32px;
  }

  .blog-post-author {
    color: #5c5c5c;
    font-size: 16px;
    line-height: 32px;
  }

  .gradient-bg {
    height: 95vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url(https://teamvoy.com/wp-content/uploads/2025/04/background-button-image.jpeg);
    background-size: 300% 300%;
    animation: waveGradient 7s ease-in-out infinite;
    margin-bottom: 80px;
  }

  @keyframes waveGradient {
    0%,
    100% {
      background-position: 0% 50%;
    }
    25% {
      background-position: 50% 100%;
    }
    50% {
      background-position: 100% 50%;
    }
    75% {
      background-position: 50% 0%;
    }
  }

  .black-box {
    background-color: #000;
    padding: 8% 0;
    margin: 0 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: translateY(30px) scale(0.96);
    animation: boxAppear 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.4s forwards;
  }

  @keyframes boxAppear {
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }

  .content h2 {
    font-weight: 400;
    line-height: 52px;
    max-width: 700px;
    font-size: 44px;
    color: #fff;
    text-align: center;
  }

  .content h2 span {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px);
  }

  .white-line {
    color: #fff;
  }

  .gradient-line {
    background: linear-gradient(90deg, #ffb7e3, #a3c0f2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .gradient-button {
    display: inline-block;
    padding: 12px 40px;
    margin-top: 40px;
    color: #000;
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    text-decoration: none;
    border: 1px solid #000;
    background: linear-gradient(to right, #dae5a7 0%, #dacde3 50%, #dae5a7 100%);
    cursor: pointer;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.3s ease;
  }

  .gradient-button:hover {
    background: linear-gradient(to right, #dacde3 0%, #dae5a7 50%, #dacde3 100%);
  }

  .gradient-button:active {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transform: translateY(1px);
  }

  .load-more-wrapper {
    text-align: center;
    margin-top: 20px;
  }

  .load-more-btn {
    background: transparent;
    border: 1px solid #000;
    padding: 12px 28px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .load-more-btn:hover {
    background: #000;
    color: #fff;
  }

  .hidden {
    display: none;
  }

  .blog-post[data-hidden="true"] {
    display: none;
  }

  @media (max-width: 1480px) {
    .blog-content {
      margin: 0;
    }

    .blog-wrapper,
    .box-wrapper {
      padding: 0 100px;
    }

    .black-box {
      margin: 0;
    }
  }

  @media (max-width: 768px) {
    .blog-content {
      margin: 1rem;
      padding: 0;
    }

    .blog-wrapper {
      padding: 0;
      text-align: center;
    }

    .box-wrapper {
      padding: 0;
      text-align: center;
    }

    .blog-posts-grid {
      grid-template-columns: 1fr;
    }

    .gradient-bg {
      height: 100vh;
      margin-bottom: 24px;
    }

    .black-box {
      margin: 1rem;
      padding: 8% 24px;
      height: 100%;
      justify-content: center;
    }

    .content h2 {
      font-size: 32px;
      line-height: 40px;
    }

    .gradient-button {
      width: 100%;
    }

    .box-wrapper {
      margin: 0;
      height: 90%;
    }
  }