.header {
    background: #428bca;
    padding: 15px;
    border: 1px solid #ddd;
    border-bottom: 0;
    text-align: center;
    color: #fff;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px
}

.services-container {
    width: 70%;
    max-width: 1000px;
    margin: 0 auto;
    box-sizing: border-box;
}


.h2 {
    font-size: 2rem;
}

/* Intro section (full width below grid) */
.services-intro {
    border: 1px solid #ddd;
    background-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    padding: 20px;
    margin-bottom: 20px;
    text-align: left;
    font-family: Arial, sans-serif;
    position: relative;
    z-index: 1;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

/* Grid container */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem; /* horizontal & vertical spacing */
    margin-bottom: 20px;
}

/* Grid items */
.services-item {
    display: flex;
    flex-direction: column;
    position: relative; /* for absolute overlays */
    border-radius: 8px;
    overflow: hidden;
    height: 300px; /* equal height for all items */
    border: 1px solid #ddd;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);  /* subtle shadow around the box */
}

/* Image container */
.services-image-container {
    position: relative;
    width: 100%;
    flex-grow: 1;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);  /* subtle shadow around the box */
}

/* Images fill container */
.services-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);  /* subtle shadow around the box */
}

/* Top overlay (name) */
.services-name-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: rgba(0,0,0,0.45);
    color: #fff;
    font-size: 1.25rem;
    font-weight: bold;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    box-sizing: border-box;
}

/* Bottom overlay (description) */
.services-description-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: rgba(0,0,0,0.5);
    color: #fff;
    font-size: 0.95rem;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    box-sizing: border-box;
}