body{
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: consolas;
    background-color: #3f7e44;

}
h1{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    padding: 0;
    font-size: 12em;
    color: transparent;
}
h1 span:nth-child(1){
    position: absolute;
    top: 0;
    left: 0;
    color: #fff;
    transition: 0.5s;
    clip-path: polygon(0 0, 100% 0, 100% 50%, 0 50%);
    overflow: hidden;
}
h1:hover span:nth-child(1)
{
    transform: translateY(-36px);
}
h1 span:nth-child(2){
    position: absolute;
    top: 0;
    left: 0;
    color: #fff;
    transition: 0.5s;
    clip-path: polygon(0 50%, 100% 50%, 100% 100%, 0 100%);
    overflow: hidden;
}
h1:hover span:nth-child(2)
{
    transform: translateY(36px);
}
h1 span:nth-child(3)
{
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%) scaleY(0);
    width: 91%;
    color: #000;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    background: #48a3cf;
    border-radius: 10px;
    font-size: 0.2em;
    font-weight: 500;
    letter-spacing: 0.7em;
    text-align: center;
    padding-left: 20px;
    margin-left: 15px;
    transition: 0.5s;
    cursor: pointer;

}
a{
    text-decoration: none;
    color: #3f7e44;
}
h1:hover span:nth-child(3)
{
    transform: translateY(-50%) scaleY(1); 
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center; 
    justify-content: space-between; 
    margin-top: 20px; 
    font-family: sans-serif;
    
  }
  
  .card {
    width: 100%; 
    max-width: 150px;
    padding: 10px;
    height: 250px;
    margin: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    cursor: pointer;
  }
  .card:hover{
    transform: scale(1.05);
    transition: 1s;
  }
  .card img {
    width: 100%;
    height: 200px; 
    object-fit: cover; /* Maintain aspect ratio */
  }
  
  .card h2 {
    margin-top: 10px;
    font-weight: bold;
  }
  
  .card p {
    margin-top: 10px;
    line-height: 1.5;
  }