.custom-tiles{
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0;
    flex-wrap: wrap;
    padding-top: 20px;
}
.tile{
    flex: 1;
    display: block;
    text-decoration: none;
    color: #fff;
    position: relative;
    width: 100%;
    height: 180px;
    min-width: 200px;
    max-width: 340px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}
.tile-overlay{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.8) 20%, rgba(0,0,0,0.6) 60%, rgba(0,0,0,0) 95%);
    transition: background 0.3s ease;
}
.tile-text{
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    max-width: 70%;
}
.tile img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
    object-position: center;
    transform: scale(1.1);
    transition: transform 0.3s;
    z-index: 0;
}
.tile h2{
    color: #ffffff;
    text-shadow: 3px 3px 10px rgba(0,0,0,0.5);
    /*color: #f5c264;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.4);*/
    /* color: #4a90e2;
     text-shadow: 2px 2px 4px rgba(0,0,0,0.3);*/
    /* color: #e67e22;
     text-shadow: 2px 2px 5px rgba(0,0,0,0.4);*/
    /*background: linear-gradient(45deg, #ff8c00, #ff3b3b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);*/
    font-size: 32px;
    font-weight: bold;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.tile p{
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-family: 'Arial', sans-serif;
    letter-spacing: 0.5px;
    line-height: 1.5;
    font-size: 14px;
}
.tile h2, .tile p{
    margin: 0;
    text-decoration: none;
}
.tile:hover{
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.3);
}
.tile:hover .tile-overlay{
    background: linear-gradient(to right, rgba(0,0,0,0.9) 20%, rgba(0,0,0,0.7) 60%, rgba(0,0,0,0) 95%);
}
