/* Global styles */

body {
  font-family: 'Montserrat', sans-serif;
    background-color: #ffffff;
  }
  
  h8 {
    font-size: 22px;
    font-weight: bold;
  }
  
  p {
    text-align: center;
  }
  
 /* Filter styles */

.filter-container {
    display: flex;
    justify-content: center;
    margin-top: 50px;
    margin-bottom: -20px;
  }
  
  .filter {
    background-color: transparent;
    border: none;
    color: #2c2c2c;
    cursor: pointer;
    margin: 0 10px;
    padding: 10px 9px;
    text-align: center;
    transition: all 0.3s ease;
    font-size: 17px;
    border-top-left-radius: 0px;
    border-top-right-radius: 25px;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
  }
  
  .filter:hover {
    color: #76bc02;
  }
  
  .filter.active {
    background-image: linear-gradient(to right, rgb(118,188,2) 0%, rgb(244,166,1) 100%);
    color: #FFF;
    border-top-left-radius: 0px;
    border-top-right-radius: 25px;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
    background-color: #76bc02; /* set the background color to the starting point of the gradient */
    transition: all 0.6s ease;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3); /* add a box-shadow to create a pop-out effect */
  }
  
  .filter.active:hover {
    background-color: linear-gradient(to right, rgb(118,188,2) 0%, rgb(244,166,1) 100%);
    color: #FFF;
  }
  

  
/* Card Style */

.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 50px 0;
  }
  
  .card {
    position: relative;
    width: 350px;
    height: 430px;
    margin: 25px;
    background-color: #f5f5f5;
    border-radius: 15px;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
  }
  
  .card:hover {
    transform: translateY(-10px);
    box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.2);
  }
  
  .card:hover .card-title {
    color: #76bc02;
  }
  
  .card img {
    width: 100%;
    height: 330px;
    object-fit: cover;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
  }
  
  .card-title {
    padding: 15px;
    transition: color 0.3s ease;
  }
  
  .card-title:hover {
    color: #76bc02;
  }
  
  .card-button {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #76bc02;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    padding: 10px 20px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .card-button:hover {
    background-color: #76bc02;
  }
  
  .card:nth-child(3n+1) {
    clear: left;
  }

  .card-title {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .card-title h8 {
    margin-top: 20px;
  }
  
  
  @media (max-width: 991px) {
    .card-container {
      max-width: 768px;
    }
    
    .card:nth-child(2n+1) {
      clear: left;
    }
  }
  
  @media (max-width: 575px) {
    .card-container {
      display: flex;
      justify-content: center;
      align-items: center;
    }
    
    .card {
      width: 320px;
      height: 400px;
    }
  
    .card-title h8 {
      margin-top: 5px;
    }
  
    .card:nth-child(n) {
      clear: none;
    }
    
    .filter-container {
        display: flex;
        justify-content: center;
        flex-wrap: wrap; /* allow multiple lines */
        margin-top: 20px;
        padding: 10px 9px;
      }
    .filter {
        width: calc(50% - 100px);
        height: calc(50% - 100px);
        margin: 0 5px;
        transition: all 0.1s ease;
    }
    
      
  }
  
  
 