.category {
    display: flex;
    flex-direction: column;
  }
  
  /* Background sections */
  .bg-one,
  .bg-two {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  
  .bg-one {
    background-image: url('/assets/image/Group 1.jpg');
    align-items: flex-end;
    text-align: end;
    padding-top: 50px;
    padding-right: 60px;
  }
  
  .bg-two {
    background-image: url('/assets/image/Group 2.jpg');
    align-items: flex-start;
    text-align: start;
    padding-left: 60px;
    padding-top: 60px;
  }

  .bg-one h2,
  .bg-two h2 {
    font-size: 37px;
    line-height: 1.4;
    margin-bottom: 20px;
    color: #000;
  }
  
  /* Button styles */
  .bg-one button,
  .bg-two button {
    background-color: transparent;
    color: #000;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border: 2px solid #000;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
  }
  
  .bg-one button {
    margin-right: 60px;
  }
  
  .bg-two button {
    margin-left: 0px;
  }
  
  #viewmore-btn:hover {
    background-color: #000;
    color: #fff;
  }
  
  .arrow {
    font-size: 18px;
    transition: transform 0.3s ease;
  }
  
  #viewmore-btn:hover .arrow {
    transform: translateX(5px);
  }

  
    /* Responsive styles */@media (max-width: 1440px) {
  .bg-one, .bg-two {
    height: 280px;
    padding-top: 40px;
  }

  .bg-one h2 {
    font-size: 28px;
    line-height: 1.3;
    margin-right: -20px;
}
    
    .bg-two h2 {
        font-size: 28px;
        line-height: 1.3;
    }
    
    .bg-one button, .bg-two button {
        font-size: 15px;
        padding: 9px 18px;
    }
    
    .arrow {
        font-size: 17px;
    }
}

@media (max-width: 1024px) {
  .bg-one, .bg-two {
    height: 260px;
  }

  .bg-one h2{
    font-size: 24px;
    line-height: 1.3;
  }

   .bg-two h2 {
    font-size: 26px;
  }

  .bg-one {
    padding-right: 40px;
  }

  .bg-two {
    padding-left: 40px;
  }

  .bg-one button {
    margin-right: 40px;
  }

  .bg-two button {
    margin-left: 10px;
  }
}

@media screen and (max-width: 900px) {
  .bg-one, .bg-two {
    height: 240px;
    padding-top: 30px;
  }

   .bg-two h2 {
    font-size: 20px;
    line-height: 1.3;
    margin-right: -10px;
  }

  .bg-one h2{
    margin-right: -20px;
    font-size: 20px;
    line-height: 1.3;
  }

  .bg-one button, .bg-two button {
    font-size: 14px;
    padding: 8px 8px;
  }

  .arrow {
    font-size: 16px;
  }
    
}

@media (max-width: 768px) {
  .bg-one, .bg-two {
    height: auto;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
  }

  .bg-one h2, .bg-two h2 {
    font-size: 26px;
    padding: 0;
    background: linear-gradient(to top, #FAFAFA, #E72B82);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .bg-one button, .bg-two button {
    margin: 10px 0 50px 0;
    background: linear-gradient(to top, #FAFAFA, #E72B82);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    border-color: #E72B82;
    font-weight: 600;
  }
}

@media (max-width: 480px) {
  .bg-one h2, .bg-two h2 {
    font-size: 22px;
  }

  .bg-one button, .bg-two button {
    font-size: 14px;
    padding: 8px 16px;
  }

  .arrow {
    font-size: 16px;
  }
}

@media (max-width: 360px) {
  .bg-one h2, .bg-two h2 {
    font-size: 20px;
  }

  .bg-one button, .bg-two button {
    font-size: 13px;
    padding: 7px 14px;
  }
}
