:root {
    --hero-height: 20vh;


    --main-green: #C5D86D;
    --main-blue: #9FDCDF;
    --main-pink: #D3A6D1;
    --main-yellow: #EEEC98;

    /* RGB counterparts for use with rgba() to provide translucent backgrounds
         (keeps the single-source main color while allowing alpha control). */
    --main-green-rgb: 197, 216, 109;
    --main-blue-rgb: 159, 220, 223;
    --main-pink-rgb: 211, 166, 209;
    --main-yellow-rgb: 238, 236, 152;
    --tile-size: 300px;
}

/* Grid container for services tiles */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, var(--tile-size));
    grid-template-rows: repeat(2, auto);
    gap: 30px;
    justify-content: center;
    margin: 0 auto;
    width: fit-content;
    text-align: center;
}

/* Individual service tile */
.service-tile {
    max-width: var(--tile-size);
    background-color: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
}

.service-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-tile::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.8) 0%, transparent 70%);
    pointer-events: none;
}

/* Service box color variations using the main colors from dev.css but with reduced intensity */
.green-box {
    /* translucent background using the RGB counterpart of --main-green */
    background-color: rgba(var(--main-green-rgb), 0.3);
    border-left: 4px solid var(--main-green);
}

.blue-box {
    /* translucent background using the RGB counterpart of --main-blue */
    background-color: rgba(var(--main-blue-rgb), 0.3);
    border-left: 4px solid var(--main-blue);
}

.pink-box {
    /* translucent background using the RGB counterpart of --main-pink */
    background-color: rgba(var(--main-pink-rgb), 0.3);
    border-left: 4px solid var(--main-pink);
}

.yellow-box {
    /* translucent background using the RGB counterpart of --main-yellow */
    background-color: rgba(var(--main-yellow-rgb), 0.3);
    border-left: 4px solid var(--main-yellow);
}

.service-link {
    display: block;
    color: inherit;
    text-decoration: none;
    height: 100%;
    position: relative;
    z-index: 2;
}

.service-link:hover {
    color: inherit;
    text-decoration: none;
}

.service-tile h3 {
    color: #444;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 18px;
}

.service-tile p {
    color: #555;
    margin-bottom: 0;
    font-size: 15px;
}

/* Responsive adjustments for mobile */
@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: var(--tile-size);
        grid-template-rows: repeat(4, auto);
    }
}

.container {
    padding-right: 2rem;
    padding-left: 2rem;
}