.services-section {
    text-align: center;
    
    padding: 0px 1px 5px;
/*     background-color: #361b19; */
    position: relative; /* Add position relative to the parent container */
}

.services-section h2 {
    font-size: 25px;
    
    margin-bottom: 5px;
    padding: 20px;
    color: #703911;
    background-color: #a9c7c3;
}

.services-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: nowrap;
    gap: 2px;
    
}

.service-item {
    background-color: #a9c7c3;
    color: #703911;
    padding: 20px;
    border-radius: 10px;
    position: center;
    
    cursor: pointer;
    width: 18%;
/*     font-size: 17px; */
    transition: background-color 0.01s;
}

.service-item:hover {
    background-color: #cce0dd;
    position: center;
    opacity: 0.9;
}

.service-popup {
/*     position: absolute; */
    margin-top: 5px;
    background-color: #cce0dd;
    color: #703911;
    padding: 15px;
    position: center;
    border-radius: 10px;
    display: none; /* Initially hide the popup */
    max-width: 100%;
    text-align: center;
    font-size: 17px;
    z-index: 10;
    opacity: 0.9;
    
}

.service-item:hover .service-popup {
    position: center;
    display: block; /* Show popup on hover */
}
.service-item:hover .service-popup {
    display: block;
    position: relative;
    margin-top: 10px;
}

        @media (max-width: 768px) {
            .services-container {
                flex-direction: column;
                align-items: center;
            }
        
            .service-item {
                width: 90%;
                margin-bottom: 15px;
            }
        
            .service-popup {
                position: relative;
                margin-top: 10px;
            }
            
        }
